Familiar territory. Scene_Item 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 4
| initialize() | Sets up a new instance. |
| create() | Create. |
| createCategoryWindow() | Creates the category window. |
| createItemWindow() | Creates the item window. |
Getting Information 1
| itemWindowRect() | Item window rect. |
Actions 2
| playSeForItem() | Plays the se for item. |
| useItem() | Use item. |
Events, Commands & Input 3
| onCategoryOk() | Called when category ok happens. |
| onItemOk() | Called when item ok happens. |
| onItemCancel() | Called when item cancel happens. |
Other 2
| categoryWindowRect() | Category window rect. |
| user() | User. |
Setup & Creation
initialize
method sourceScene_Item.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
create
method sourceScene_Item.prototype.create()
Create. (Same as the RPG Maker MZ method of this name.)
createCategoryWindow
method sourceScene_Item.prototype.createCategoryWindow()
Creates the category window. (Same as the RPG Maker MZ method of this name.)
createItemWindow
method sourceScene_Item.prototype.createItemWindow()
Creates the item window. (Same as the RPG Maker MZ method of this name.)
Getting Information
itemWindowRect
method sourceScene_Item.prototype.itemWindowRect()
Item window rect. (Same as the RPG Maker MZ method of this name.)
Actions
playSeForItem
method sourceScene_Item.prototype.playSeForItem()
Plays the se for item. (Same as the RPG Maker MZ method of this name.)
useItem
method sourceScene_Item.prototype.useItem()
Use item. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onCategoryOk
method sourceScene_Item.prototype.onCategoryOk()
Called when category ok happens. (Same as the RPG Maker MZ method of this name.)
onItemOk
method sourceScene_Item.prototype.onItemOk()
Called when item ok happens. (Same as the RPG Maker MZ method of this name.)
onItemCancel
method sourceScene_Item.prototype.onItemCancel()
Called when item cancel happens. (Same as the RPG Maker MZ method of this name.)
Other
categoryWindowRect
method sourceScene_Item.prototype.categoryWindowRect()
Category window rect. (Same as the RPG Maker MZ method of this name.)
user
method sourceScene_Item.prototype.user()
User. (Same as the RPG Maker MZ method of this name.)