The title basically says it all. Is there a way to do this with the base software or do I need a plugin?
How do I make an enemy chase the player between maps like in Ao Oni?
RPG Maker MV SupportYou need a copy of the event on every map it can chase you on (or spawn it in with an event spawner). Move it to the player's position when the player enters the map, but don't make it visible until the player leaves the entry tile (with a self switch). Give it a move route to move toward the player.
Basically you don't have enemies on your map, you have events pretending to be enemies on your maps.
Events cannot leave the map they are on, but you can use different events pretending to be the same enemy on different maps.
now the transfer event where you leave a map has to store the situation into variables and switches before you transfer the player to a new map, and on the new map other events have to read the data to continue the situation.
The more details you are willing to ignore the easier that eventing becomes - if you want if extremely detailed you'll have to work on the events.
example: does it matter how close the "enemy" is?
If no you can have the enemy on the next map enter after a fixed delay and ignore the detaills.
Otherwise the leaving transfer has to check how far away the enemy position is from the transfer position and store that in a variable for counting the delay on the next map.
Events cannot leave the map they are on, but you can use different events pretending to be the same enemy on different maps.
now the transfer event where you leave a map has to store the situation into variables and switches before you transfer the player to a new map, and on the new map other events have to read the data to continue the situation.
The more details you are willing to ignore the easier that eventing becomes - if you want if extremely detailed you'll have to work on the events.
example: does it matter how close the "enemy" is?
If no you can have the enemy on the next map enter after a fixed delay and ignore the detaills.
Otherwise the leaving transfer has to check how far away the enemy position is from the transfer position and store that in a variable for counting the delay on the next map.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-an-enemy-chase-the-player-between-maps-like-in-ao-oni.161608/