Problem on copying, more than one events, using Fomar0153 script.

So I use this script...

http://www.rpgmakervxace.net/topic/786-copy-events/

I call the method from the event using the Script Event command. 

$game_map.add_event(10, 21, 9, 0)

$game_map.add_event(10, 22, 10, 0)

 

I have the events on map with ID = 10 and the event ids are  021 and 022.

The event is on a map I want the both two events to be transfered.

I want them at map positions (X,Y)  (9,0) and (10,0)

 

It ALMOST works.

 

If I will comment the second row, the first event is there.

If not, only the second event is there.

I want both to be transfered though.

What do I do wrong?

 

Using two events it works. But I wanna make multi event copying using only one event.
Hello! Use this one instead. It will save you a lot of headaches.
Wow! Just fantastic. A little more complicated arguments, but the method works perfect.

Thank you very much indeed SOURCE!

I appreciate that.
You're welcome!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/problem-on-copying-more-than-one-events-using-fomar0153-script.42281/