Familiar territory. Window_Command 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 2
| initialize() | Sets up a new instance. |
| makeCommandList() | Makes the command list. |
Getting Information 7
| maxItems() | The maximum items. |
| currentData() | The current data. |
| currentSymbol() | The current symbol. |
| currentExt() | The current ext. |
| findSymbol() | Finds the symbol. |
| findExt() | Finds the ext. |
| itemTextAlign() | Item text align. |
Checks (True / False) 3
| isCommandEnabled() | Whether it is command enabled. |
| isCurrentItemEnabled() | Whether it is current item enabled. |
| isOkEnabled() | Whether it is ok enabled. |
Actions 4
| clearCommandList() | Clears the command list. |
| selectSymbol() | Selects the symbol. |
| selectExt() | Selects the ext. |
| callOkHandler() | Call ok handler. |
Events, Commands & Input 2
| commandName() | Runs the name command. |
| commandSymbol() | Runs the symbol command. |
Updating & Drawing 2
| drawItem() | Draws the item. |
| refresh() | Refresh. |
Setup & Creation
initialize
method sourceWindow_Command.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
makeCommandList
method sourceWindow_Command.prototype.makeCommandList()
Makes the command list. (Same as the RPG Maker MZ method of this name.)
Getting Information
maxItems
method sourceWindow_Command.prototype.maxItems()
The maximum items. (Same as the RPG Maker MZ method of this name.)
currentData
method sourceWindow_Command.prototype.currentData()
The current data. (Same as the RPG Maker MZ method of this name.)
currentSymbol
method sourceWindow_Command.prototype.currentSymbol()
The current symbol. (Same as the RPG Maker MZ method of this name.)
currentExt
method sourceWindow_Command.prototype.currentExt()
The current ext. (Same as the RPG Maker MZ method of this name.)
findSymbol
method sourceWindow_Command.prototype.findSymbol(symbol)
Finds the symbol. (Same as the RPG Maker MZ method of this name.)
findExt
method sourceWindow_Command.prototype.findExt(ext)
Finds the ext. (Same as the RPG Maker MZ method of this name.)
itemTextAlign
method sourceWindow_Command.prototype.itemTextAlign()
Item text align. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isCommandEnabled
method sourceWindow_Command.prototype.isCommandEnabled(index)
Whether it is command enabled. (Same as the RPG Maker MZ method of this name.)
isCurrentItemEnabled
method sourceWindow_Command.prototype.isCurrentItemEnabled()
Whether it is current item enabled. (Same as the RPG Maker MZ method of this name.)
isOkEnabled
method sourceWindow_Command.prototype.isOkEnabled()
Whether it is ok enabled. (Same as the RPG Maker MZ method of this name.)
Actions
clearCommandList
method sourceWindow_Command.prototype.clearCommandList()
Clears the command list. (Same as the RPG Maker MZ method of this name.)
selectSymbol
method sourceWindow_Command.prototype.selectSymbol(symbol)
Selects the symbol. (Same as the RPG Maker MZ method of this name.)
selectExt
method sourceWindow_Command.prototype.selectExt(ext)
Selects the ext. (Same as the RPG Maker MZ method of this name.)
callOkHandler
method sourceWindow_Command.prototype.callOkHandler()
Call ok handler. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
commandName
method sourceWindow_Command.prototype.commandName(index)
Runs the name command. (Same as the RPG Maker MZ method of this name.)
commandSymbol
method sourceWindow_Command.prototype.commandSymbol(index)
Runs the symbol command. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
drawItem
method sourceWindow_Command.prototype.drawItem(index)
Draws the item. (Same as the RPG Maker MZ method of this name.)
refresh
method sourceWindow_Command.prototype.refresh()
Refresh. (Same as the RPG Maker MZ method of this name.)