Stage Behaviour Run
stage_behaviour_runTrigger an object's behavior as a VR user would: press it, select a menu action, or send an input value, with optional silent testing and structured state/error replies.
Instructions
Do what the person does in VR: press an object with a behaviour, pick one of its menu items (action = the label),
or send one of its inputs a value (page command: behaviour_run). The same function runs as for the person, and
its sound plays (sound=False for a silent test). Errors: no behaviour on that object, no such action (the reply
lists them). A function that fails answers with error and emits behaviour_error. Page replies {object, action,
via, state, error?}. Emits: behaviour_run, behaviour_state when the state changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | ||
| sound | No | ||
| value | No | ||
| action | No | press | |
| object | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |