-
Notifications
You must be signed in to change notification settings - Fork 0
States
DarkBladeDev edited this page Dec 27, 2025
·
1 revision
Instances have a state machine to control their lifecycle.
-
ACTIVE: The default working state. Ticks run normally. -
INACTIVE: Ticks still run (to allow checking conditions), but logic is usually paused by convention. -
DISABLED: Ticks do not run. Hard stop. -
DAMAGED: Automatically set if part of the structure is broken (if partial-break logic is enabled, otherwise structure is destroyed). -
OVERLOADED: Custom state often used for error conditions.
You can use set_state to set any custom string, but these 5 are handled specially by the engine.