Class in reactor_windows.js

Window_MenuCommand

17 public functions in 4 groups · show internal (_) functions

Windows draw every menu, list and status panel.

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 source
Window_MenuCommand.prototype.initialize(rect)

Sets up a new instance. (Same as the RPG Maker MZ method of this name.)

initCommandPosition

static source
Window_MenuCommand.initCommandPosition()

Initializes the command position. (Same as the RPG Maker MZ method of this name.)

makeCommandList

method source
Window_MenuCommand.prototype.makeCommandList()

Makes the command list. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

needsCommand

method source
Window_MenuCommand.prototype.needsCommand(name)

Whether it needs command. (Same as the RPG Maker MZ method of this name.)

areMainCommandsEnabled

method source
Window_MenuCommand.prototype.areMainCommandsEnabled()

Whether they are main commands enabled. (Same as the RPG Maker MZ method of this name.)

isFormationEnabled

method source
Window_MenuCommand.prototype.isFormationEnabled()

Whether it is formation enabled. (Same as the RPG Maker MZ method of this name.)

isOptionsEnabled

method source
Window_MenuCommand.prototype.isOptionsEnabled()

Whether it is options enabled. (Same as the RPG Maker MZ method of this name.)

isSaveEnabled

method source
Window_MenuCommand.prototype.isSaveEnabled()

Whether it is save enabled. (Same as the RPG Maker MZ method of this name.)

isGameEndEnabled

method source
Window_MenuCommand.prototype.isGameEndEnabled()

Whether it is game end enabled. (Same as the RPG Maker MZ method of this name.)

Actions

addMainCommands

method source
Window_MenuCommand.prototype.addMainCommands()

Adds the main commands. (Same as the RPG Maker MZ method of this name.)

addFormationCommand

method source
Window_MenuCommand.prototype.addFormationCommand()

Adds the formation command. (Same as the RPG Maker MZ method of this name.)

addOriginalCommands

method source
Window_MenuCommand.prototype.addOriginalCommands()

Adds the original commands. (Same as the RPG Maker MZ method of this name.)

addOptionsCommand

method source
Window_MenuCommand.prototype.addOptionsCommand()

Adds the options command. (Same as the RPG Maker MZ method of this name.)

addSaveCommand

method source
Window_MenuCommand.prototype.addSaveCommand()

Adds the save command. (Same as the RPG Maker MZ method of this name.)

addGameEndCommand

method source
Window_MenuCommand.prototype.addGameEndCommand()

Adds the game end command. (Same as the RPG Maker MZ method of this name.)

selectLast

method source
Window_MenuCommand.prototype.selectLast()

Selects the last. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

processOk

method source
Window_MenuCommand.prototype.processOk()

Handles the ok. (Same as the RPG Maker MZ method of this name.)