I want the npc to spot the player within a range (5 tiles) and start to chase them, and when the player is far enough (10), they'll stop. I'm using this plugin right now.. and it works to making the npc chase, but how to make them stop? (I'm using the detect part as paraell: close -> self switch a, and when self switch a is on they chase and kill the player (event touch).) Aaaaa they won't stop chasing, how to make them stop when I'm faraway enough?
I want the npc to spot the player within a range (5 tiles) and start to chase them, and when the player is far enough (10), they'll stop.
I'm using this plugin right now.. and it works to making the npc chase, but how to make them stop?
(I'm using the detect part as paraell: close -> self switch a, and when self switch a is on they chase and kill the player (event touch).)
Aaaaa they won't stop chasing, how to make them stop when I'm faraway enough?
https://reflector88.itch.io/proximity-sensor <- props to the creator
Example: