Class in reactor_windows.js

Window_EventItem

13 public functions in 6 groups · show internal (_) functions

Windows draw every menu, list and status panel.

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

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

createCancelButton

method source
Window_EventItem.prototype.createCancelButton()

Creates the cancel button. (Same as the RPG Maker MZ method of this name.)

Checks (True / False)

needsNumber

method source
Window_EventItem.prototype.needsNumber()

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

isEnabled

method source
Window_EventItem.prototype.isEnabled(/*item*/)

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

Actions

setMessageWindow

method source
Window_EventItem.prototype.setMessageWindow(messageWindow)

Sets the message window. (Same as the RPG Maker MZ method of this name.)

start

method source
Window_EventItem.prototype.start()

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

placeCancelButton

method source
Window_EventItem.prototype.placeCancelButton()

Place cancel button. (Same as the RPG Maker MZ method of this name.)

Events, Commands & Input

onOk

method source
Window_EventItem.prototype.onOk()

Called when ok happens. (Same as the RPG Maker MZ method of this name.)

onCancel

method source
Window_EventItem.prototype.onCancel()

Called when cancel happens. (Same as the RPG Maker MZ method of this name.)

Updating & Drawing

update

method source
Window_EventItem.prototype.update()

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

updateCancelButton

method source
Window_EventItem.prototype.updateCancelButton()

Updates the cancel button each frame. (Same as the RPG Maker MZ method of this name.)

updatePlacement

method source
Window_EventItem.prototype.updatePlacement()

Updates the placement each frame. (Same as the RPG Maker MZ method of this name.)

Other

includes

method source
Window_EventItem.prototype.includes(item)

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