Class in reactor_scenes.js
Scene_ItemBase
20 public functions in 6 groups · show internal (_) functions
Familiar territory. Scene_ItemBase 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. |
| create() | Create. |
| createActorWindow() | Creates the actor window. |
Getting Information 2
| item() | Item. |
| itemTargetActors() | Item target actors. |
Checks (True / False) 4
| isCursorLeft() | Whether it is cursor left. |
| isActorWindowActive() | Whether it is actor window active. |
| canUse() | Whether it can use. |
| isItemEffectsValid() | Whether it is item effects valid. |
Actions 5
| showActorWindow() | Shows the actor window. |
| hideActorWindow() | Hides the actor window. |
| useItem() | Use item. |
| activateItemWindow() | Activate item window. |
| applyItem() | Applies the item. |
Events, Commands & Input 2
| onActorOk() | Called when actor ok happens. |
| onActorCancel() | Called when actor cancel happens. |
Other 4
| actorWindowRect() | Actor window rect. |
| user() | User. |
| determineItem() | Determine item. |
| checkCommonEvent() | Check common event. |
Setup & Creation
initialize
method sourceScene_ItemBase.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
create
method sourceScene_ItemBase.prototype.create()
Create. (Same as the RPG Maker MZ method of this name.)
createActorWindow
method sourceScene_ItemBase.prototype.createActorWindow()
Creates the actor window. (Same as the RPG Maker MZ method of this name.)
Getting Information
item
method sourceScene_ItemBase.prototype.item()
Item. (Same as the RPG Maker MZ method of this name.)
itemTargetActors
method sourceScene_ItemBase.prototype.itemTargetActors()
Item target actors. (Same as the RPG Maker MZ method of this name.)
Checks (True / False)
isCursorLeft
method sourceScene_ItemBase.prototype.isCursorLeft()
Whether it is cursor left. (Same as the RPG Maker MZ method of this name.)
isActorWindowActive
method sourceScene_ItemBase.prototype.isActorWindowActive()
Whether it is actor window active. (Same as the RPG Maker MZ method of this name.)
canUse
method sourceScene_ItemBase.prototype.canUse()
Whether it can use. (Same as the RPG Maker MZ method of this name.)
isItemEffectsValid
method sourceScene_ItemBase.prototype.isItemEffectsValid()
Whether it is item effects valid. (Same as the RPG Maker MZ method of this name.)
Actions
showActorWindow
method sourceScene_ItemBase.prototype.showActorWindow()
Shows the actor window. (Same as the RPG Maker MZ method of this name.)
hideActorWindow
method sourceScene_ItemBase.prototype.hideActorWindow()
Hides the actor window. (Same as the RPG Maker MZ method of this name.)
useItem
method sourceScene_ItemBase.prototype.useItem()
Use item. (Same as the RPG Maker MZ method of this name.)
activateItemWindow
method sourceScene_ItemBase.prototype.activateItemWindow()
Activate item window. (Same as the RPG Maker MZ method of this name.)
applyItem
method sourceScene_ItemBase.prototype.applyItem()
Applies the item. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onActorOk
method sourceScene_ItemBase.prototype.onActorOk()
Called when actor ok happens. (Same as the RPG Maker MZ method of this name.)
onActorCancel
method sourceScene_ItemBase.prototype.onActorCancel()
Called when actor cancel happens. (Same as the RPG Maker MZ method of this name.)
Other
actorWindowRect
method sourceScene_ItemBase.prototype.actorWindowRect()
Actor window rect. (Same as the RPG Maker MZ method of this name.)
user
method sourceScene_ItemBase.prototype.user()
User. (Same as the RPG Maker MZ method of this name.)
determineItem
method sourceScene_ItemBase.prototype.determineItem()
Determine item. (Same as the RPG Maker MZ method of this name.)
checkCommonEvent
method sourceScene_ItemBase.prototype.checkCommonEvent()
Check common event. (Same as the RPG Maker MZ method of this name.)