Folowing monsters.

I'm making an event that's a monster folowing you. Is there a way to make it so that if this monster is in a one tile range you get killed?
Event triggered by touch, causes Game over.
You can also do something like a parallel process conditional branch. This way if the player is one space besides the player and the event is facing left it'll cause game over/ trigger the condition.


$game_map.events[1].direction == 4
$game_player.x == $game_map.events[1].x - 1
$game_player.y == $game_map.events[1].y
Game Over.

Just do this for every other direction.

Original thread: https://forums.rpgmakerweb.com/threads/folowing-monsters.90600/