Thank you very much Shaz! You have no idea how useful this is going to be in this project (extremely essential). I work with a lot of events, hundreds and hundreds to make the Might and Magic experience come true. This is such a time saver, especially when changes are needed. I will give you full credits in LOE and share your kindness for translating this on the LOE FB page. Thank you very much.
Clone Events
RGSS3 Scripts (RMVX Ace)Is there a way to control the position of the cloned event?
The script allows you to place an event as a dummy that will then copy the pages of another event. The position is not modified and it keeps its event id, so you can reposition it from another event.
You might try out Yanfly's Spawn Event. I also did an edit on Spawn Event which fixes a few bugs and adds the ability to name, locate and delete the event.
Unfortunately, Yanfly's script was the first one I came across. 🙂 It didn't work out for me for different reasons. In the end, I had to get my hands dirty and work with events! Thank you for the support!
<3 LOVE THIS!!! <3
Questions:
1) Does this clone everything exactly, or is there a way to alter variables used by each clone-child?
2) Can the clone dummies be called from a different map?
-if not, then can I assume they can still be called in the same map to another location?
3) Does each instance require a dummy event, or is it possible to generate one in-game when needed?
Thanks for the script, hopefully I'll figure out how to put it to good use!
1) Does this clone everything exactly, or is there a way to alter variables used by each clone-child?
2) Can the clone dummies be called from a different map?
-if not, then can I assume they can still be called in the same map to another location?
3) Does each instance require a dummy event, or is it possible to generate one in-game when needed?
Thanks for the script, hopefully I'll figure out how to put it to good use!
1) They are exactly the same. I have thought it might be nice to allow some things to be different (like a quick event, I guess), but haven't pursued the option.
2) Not really sure what you're asking. What do you mean "can they be called?" You can have your original event on one map, and the clones on all different maps.
3) As it's written, each instance would require a dummy event. To generate one in-game you would need an event spawn script. These could be troublesome though, depending on how they're created and what your clone events do - if they use self switches and you're not guaranteed of getting the same number spawned each time, or in the same order, the self switches could already be set on a spawned event from a previous visit to the map, when they shouldn't be.
2) Not really sure what you're asking. What do you mean "can they be called?" You can have your original event on one map, and the clones on all different maps.
3) As it's written, each instance would require a dummy event. To generate one in-game you would need an event spawn script. These could be troublesome though, depending on how they're created and what your clone events do - if they use self switches and you're not guaranteed of getting the same number spawned each time, or in the same order, the self switches could already be set on a spawned event from a previous visit to the map, when they shouldn't be.
Oh, I was asking if they could be moved like normal events, but if they could also be moved from other maps. But I guess that would just follow the normal rules for events.
Thanks for getting back to me today!
Thanks for getting back to me today!
Events belong to maps. You can't move an event from one map to another. You only make it LOOK like that's happened by using similar events on each map and switches/variables to determine when they are visible.
Hey Shaz, is there any chance that you might be making a MV version to this script? Both the VX and VX Ace versions are highly useful and a huge time saver for those who use a lot of events.
I could, but someone else has already made a Clone Event plugin. Check it out and let me know if you think it'll do what you need.
Original thread: https://forums.rpgmakerweb.com/threads/clone-events.18727/