Switch
Switch¶
Switches store boolean (true/false) values used to track states and toggles in the game, such as whether a door is unlocked or a quest is complete.
Note: Switches exist in two scopes: Global switches persist throughout the entire game, while Local switches belong to individual entities and are independent per instance. See Local and Global Data for details.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Name | The display name of the switch. | String |
| Value | The boolean value of the switch (true or false). | Toggle |