I'm using a plugin by Caethyril that takes away the party command in battle (Fight/Escape). I made a skill to escape with my party members, but it isn't working the way I want it. The problem is that when I use the skill and escape battle, the battle music continues outside of battle. I've tried everything in the skill setup and common events. I've also searched for plugins, but I can't get it to work.
MZ Help with escaping battles
RPG Maker MZ Supportshow us your setup, as ending the battle should return to the map BGM.
if this isn't the case by your skill usage, it may how the plugin works.
either double check the plugin description, or ask the author of the plugin.
did you test it with only that plugin or do you use more plugins?
if this isn't the case by your skill usage, it may how the plugin works.
either double check the plugin description, or ask the author of the plugin.
did you test it with only that plugin or do you use more plugins?
Answering this here~
Here's a link to the post where I shared this code:
forums.rpgmakerweb.com
Maybe I'm missing something, but I just tested again and it seems to work OK for me. I tried playing a BGM on the map, entering battle via Battle Processing, then making everyone run away using a skill with an Escape effect on it. The battle ended as expected and the map BGM was reinstated. This test was successful with core script versions 1.9.0 and 1.10.0.
This makes sense to me, because by default my code only impacts things affecting player input. So I suspect it's conflicting with either another plugin or a core script edit, or there's something else you're doing (e.g. an unusual script call, a Parallel event that plays BGM, etc) that you haven't mentioned. Ideas:
(In future, please use the
</> code formatting button when posting code! Otherwise the forum is prone to auto-formatting it and malforming/breaking it.)Here's a link to the post where I shared this code:
Skip Party Command
I'm looking for a way to disable the party command in the battles. I'm using a plugin by Zevia called SkipPartyMenu. The problem is that when the party command would normally come the game crashes with this error.
forums.rpgmakerweb.com
Maybe I'm missing something, but I just tested again and it seems to work OK for me. I tried playing a BGM on the map, entering battle via Battle Processing, then making everyone run away using a skill with an Escape effect on it. The battle ended as expected and the map BGM was reinstated. This test was successful with core script versions 1.9.0 and 1.10.0.
This makes sense to me, because by default my code only impacts things affecting player input. So I suspect it's conflicting with either another plugin or a core script edit, or there's something else you're doing (e.g. an unusual script call, a Parallel event that plays BGM, etc) that you haven't mentioned. Ideas:
- With all plugins turned off in the Plugin Manager, save your project to apply Plugin Manager changes before testing. Otherwise the changes will not be respected, because the editor does not maintain a temporary "test" version of
plugins.js.
- From the editor's menu bar, choose Game -> Update Corescript. Pick a version and click OK. This should ensure your project is running on a clean (i.e. no edits) version of the core scripts.
- As can be seen in the linked thread, this plugin of mine was specifically written for MZ's TPB system. If you've changed which battle system you're using, via the editor and/or plugins, you may well need a different plugin.
Original thread: https://forums.rpgmakerweb.com/threads/help-with-escaping-battles.182886/