Event through tiles but not player

Hey all


Working on a scene where the player is chased through a maze by a ghost, it wudn't be an issue, but the ai has trouble navigating the maze, so i decided it just move through everything to make it easier. So  I selected "through" but this makes it pass through the player rather than activating the touch trigger for game over.


I'm looking for two possible solutions


1. just make the ai navigate the maze ( a suspect this is not possible/ easy)


2. make it still interact with the player with "through" on, maybe a script which activates when player position = event position.


Edit 3. also if possible, could you get make the event keep chasing even if it leaves your screen.


thanks


Jacob


p.s. sorry if this is stupid and obvious question
In this case, the easiest option is probably


3) make a parallel process comparing the position of the player with the position of the ghost to do whatever you want happen on contact


Remember to place at least a few waits (5 should be OK) at the end of the PP to reduce lag.
Awsome, that worked a treat, if possible could you give some advice on the edit 3)
Awsome, that worked a treat, if possible could you give some advice on the edit 3)

See here; this worked for me...


Events don't move off screen ...


Hope this helps
See here; this worked for me...


Events don't move off screen ...


Hope this helps

<33333333


Thanks both of you, really helped me out!

Original thread: https://forums.rpgmakerweb.com/threads/event-through-tiles-but-not-player.65394/