Event close? Change event behavior!

Bats. **** 'em. flying around in caves, attacking the player, always the same thing.


But hey they're a cliche and i like cliches. *shrug*


But what would be really cool? if bats just did random stuff until the player got within, oh, say, three steps of them, and then they'd home in on him and bite him and suck his blood and steal his wallet and tweet mean things about his dog.


But to do that, they'd have to go from "random" to "custom" or "approach" ... is there a way to do that?


Any help would be greatly appreciated. 🙂
Use a Parallel Event that checks on the player X & Y coordinates and compares that to the Bat event, then if the condition is met, change that Bat's behaviour.
Use a Parallel Event that checks on the player X & Y coordinates and compares that to the Bat event, then if the condition is met, change that Bat's behaviour.

so make two events, one for the bat and one to check where the player is relative to the bat?
That means you'd have to have a parallel process event for every bat, which could cause some crazy lag.


It might be worth looking into proximity scripts.

Original thread: https://forums.rpgmakerweb.com/threads/event-close-change-event-behavior.72718/