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

Status
Not open for further replies.

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,023
Reaction score
2,629
First Language
Greek
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,023
Reaction score
2,629
First Language
Greek
Primarily Uses
RMMV
Wow! Just fantastic. A little more complicated arguments, but the method works perfect.

Thank you very much indeed SOURCE!

I appreciate that.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,671
Reaction score
13,281
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

So I have a lighter work schedule next week. Is that a sign to move on to MZ?
I got a new rpg idea yesterday, titled "The Hero We Summoned to Save Us is a War Criminal from our Past?!"
Work on Yanfly's MZ plug-ins is coming along nicely. Looking forward to getting them: http://www.yanfly.moe/wiki/Core_Engine_VisuStella_MZ
so uh variables can only be used for num lol? I guess I gotta fix that once MZ come out lol

Forum statistics

Threads
100,727
Messages
978,841
Members
132,352
Latest member
BM_ANDERSON
Top