set_trigger_enabled()
Enable / Disable Trigger | Action ID: SetTriggerEnabled
Enable or disable a trigger's runtime event behavior.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Room sceneId | Choose a scene ID. | Blank |
| Trigger entityId | Choose a trigger in the selected scene. | Blank |
| Enabled enabled | Explicit on/off state for the feature or response. | true |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
set_trigger_enabled({"sceneId": "lab", "entityId": "archive_door", "enabled": true})In use. Turn off a doorway trigger during an opening cutscene, then turn it on when play begins. Existing overlaps and the player starting inside the volume need to be tested; do not treat the toggle as a guaranteed fresh Enter event.
spawn_object()#
Spawn Scene Object | Action ID: SpawnObject
Spawn or restore an already authored scene object definition.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Room sceneId | Choose a scene ID. | Blank |
| Scene Object entityId | Choose an entity in the selected scene. | Blank |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
spawn_object({"sceneId": "lab", "entityId": "archive_door"})In use. Restore a temporary prop that was despawned. The chosen object must have an authored definition the runtime can find. Use Create Primitive or Add Asset To Scene to create a new record instead.
