I currently have an event that teleports the player to a map. What i want to do is play an event that every couple of seconds the map will change and the player will have to walk around and find a way out while the map is changing between 2 maps. However i can't find a way on how i could do that. Can anyone help?
How can i change the map with the player being in the same position?
RPG Maker MZ SupportUsing event commands from the editor is probably easiest. You can set variables to the player's X and Y position on the current map using "Control Variables" commands in the editor (choose "Game Data", click on "Character" so it brings up "Player", and then choose "Map X" or "Map Y"). Put the number of map that you want the player to go to in a third variable. The "Transfer Player" editor command gives you the option of transfering the player to a destination designated by 3 variables.
does it let the player walk while the event for this is running?
You know... thats kinda clever (no transitions or tell signs). Imagine a map doing so every minutes. Player goes in a room, comes back and obstacles are gone. But the main entrance is gone too, or something. 🙂 Could play mind tricks on an unsuspecting player trying to figure things out. Until you spot the change...
If you put it in a parallel event, it would. To switch maps every couple of seconds, you would be putting a "Wait" command of 120 frames, or longer, if that seems better in practice. (One frame corresponds to about 1 second.) That should leave plenty of computing power to deal with normal player character control and movement.
If the parallel event has to work on more than 1 map, for instance, 2 maps, make it a common event. A common event that is a parallel event is triggered by a switch. Turn the switch 'On' to make the event run, 'Of' to stop it.
Good luck!
Edit: This is an example of what you could try:
Edit2:
You might want to try "None" for the fade option of the transfer.
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-change-the-map-with-the-player-being-in-the-same-position.179297/