Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Copy Events XP
#10
BUMP
to version 1.3

Just this morning, I received a notification. And obviously, I looked into it.

(05-25-2024, 11:04 AM)Melana Wrote: And it seems you cant add more than 5 events to a map.
If you add more, previous added events disappear and only the sprite remains on the map.
Edit: That only happens on a map where already other events exist, and where there are gaps between the IDs it seems.
For example: Event IDs 1-9 and 11-15 exist but 10 doesnt, if you try to spawn 6 new events then via the script it only spawns 1 and from the other 5 only the sprites.

Regarding this bug, I found the issue. Basically, the events are stored in 'Hash' arrays and not classic Arrays. By that, events do have growing key IDs and Fomar0153's original did not account for the Hash styled structure that does not renumber events after deletion. To be honest, it is GOOD that they do not renumber otherwise you would lose track of event IDs if you deleted older ones!

To solve this, I added a simple method that looks for the last event ID added to the hash array. Ergo, if you had event 1,2,5,7 and 9 in your project, the next event added will be event #10 by Copy Events, followed by 11 and 12 and so forth.

(05-25-2024, 11:04 AM)Melana Wrote: When a copied event has some content, e.g. a message command, this error appears after talking to the event
[Image: kVs6ExK.png]

As towards that issue, I cannot account for. There is no 'unlock' method or variable within Copy Events, and must suggest it is an issue with another script. I have generated events that render messages and perform simple script calls when triggered, and have their own movement (I set them to random move)
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Copy Events XP - by DerVVulfman - 01-30-2024, 05:14 AM
RE: Copy Events XP - by Melana - 03-21-2024, 08:05 PM
RE: Copy Events XP - by DerVVulfman - 03-22-2024, 02:07 AM
RE: Copy Events XP - by Melana - 03-23-2024, 01:03 PM
RE: Copy Events XP - by DerVVulfman - 03-23-2024, 03:37 PM
RE: Copy Events XP - by Melana - 03-24-2024, 09:36 AM
RE: Copy Events XP - by DerVVulfman - 03-24-2024, 03:08 PM
RE: Copy Events XP - by Melana - 03-24-2024, 03:27 PM
RE: Copy Events XP - by Melana - 05-25-2024, 11:04 AM
RE: Copy Events XP - by DerVVulfman - 05-26-2024, 01:49 AM
RE: Copy Events XP - by kyonides - 05-26-2024, 03:18 AM
RE: Copy Events XP - by DerVVulfman - 05-26-2024, 04:09 AM
RE: Copy Events XP - by Melana - 05-26-2024, 09:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Choices Change Events kyonides 1 783 02-21-2024, 09:16 PM
Last Post: kyonides
   Refreshable Events kyonides 1 966 06-03-2023, 08:27 AM
Last Post: kyonides
   Immense Events DerVVulfman 11 17,669 06-07-2020, 03:45 AM
Last Post: DerVVulfman
   Events Always Under DerVVulfman 3 7,043 02-23-2015, 11:06 PM
Last Post: Taylor
   Victor Engine - Events Conditions Victor Sant 0 4,125 01-15-2012, 11:43 PM
Last Post: Victor Sant
Brick  Allow menu during events - for Visual Novels Taylor 2 7,407 08-25-2011, 12:41 PM
Last Post: Taylor



Users browsing this thread: