Transfer Player function being inconsistent!

Hi! In my game, the player is supposed to escape a room full of zombies by going through a hole in the floor.

  • I chose a damaged floor tile, tweaked it in the Database to make it Passable in all four directions.
  • Added an event on the tile, screenshot added below.
  • When I play the game, the transfer player function works variably! 🙁
    When I start a new game and play it up to this point, it doesn't work. The player character is just hovering over the tile, no transfer happening.
  • When I save the game at this point and then load it, it miraculously works, and my player is successfully transfered to the spot I intended




Is this some weird bug or something? Been puzzling about this for days, so I decided to finally make an account here just to ask this!


Would really appreciate any help I can get, thanks!


Here's a screenshot of the transfer event contents.


I've updated this upon your suggestions so that the Transfer Player function is last. 🙂


RPGMAKER2.png


UPDATE!


After more hours of playtests, I realized that the transfer function actually works pretty consistently BEFORE a particular event is triggered.  


Below is a screenshot of the exact event that immediately precedes the transfer player issues. This "Realizes everyone left" switch gives the zombies autonomous movement


and enables the battle sequence with them.


RPGMAKER5.png


This is what it looks like when it works, I.E. Before the above event is triggered:


RPGMAKER3.png


Here's what it looks like when it doesn't work; i.e. after that event is triggered.


RPGMAKER4.png


Thanks all for your answers so far, please keep them coming 🙂
1) if a map is changed while you're playing a game with the actor in it, it needs to be reloaded before the updates can work. The current save always stores the current map with it, and if you stored an earlier save on the map before the changes, then those updates will only happen after you force the game to reload the map on the updated state.


2) Player touch triggers when the player moves on the event. If he already stands on the coordinates or if he is transferred there, it will not trigger until a move.


3) not directly affecting this problem, but your commands are in a less optimal sequence. Transfer player should always be the last command of an event if possible.


That is because transferring to a new map will erase the current events when the new map is loaded, and not all commands after a transfer command can be executed before the event is erased. It depends on a lot of things - sometimes it works, sometimes it doesn't. So it's better not to risk the "not working" by transfering the player last.
You have the priority set to same as characters, but through is not turned on.  This means the player doesn't need to stand ON the event for it to activate, but needs to be on a tile next to it.  If you're on a tile next to it and you don't attempt to walk onto that tile, the event would not activate.


I'd expect the player to escape when they are ON the tile.  So set the priority to Below Characters, and see if that makes a difference.

Original thread: https://forums.rpgmakerweb.com/threads/transfer-player-function-being-inconsistent.63264/