Say you are battling a big bad demon with the condition that you can't escape this battle, yet the player tries and the monster Laughs !! and text appear : You can't escape, you're going to die mortal !! hahahaha
How would one do that?
For exactly that you'll need a plugin - the escape function is AGI-based, each failed escape increase the escape chance for the next try and the enemies can't react to an escape attempt.
I've moved this thread to Plugin Request. Please be sure to post your threads in the correct forum next time. Thank you.
I'm not sure exactly how a plugin like that would work but something along the line of it running a common event if you attempt to escape when you are not allowed to, would probably be desirable since it would allow for sushibyte's request and could be used for many other things such as cut scenes or sound effects or minigames or a special "Run Away" quest.
I like the common event idea. Let me look at how that might work.