I want a battle to be unable to be escaped from. Is this possible?
How do I disable being able to run from a battle?
RPG Maker XP SupportIn the Battle processing command there is a box 'Allow escape'. Uncheck it.
If you need it for evented battles, see above.. If you want it for random battles I think you need to script that one.
Cool, thanks.
Edit: Wrongly posted an MV link. Please excuse.
@bhindi1224 That is a plugin for MV - this thread is for XP, so no plugin will work. Plugins are written in Javascript, and all other engines have scripts written in different versions of RGSS.
Also, as a general rule, it is not advisable to put in a plugin or script just to do something that the engine does by default.
Also, as a general rule, it is not advisable to put in a plugin or script just to do something that the engine does by default.
Terribly sorry, I didn't notice it was XP. But from what I gathered the engine doesn't have a setting to disable running away from random encounters. I'll definitely be more careful in the future.
@bhindi1224 You are right about random encounters, but the OP didn't ask about them but about "a battle" - which usually implies a specific and therefore evented encounter.
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-disable-being-able-to-run-from-a-battle.85603/