Question about enemy events on map and scripted movement routes / second events involved

Hello everybody,
i created an event that acts as an enemy, but couldn't get it to trigger on event touch and not make the movement route on the event at the same time (it will follow the player, when too far from him, wander around when at a certain distance and flee when too near to the player), so i used a controller event for that. Is there a way to make that happening with just one event?
You could put it into the main event - after whatever move route command, just check whether the space in front of it has the character. If yes, start battle processing.
Hello everybody,
i created an event that acts as an enemy, but couldn't get it to trigger on event touch and not make the movement route on the event at the same time (it will follow the player, when too far from him, wander around when at a certain distance and flee when too near to the player), so i used a controller event for that. Is there a way to make that happening with just one event?
When you say you "couldn't get it to" what did you try and what isn't working as expected?
It was working as expected (not being able to start a battle), i changed the enemy from event touch to parallel, but couldn't find a way to check if the event crashed into the player while being parallel.
couldn't find a way to check if the event crashed into the player while being parallel.
Like I just described 😉

Screenshot 2023-03-29 135146.png

Put that at the bottom of the event after it moves in whichever direction you tell it to.
Ah, my bad, how could i have missed that, thanks 🙂 Isn't working for what i'm trying to do because most of the time the event is not facing the player, but i can get it to work from here on

Update:
ok, got it working, thanks again, thread can be closed.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-enemy-events-on-map-and-scripted-movement-routes-second-events-involved.156239/