46. Wrap playback in one cleanup route
The intro_once script starts the cutscene, waits for it to finish or be skipped, then establishes the intended playable state. That puts essential cleanup outside the part of the timeline that can be skipped.
| Wrapper step | Why it is there |
|---|---|
| Check intro_seen | Avoid accidental replay through another launch route. |
| Save the current walking speed | Restore a temporary cinematic speed afterward. |
| Show skip controls when skippable | Provide a deliberate touch/mouse skip route. |
| Await StartCutscene | Run the remaining script after playback returns. |
| Hide title, skip and speech GUIs | Close authored overlays on both exits. |
| Stop the intro sound and voice | Avoid stray audio after the handoff. |
| Stop movement; restore speed; place Ivo | Establish the same final mark after a skip. |
| Return actors to idle; set intro_seen | Resume a clean game state and remember completion. |
The complete script appears in Appendix B. It is intentionally specific to this workshop: ada and elias must be present in lab. Adapt the IDs and intended ending positions to your game.
This workshop uses an outer wrapper. A managed cutscene can put shared cleanup in its finished hook. Give a reward to one route so it is granted once.
0.86.4.3 / Preview, cue timing and hooks > Page 74
Cutscene Designer | 0.86.4.3
