Hello there! So, it's all in the title basically...
I've been struggling for days now with ways to make the Player 'seen' by a specific event which patrols from left to right in the same map. (TL;DR at the end of post)
I'd like this event to detect the Player from a certain range when it's facing the right direction (if Player's at the right of the map, then the event should notice them only when they're at a certain distance and when walking to the right). If the events sees the Player then, it chases them until the Player hides. When they hide, the event freezes for a moment, then resume patrolling.
I've been trying plugins (YEP's Event Chase Player, Galv's Event Detector) but I can't manage to make them work as I'd like. So i've tried resorting to javascript (I do not do coding, I don't know Scheiße about that so I was just trying stuff by using the Player's coordinates, whenever the event should detect them depending on where they're on the map comparing to the event's position). I managed to accomplish some stuff by pure luck but there's always something going wrong.
So yeah, I'm starting to get a little annoyed by that and would like to call for help. Maybe I haven't used all the plugins' potential? I was wondering if Galv's could be used in any other way than what the file says.
Here's an example of my attempt at using javascript, just so you can see what I've been trying to do (there's more) (fyi it works, it just makes things a little messy):
TL;DR: I'd like to find a way so to make the Player 'seen' by an event at some range when the event is facing the right direction.
Thank you for your time.
I've been struggling for days now with ways to make the Player 'seen' by a specific event which patrols from left to right in the same map. (TL;DR at the end of post)
I'd like this event to detect the Player from a certain range when it's facing the right direction (if Player's at the right of the map, then the event should notice them only when they're at a certain distance and when walking to the right). If the events sees the Player then, it chases them until the Player hides. When they hide, the event freezes for a moment, then resume patrolling.
I've been trying plugins (YEP's Event Chase Player, Galv's Event Detector) but I can't manage to make them work as I'd like. So i've tried resorting to javascript (I do not do coding, I don't know Scheiße about that so I was just trying stuff by using the Player's coordinates, whenever the event should detect them depending on where they're on the map comparing to the event's position). I managed to accomplish some stuff by pure luck but there's always something going wrong.
So yeah, I'm starting to get a little annoyed by that and would like to call for help. Maybe I haven't used all the plugins' potential? I was wondering if Galv's could be used in any other way than what the file says.
Here's an example of my attempt at using javascript, just so you can see what I've been trying to do (there's more) (fyi it works, it just makes things a little messy):
TL;DR: I'd like to find a way so to make the Player 'seen' by an event at some range when the event is facing the right direction.
Thank you for your time.