Stage Cue Set
stage_cue_setAttach a menu ahead of time to a scene event like touch, drop, teleport, or near; the panel opens beside the event or in front of the person, and buttons can run page commands.
Instructions
Attach a menu ahead of time to something the person will do (page command: cue). on is a page event type
(touch, menu, drop, teleport, waypoint_done, gesture, ...) or 'near'; match {field: value} must hold on that event
(strings match by substring); a 'near' cue needs near {position (Blender xyz), radius (default 1.5)}. When it fires
the panel opens beside the thing the event names, or at its point, else in front of the person; buttons default to
['OK']. then {button: command} runs that page command on the page directly (no cmd_done for it). once=False keeps
the cue after it fires; ttl_s expires it. Kept per scene in cues.json. The id is cue (the page also reads name),
else a new one. One cue fires at a time. Page replies {id, waiting}. Emits (later, when it fires): cue_fired,
panel_shown, panel_answer, panel_closed, cue_answer, voice_error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| cue | No | ||
| near | No | ||
| once | No | ||
| text | No | ||
| then | No | ||
| match | No | ||
| scene | Yes | ||
| title | No | ||
| ttl_s | No | ||
| width | No | ||
| buttons | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |