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,019
Reaction score
2,627
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,019
Reaction score
2,627
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,650
Reaction score
13,263
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 Posts

Latest Profile Posts

Should be able to release Haxe MV/MZ next weekend.
It look that somehow MZ tracks are messed up (for example battle4 is obviously a theme, castle2 is a ship, ship1 is a scene and so on..). Maybe they just named them after with some ambiguity.
is there a script call that return how much turn has passed in battle?
Does anyone find this hard to read?

Enjoying my weekend at home to stay Covid free. How is everyone else doing?

Forum statistics

Threads
100,603
Messages
977,734
Members
132,214
Latest member
qwertyben
Top