63. Change rooms and choose a spawn
1. Create and test the destination room. Add a clearly named spawn such as from_workshop.
2. In the exit graph, test the requirement: door_open true, for example.
3. Add Change Scene. Choose the destination Scene first.
4. Choose Spawn (optional) from that scene. Use XYZ when no spawn only when a coordinate-based arrival is intended.
5. Commit/save, then walk through the actual exit interaction.
6. Return to the old room and check its solved state.
The Scene and Spawn selectors are references. A spawn ID from another room is not a valid arrival simply because the text looks familiar. Dependent dropdowns should be selected after the parent room choice.
Treat the room change as a boundary. Persistent puzzle variables and supported saved state can survive it; the old room’s live nodes may no longer be available for later object operations.
| Before the change | After the change |
|---|---|
| Record completed puzzle state. | Use destination room entry logic for its local presentation. |
| Stop a temporary effect if needed. | Choose targets that actually exist in the new room. |
| Avoid duplicate exit calls. | Check that control and the default camera are correct. |
Do not continue targeting an old door through this after changing rooms. Capture only the information you need and let the destination room own its local setup.
