Activating CS if player is X tiles from Event in specific direction

Is that even possible without a script? Basically, the idea is to creat a monster, which'll move on setuped route, if player gets into radius, it would activate CS and then via CB switch event into chase mode, if player gets out of the radius, CS would deactivate and switch monster back into its usuall route. But it's kinda obviouse that you should be able to sneak behinde

it, so I would love to also make a specific tile radius for all directions. Is there any way? -Thx a lot guys and sorry for my grammar!
There are lots of ways (for example by parallel process checking coordinates), but we can't even guess which one would fit without you explaining what "CS" or "CB" means for you.
Control Switch and Conditional Branach

Coordinates? Well, I'll try, but I'm not sure, how... Like saving coordinations each time event moves and then check for radius?

I never met with coordinates before, so I don't really know what's possible and what isn't...
Coordinates are easy if you have only a limited number of events to check - you basically need two variables for the player and two variables for each event to check, and then you'll load the current coordinates into the variables and compare their values three or four times per second.


However, there was one plugin for something like this in the launch plugins, just search for it on the plugin database.
Ok, thx, I'll try searching, and those coordinates sounds simple too 😀

Thx a lot for helping!
lol - I thought CS meant Cutscene, and that CB had something to do with battle or a specific plugin.


Please don't use abbreviations. Too confusing for the rest of us.
Yea, sorry, I know that to now 😀

lol - I thought CS meant Cutscene, and that CB had something to do with battle or a specific plugin.

Please don't use abbreviations. Too confusing for the rest of us.

Original thread: https://forums.rpgmakerweb.com/threads/activating-cs-if-player-is-x-tiles-from-event-in-specific-direction.54875/