Setting a "Set Move Route" on event A by an event on another map.

Status
Not open for further replies.

Dragonduke

Villager
Member
Joined
Jun 23, 2012
Messages
22
Reaction score
1
First Language
English
Primarily Uses
My question is this:

Map A  has event A with a Set Move Route in its commands.

NPC thus ends up at location A.

Player leaves Map A when NPC is in the "A" position.

While the player is on Map B  I want an event to call a "Set Move Route" on event A on Map A.  So that when the player returns the NPC is in position "B"

Currently I can do this for any event which is on the same map, but I have not figured out a way to

do this from another map entirely.  In the drop down box, you are only given events for the map on which the player currently resides. 

Is there a script call that will allow to do something like the following:

"map number"  "event number"  "set move route"

which might look something like:    5, 12, (whatever a set move route would be)  then  move right, move right, move down, move right              For instance?

I realize I can use a separate event on Map A which controls the movement of the NPC with tabs on it with different sets of instructions for the NPC and set self switches so that different tabs allow for different movements.  I would like to see if I can do it all from Map B if possible.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
No. You can't control events that are on other maps via move routes. In fact you can't control them using ANY event command.


If you just want an event to stay in its final position next time you return to the same map, use my Remember Event Position script.
 

Espon

Lazy Creator
Veteran
Joined
Mar 20, 2012
Messages
1,810
Reaction score
192
First Language
Gibberish
Primarily Uses
RMMV
You can't move events on other maps because they technically don't exist after you leave it.  If you want the NPC to be in a different spot then you can either:

  1. Place a second event in the new position that gets enabled with a switch.
  2. Use the Event Transfer command after transferring back to Map A
 

Dragonduke

Villager
Member
Joined
Jun 23, 2012
Messages
22
Reaction score
1
First Language
English
Primarily Uses
Thanks to Shaz

No. You can't control events that are on other maps via move routes. In fact you can't control them using ANY event command.
 
  Solid advice I will hold onto.

Thanks to Espon

You can't move events on other maps because they technically don't exist after you leave it. 
I tried and I tried, but I have come, after long hours of sweat and a few (shall I say unmentionable words to myself ) to this very same conclusion.

I was able to solve the specific condition of my game by setting a self switch on the NPC to tab A, prior to leaving Map B which is where I set a "Set Move Route" on my player after transferring him back to Map A.  This way my player gets back to Map A, and walks around the corner, just as the NPC comes walking towards him so they meet in the alley.

I really appreciate how quickly on this forum questions get answered with care and consideration.

Admin:  This topic may be closed now as it has been answered.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Did you not read all of my post? I GAVE you a script that will do exactly what you want.


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

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,570
Latest member
fgfhdfg
Top