Help creating an 'enemy chase player' event

I just want to create a simple event that checks the player's x/y and will have the event chase them if the player within 4 tiles
I just want to create a simple event that checks the player's x/y and will have the event chase them if the player within 4 tiles
Like this?
That help some?

Enable the plugin:
1598260748194.png

Then use a notetag on the event like so:
Code:
<chase:!$gameSelfSwitches.value([$gameMap._mapId, this._eventId, 'A'])>
That will chase the player while self switch 'A' is OFF. ☺️

See more details in the demo project. 😉
Haven't really made it too customizable yet but that the idea you were looking for?
Yes!! Thank you!!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-creating-an-enemy-chase-player-event.125931/