Appendix B. The guarded launch script
Create an enabled project GDScript record with ID intro_once. Paste the next page’s complete source and save it. Leave it non-global with no automatic event subscriptions; the room/trigger/GUI launch action calls it explicitly.
| Requirement | Why |
|---|---|
| Ivo is ada and exists in lab | The script stores that actor reference and walking speed. |
| Elias is elias | Cleanup returns the NPC to idle. |
| workshop_intro exists | The wrapper waits for this record. |
| title_card, skip_controls, cinematic_speech | These authored overlays have deliberate visibility cleanup. |
| intro_bell sound channel | Stops the introduction’s channel specifically. |
| intro_seen Boolean | Guards the introduction and records that it was handled. |
The final player mark is [-0.5, 0, 1.3]. That is a story decision: Ivo should finish near Elias. The camera returns through the cutscene’s Restore Camera option.
This wrapper assumes the sequence stays in the workshop and keeps those actors alive. A room-changing cinematic needs a cleanup written for the destination room and its live actors.
Keep this script outside the timeline it launches. Choose Run Script → intro_once on the real room, trigger or GUI event. Calling it from that same cutscene would start the cutscene again.
