Familiar territory. Window_MenuCommand keeps the RPG Maker MZ API, so existing MZ knowledge, tutorials and plugin code apply. Reactor's additions are marked with descriptions below.
Quick Reference
Setup & Creation 3
| initialize() | Sets up a new instance. |
| initCommandPosition() | Initializes the command position. |
| makeCommandList() | Makes the command list. |
Checks (True / False) 6
| needsCommand() | Whether it needs command. |
| areMainCommandsEnabled() | Whether they are main commands enabled. |
| isFormationEnabled() | Whether it is formation enabled. |
| isOptionsEnabled() | Whether it is options enabled. |
| isSaveEnabled() | Whether it is save enabled. |
| isGameEndEnabled() | Whether it is game end enabled. |
Actions 7
| addMainCommands() | Adds the main commands. |
| addFormationCommand() | Adds the formation command. |
| addOriginalCommands() | Adds the original commands. |
| addOptionsCommand() | Adds the options command. |
| addSaveCommand() | Adds the save command. |
| addGameEndCommand() | Adds the game end command. |
| selectLast() | Selects the last. |
Events, Commands & Input 1
| processOk() | Handles the ok. |
Setup & Creation
initialize
method sourceWindow_MenuCommand.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
initCommandPosition
static sourceWindow_MenuCommand.initCommandPosition()
Initializes the command position. (Same as the RPG Maker MZ method of this name.)
makeCommandList
method sourceWindow_MenuCommand.prototype.makeCommandList()
Makes the command list. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
needsCommand
method sourceWindow_MenuCommand.prototype.needsCommand(name)
Whether it needs command. (Same as the RPG Maker MZ method of this name.)
areMainCommandsEnabled
method sourceWindow_MenuCommand.prototype.areMainCommandsEnabled()
Whether they are main commands enabled. (Same as the RPG Maker MZ method of this name.)
isFormationEnabled
method sourceWindow_MenuCommand.prototype.isFormationEnabled()
Whether it is formation enabled. (Same as the RPG Maker MZ method of this name.)
isOptionsEnabled
method sourceWindow_MenuCommand.prototype.isOptionsEnabled()
Whether it is options enabled. (Same as the RPG Maker MZ method of this name.)
isSaveEnabled
method sourceWindow_MenuCommand.prototype.isSaveEnabled()
Whether it is save enabled. (Same as the RPG Maker MZ method of this name.)
isGameEndEnabled
method sourceWindow_MenuCommand.prototype.isGameEndEnabled()
Whether it is game end enabled. (Same as the RPG Maker MZ method of this name.)
Actions
addMainCommands
method sourceWindow_MenuCommand.prototype.addMainCommands()
Adds the main commands. (Same as the RPG Maker MZ method of this name.)
addFormationCommand
method sourceWindow_MenuCommand.prototype.addFormationCommand()
Adds the formation command. (Same as the RPG Maker MZ method of this name.)
addOriginalCommands
method sourceWindow_MenuCommand.prototype.addOriginalCommands()
Adds the original commands. (Same as the RPG Maker MZ method of this name.)
addOptionsCommand
method sourceWindow_MenuCommand.prototype.addOptionsCommand()
Adds the options command. (Same as the RPG Maker MZ method of this name.)
addSaveCommand
method sourceWindow_MenuCommand.prototype.addSaveCommand()
Adds the save command. (Same as the RPG Maker MZ method of this name.)
addGameEndCommand
method sourceWindow_MenuCommand.prototype.addGameEndCommand()
Adds the game end command. (Same as the RPG Maker MZ method of this name.)
selectLast
method sourceWindow_MenuCommand.prototype.selectLast()
Selects the last. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
processOk
method sourceWindow_MenuCommand.prototype.processOk()
Handles the ok. (Same as the RPG Maker MZ method of this name.)