MZ Disable the Battle Attack Command (RMMZ)

I'm looking for either a script or a plugin that will disable (grey out) the battle Attack command.

1618266312692.png


I've tried VS BattleCore, but that's like swatting a mosquito with a sledgehammer and I'd have to revamp my custom skills that are tied to a common event.

I tried a simple Seal Attack with the actor, the class, and with the weapon (both all 3 together and individually) but that didn't seem to have any effect. Is there any way to just disable (preferred) or remove that Attack command using either a script or a simple plugin that doesn't affect the whole battle system?

As always, thank you for reading.
You do not want it to show on the screen at all? ever?

I know in MV you could just load in a Plug-in with this and it would do that:

Window_ActorCommand.prototype.addAttackCommand = function () { };
You do not want it to show on the screen at all? ever?

I know in MV you could just load in a Plug-in with this and it would do that:

Window_ActorCommand.prototype.addAttackCommand = function () { };
Correct, I want it to be always disabled or to just never show on the screen at all. ever. 🙂

The reason is that it's an educational game so the player is presented a math equation (e.g. 8 x 2 = ?) and if solved correctly, the enemy receives that amount (in this case, 16) of damage. The skill is called Math Attack and works independently of the default Attack, so I don't want the default Attack to be playable at all.

And your code works flawlessly in MZ as well. PSYCHE! Thank you so much! I'm so appreciative of this community. 🙂
You do not want it to show on the screen at all? ever?

I know in MV you could just load in a Plug-in with this and it would do that:

Window_ActorCommand.prototype.addAttackCommand = function () { };
Hello! I was wondering what the command line would look like if I wanted reenable the attack command!
Hello! I was wondering what the command line would look like if I wanted reenable the attack command!
This thread, and the solution you quoted, are not about disabling and reenabling the attack command. (even though "disable" is in the title, the question is actually about removing)

That small plugin will make Attack never show throughout the game.

If you want to do something different, I suggest you make a new thread asking your specific question.
I have a similar question. I want to remove commands from the battle command boxes. Trying to clean it up and not have more than 4 optional commands on the screen at one time.
Box1.JPG
Box2.JPG

Above is the in battle commands. I want to remove the Escape command because its redundant.

Box3.JPG
Box4.JPG

As you can see he Escape command is already present in the previous command window. There is no point in having 2. Anyone knows how I can remove it? It doesn't have to be a plugin to change it I'm okay with whatever solution you have. Can I remove it using Visustella Engine cores because I am already using those.

Original thread: https://forums.rpgmakerweb.com/threads/disable-the-battle-attack-command-rmmz.135435/