Actor Battle Commands

This plugin provides advanced battle command manage functionality that allows you to manage each and every one of your actors’ battle commands.

The most basic use is it allows you to customize which commands will be displayed in your actor battle command window, for each actor.

actorBattleCommands4.jpg


If you're looking for more advanced use, it also comes with some script calls that you can use to manage commands during the game. For example, you can add new commands to your actors, or you can disable commands in real-time during battle when certain conditions are met, using simple eventing!

You can watch a few demonstrations here:

Disabling Battle Commands



Hiding Battle Commands



Download

Get the plugin here: http://himeworks.com/2015/12/actor-battle-commands/
Terms of Use here: http://himeworks.com/terms-of-use/

This plugin is compatible with both MV and MZ.

Add-ons

ChangeEquipOnBattleMZ - https://forums.rpgmakerweb.com/index.php?threads/actor-battle-commands.125511/post-1107828
I love it!
If someone have Gatling guns instead or arms (like ff7 Barret) It makes sense the character can not use items for example!
Anyway to make it work with the ability to freely enable/disable the Equip Command from the launch Plug-in from the MZ DLC folder (ChangeEquipOnBattleMZ), the way your MV version had a plug-in to make it work with Yanfly's Battle Equip command?

Currently using that plug-in will make every character always have access to the equip command in battle, which is not what I want 🙂.

I remember using this plug-in in MV for this exact purpose in the past. Now it'd be nice to have it in MZ.
Cheers!
Anyway to make it work with the ability to freely enable/disable the Equip Command from the launch Plug-in from the MZ DLC folder (ChangeEquipOnBattleMZ), the way your MV version had a plug-in to make it work with Yanfly's Battle Equip command?

Currently using that plug-in will make every character always have access to the equip command in battle, which is not what I want 🙂.

I remember using this plug-in in MV for this exact purpose in the past. Now it'd be nice to have it in MZ.
Cheers!

I tried it out.

1598201884287.png


Steps

1. Place the equip change plugin above actor battle commands (we're overwriting the way the command window makes its list, so you want all command plugins to be placed above)

2. add this somewhere under actor battle commands (maybe a new JS file, maybe just copy paste into bottom of actor battle commands, etc)

Code:
TH.ActorBattleCommands.makeCommand_equip = function(symbol, ext) {
  return new Data_BattlerCommand("Equip", symbol);
};

/* New */
Window_ActorCommand.prototype.addBattleCommand_equip = function(cmd) {
  var enabled = cmd.isEnabled(this._actor); 
  this.addCommand(cmd.name(), cmd.symbol(), enabled);
};

Now you can use the

Code:
<battle command: equip />

And the script calls

Code:
disable_actor_command(ACTOR_ID, "equip")
hide_actor_command(ACTOR_ID, "equip")

I'll make a more official post about it somewhere, maybe as an add-on patch.

But if anyone is interested in adding their own commands, the process of adding new commands to the framework is basically defining those two methods in order to "register" the command.
Thankyou for the fast response. Can confirm it worked in a clean project (pasting the code snippet as it's own .js script).

For some reason didn't in my currenty existing project (with everything else turned off), but I'll try and figure that one out on my own. Maybe I changed something else. Cheers! ^_^
Hi, I have these two plugins activated, but the Equip command isn't showing up in my battles. I have them in the correct order in my plugin list -- is there something else I could be doing wrong?
I get an error whenever I try to run this plugin in MZ. It is conflicting with VisuStella's Battle Core because it runs fine when that plugin in is off. Here's the error message I got.Hime Actor Command Error.PNG
I get an error whenever I try to run this plugin in MZ. It is conflicting with VisuStella's Battle Core because it runs fine when that plugin in is off. Here's the error message I got.View attachment 216693
Hime hasn't been active for over a year, I'm not sure how much support you'll still get on this.
Hime hasn't been active for over a year, I'm not sure how much support you'll still get on this.
So should I move this to the plugin support thread instead?
So should I move this to the plugin support thread instead?
You could try there.
Can i use this script?
Can i use this script?
The terms of use are linked in the first post. Why would the author post it publicly if you're not allowed to use the plugin? 😉 🤣

Also, as Trihan pointed out three posts above you, the OP hasn't been on this site in over a year. Good luck with your project!

Original thread: https://forums.rpgmakerweb.com/threads/actor-battle-commands.125511/