Run an action on the right cutscene exit
PCA 3D ADVENTURE STUDIO / ACTION LISTS & EVENTS 0.86.4.3
A cue schedules an action during the scene. A lifecycle hook schedules an action when the scene starts or ends. Choose the place that should own each story change.
| start | Use for short setup before the cinematic clock starts. |
|---|---|
| completed | Use for an outcome earned by watching through to the end. |
| skipped | Use for the outcome of a player-requested skip. |
| interrupted / failed | Use when another run takes over, or when a failure terminates the sequence. |
| finished | Use for short cleanup shared by all endings, after the reason-specific actions. |
1. Open Markers & Hooks in the Cutscene Timeline. Under hooks, supply a JSON array of ordinary registered actions for each exit you need. Keep existing arrays when editing.
"skipped": [
{"type":"SetVariable","name":"intro_skipped","value":true}
],
"finished": [{"type":"HideGUI","guiId":"title_card"}]These are entries inside the hooks object. Create the variable and title GUI in your project first. A hook has up to five seconds for its actions. Put a longer follow-up scene in the flow that launches it.
TEST TWO EXITS
Run the skippable introduction twice from the same starting state. Finish it once and skip it once. Check that the title closes in both cases, and that only the skip run sets intro_skipped.
Action Lists & Events 188
