So first off, I realize that by default the actor command window is fixed to the actor status window, thereby forcing it to be vertical and limiting its width. I am using MOG_BattleHud however, which allows me to move the actor command window elsewhere on the screen.
Although MOG_BattleHud allows me to adjust the number of rows and columns for other battle windows, it does not have those same parameters for the actor command window (only width). It was the same thing in MV, so for that I had to whip up my own plugin.
In MV's rpg_windows.js, I was able to gather and edit these lines to use in their own plugin:
This exact plugin also works in MZ, which is good, but my concern is that if MZ's window core scripts are ever updated then it could potentially break this. However since MZ's core scripts are structured differently, I'm having difficulty locating and isolating where exactly in the core scripts determines the actor command's rows and columns. There's a bunch of that under Window Selection in rmmz_windows.js, but I believe those are for multiple windows? I don't want to adjust all of them, only actor command's.
TL;DR: I'm just trying to find where in any of the core scripts determines the number of rows and columns for the actor command window in battle. Or otherwise request a plugin to edit those in MZ specifically. Thanks.
Although MOG_BattleHud allows me to adjust the number of rows and columns for other battle windows, it does not have those same parameters for the actor command window (only width). It was the same thing in MV, so for that I had to whip up my own plugin.
In MV's rpg_windows.js, I was able to gather and edit these lines to use in their own plugin:
Code:
Window_ActorCommand.prototype.numVisibleRows = function() {
return 2;
};
Window_ActorCommand.prototype.maxCols = function() {
return 4;
};
This exact plugin also works in MZ, which is good, but my concern is that if MZ's window core scripts are ever updated then it could potentially break this. However since MZ's core scripts are structured differently, I'm having difficulty locating and isolating where exactly in the core scripts determines the actor command's rows and columns. There's a bunch of that under Window Selection in rmmz_windows.js, but I believe those are for multiple windows? I don't want to adjust all of them, only actor command's.
TL;DR: I'm just trying to find where in any of the core scripts determines the number of rows and columns for the actor command window in battle. Or otherwise request a plugin to edit those in MZ specifically. Thanks.