Familiar territory. Window_EventItem 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. |
| createCancelButton() | Creates the cancel button. |
Checks (True / False) 2
| needsNumber() | Whether it needs number. |
| isEnabled() | Whether it is enabled. |
Actions 3
| setMessageWindow() | Sets the message window. |
| start() | Start. |
| placeCancelButton() | Place cancel button. |
Events, Commands & Input 2
| onOk() | Called when ok happens. |
| onCancel() | Called when cancel happens. |
Updating & Drawing 3
| update() | Update. |
| updateCancelButton() | Updates the cancel button each frame. |
| updatePlacement() | Updates the placement each frame. |
Other 1
| includes() | Includes. |
Setup & Creation
initialize
method sourceWindow_EventItem.prototype.initialize(rect)
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
createCancelButton
method sourceWindow_EventItem.prototype.createCancelButton()
Creates the cancel button. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
needsNumber
method sourceWindow_EventItem.prototype.needsNumber()
Whether it needs number. (Same as the RPG Maker MZ method of this name.)
isEnabled
method sourceWindow_EventItem.prototype.isEnabled(/*item*/)
Whether it is enabled. (Same as the RPG Maker MZ method of this name.)
Actions
setMessageWindow
method sourceWindow_EventItem.prototype.setMessageWindow(messageWindow)
Sets the message window. (Same as the RPG Maker MZ method of this name.)
start
method sourceWindow_EventItem.prototype.start()
Start. (Same as the RPG Maker MZ method of this name.)
placeCancelButton
method sourceWindow_EventItem.prototype.placeCancelButton()
Place cancel button. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onOk
method sourceWindow_EventItem.prototype.onOk()
Called when ok happens. (Same as the RPG Maker MZ method of this name.)
onCancel
method sourceWindow_EventItem.prototype.onCancel()
Called when cancel happens. (Same as the RPG Maker MZ method of this name.)
Updating & Drawing
update
method sourceWindow_EventItem.prototype.update()
Update. (Same as the RPG Maker MZ method of this name.)
updateCancelButton
method sourceWindow_EventItem.prototype.updateCancelButton()
Updates the cancel button each frame. (Same as the RPG Maker MZ method of this name.)
updatePlacement
method sourceWindow_EventItem.prototype.updatePlacement()
Updates the placement each frame. (Same as the RPG Maker MZ method of this name.)
Other
includes
method sourceWindow_EventItem.prototype.includes(item)
Includes. (Same as the RPG Maker MZ method of this name.)