Remove (not skip!) Party Command Window

Hello!


Been searching the Web and these forums to no avail, so thought I'd ask directly.


I want to completely deactivate the Party Command Window. I'm using Yanfly's battle engine and the CTB extension, and I'd like to remove the functionality that brings up the Party Command Window when pressing Cancel on the first actor. This window isn't necessary at all for my game -- characters have individual Escape options -- so I'd like to remove any chance that the player might inadvertently bring it up.


Any plugins or JS tweaks I can do to achieve this? I've had a look around in the core JS files, but I don't know JS well enough to start tinkering with them myself.


Thanks in advance!
I created a plugin which will disable selecting the party command window. It should be compatible with those plugins.


Window Options 1.03


The plugin will need to be placed above any battle plugin.
@Exhydra That's great, thank you -- it does exactly what I wanted.


Just wanted to let you know there's a small bug when used with Yanfly's CTB, however; while pressing Cancel on the Actor Command window no longer brings up the Party Command window, it does incorrectly advance the Turn Indicator in Yanfly's CTB module to the next actor/enemy as if the turn had already been taken. (The turn can still be taken; it's just the turn order indicator that's wrong.)
Oop ... updated to 1.01 (file name has also been changed to correct a minor spelling error; will need to be re-added to the plugin manager). This should keep from skipping the turn.
@Exhydra Close but no cigar! Pressing Escape now skips the turn and moves to the next actor in the list. If it's the last actor in the list, it throws a "TypeError: Cannot read property 'index' of undefined".


Thanks for your fast turnaround on this. Together we'll crack it! 🙂
Huh ... that's really odd. I have Yanfly's Battle Engine Core and the Battle System CTB plugins installed and I am receiving no errors or turn skipping. Are there any other plugins that you are using that might be related to the battle system?
@Exhydra Possibly. I'm using quite a few plugins to tweak the look and feel of the battle system. Here's a list of what I'm using that might be involved somewhere:


Exhydra_WindowOptions (yours, at the top of the list so above all others)


YEP_BattleEngineCore


YEP_X_BattleSysCTB


VE_BasicModule


VE_BattleCommandWindow


VE_BattleStatusWindow


HIME_ActorBattleCommands


HIME_BattleCommandUseSkill


YEP_EnhancedTP


YEP_TargetCore


I'm guessing one of the plugins that affects battle commands/the actor menu may be to blame here, so maybe the Himeworks or Victor Engine plugins are conflicting somehow?


EDIT: Yanfly's Battle Engine Core and VE's Battle Command Window both have functions to skip (but not disable) the Party Command window. I've tried disabling both of these options and your plugin still works, but the problem persists.


EDIT THE SECOND: Fixed it! I poked around in your .js file and commented out BattleManager._actorIndex++; -- now it appears to work as intended, for my purposes at least. Let me know if you find a more elegant solution. 🙂
Hmm, well, before I delve into that ... I have updated the plugin to 1.02 in order to try another, hopefully safer method.
@Exhydra Your 1.02 produces the opposite problem now, it goes back in the actor list instead of forwards. (To clarify, it doesn't actually show the command menu for the actor, it just highlights that actor in the party information window as if it's their turn.) Doesn't throw an error if it goes past the first one in the list, though. How peculiar!


In the meantime, the edit I posted in my previous reply seems to work, so I'll use that for the moment. I'll keep an eye on this thread in case you have any other ideas though, since my JS knowledge is pretty limited and my solution may have unforeseen consequences!
Huh ... I am not receiving any of these issues, even with adding the other plugins into the project. I imagine that could be due to plugin configuration and such. Anyway ... perhaps version 1.03 is the charm? Updated in my initial post. In the plugin manager, I have the plugin placed above all of the battle plugins you listed in the above post. 
@Ossra would you mind putting the link to the plugin again? It's now 404
@Bryan Rael You can use SRD's Battle GUI Core, and use it to remove the party command.
@Zarsla Thanks, I'll take a look into that

Original thread: https://forums.rpgmakerweb.com/threads/remove-not-skip-party-command-window.66822/