I've been searching for a better way to set up on map encounters - ie, there's an enemy wandering around that, when activated, will go into a turn-based battle. But there seems to only be two ways of doing this: you either have no control over how the battle starts and it's just a matter of ramming or getting rammed, but either way just takes you to a battle; or you can use Yanfly's Event Aid (or whatever the plugin's called) where the player can make a sneak attack on an enemy. That's great and all, but I'd like to set up something a bit more dynamic. I also feel like this could be used for puzzles, like triggering switches the player can't reach, lighting torches, or... any number of other things.
I've found a way to tell how close the player is to an event, but I don't know how to tell where exactly the event is (I need a straight line, not a circle). Is there a way to either represent this as a variable check, or a script or something?
I've found a way to tell how close the player is to an event, but I don't know how to tell where exactly the event is (I need a straight line, not a circle). Is there a way to either represent this as a variable check, or a script or something?