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

Status
Not open for further replies.

Dreadshadow

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
3,983
Reaction score
2,601
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:

Dreadshadow

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
3,983
Reaction score
2,601
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,367
Reaction score
12,876
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

Brioche with a crème patissiere filling is so tasty!
A group of Game creators and others who trying to revive the Feel of Multiplayer and TOWN/ROLEPLAY games
Wow, lots of RPG Maker MV stuff on sale on Steam for 50%-75% off. Steam, why you not tell me?!
looking for help on top secret project
The nick "Toeuia" that I'm using comes from a, idk, you okay the chess game while chit chatting them. The first two are students. Then you know, finally, the champion, and then the champion's sensei. I played like this so many times until suddenly there's another chess master. Very naive but super smart. After he lost, he kinda advised me not to give up on chest. Because the next one was never seen beaten. Touya.

Forum statistics

Threads
99,383
Messages
964,655
Members
131,002
Latest member
SaltedFish
Top