Class in reactor_objects.js
Game_SelfSwitches
5 public functions in 4 groups · show internal (_) functions
Familiar territory. Game_SelfSwitches 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 1
| initialize() | Sets up a new instance. |
Getting Information 1
| value() | Value. |
Actions 2
| clear() | Clear. |
| setValue() | Sets the value. |
Events, Commands & Input 1
| onChange() | Called when change happens. |
Setup & Creation
initialize
method sourceGame_SelfSwitches.prototype.initialize()
Sets up a new instance. (Same as the RPG Maker MZ method of this name.)
Getting Information
value
method sourceGame_SelfSwitches.prototype.value(key)
Value. (Same as the RPG Maker MZ method of this name.)
Actions
clear
method sourceGame_SelfSwitches.prototype.clear()
Clear. (Same as the RPG Maker MZ method of this name.)
setValue
method sourceGame_SelfSwitches.prototype.setValue(key, value)
Sets the value. (Same as the RPG Maker MZ method of this name.)
Events, Commands & Input
onChange
method sourceGame_SelfSwitches.prototype.onChange()
Called when change happens. (Same as the RPG Maker MZ method of this name.)