[RMXP] Transport Player with Autoplay

Hi Guys,


I have a little problem. I'm working on a Intro with Autoplay. On the map several NPC's moving at the same time there's a text box. Now at the end I want the heroe to teleport to another map. However it shouldn't be before the hero have reached a special position and not before the player has skipped the textbox. So whatever happend later this is the time to transfer the player.


Is this complicated to do?
that is a basic use of switches to condition events to. If you don't know how to use switches and variables yet, I suggest you take a few days to work through tutorials until you do, because that is something you'll need everywhere in your game.
Yeah I know. Set variable for X position and y position. But where to insert this conditional branch? In the event with the autoplay? In the hero event?


In the autoplay event I have this one:


Control Variables[Hero X] = Payler's X Map


Control Variables[Hero Y] = Payler's Y Map


In the hero event (parallel process) I have the move route and as soon as the hero touched the position I set Self Control A On. In the second sheet (start conditon Self Control A = on) I have this:


@>Conditional Branch: Variable [Hero X] == 14


   @>Conditional Branch: Variable [Hero Y] == 3


      @>Transfer Player


      @>Erase Event


      @>


 : Branch End
@kunst79 you're wrong, I wasn't talking about conditional branches - I was talking about conditions. that is something entirely different - check the top left area of the event pages.


And you should have only ONE event controlling everything, scattering event commands over several events is always a bad idea that can introduce timing problems.


That is why set move route can be used to remote-control other events, so that all comands for one scene are in a single event.


And your text example does prove that you're missing a lot about basic event functionality - the erase event in that sequence is useless anyway.


Please provide a screenshot of your event pages, then we can tell you what to change
Okay, got it solved now. I really was in the wrong movie... :blush:
If the event was autoplay, you shouldn't have to check where the player is, as you have complete control over where they are.  So I would suggest, if you have a move route that moves the player to a certain tile and you want to transfer afterwards, you check the Wait for Completion box on the move route.

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-transport-player-with-autoplay.67823/