Put an action on a room event
CHAPTER 05 / SCENE DESIGNER AND INSPECTOR
A room event gives the instruction a time to run. Here the Blockout Lab turns on its warm light as the player enters.
The room is selected in the Scene Designer. In the Inspector, (1) When Enters Room owns this action list and (2) Apply Changes commits the edit.
1 Select the room itself. In the Adventure Database, expand Scenes and select 01 · Blockout Lab. Open Room Events in the Inspector. If you see an object’s properties, select the room record again.
2 Find When Enters Room. Add a step with Add Next Action and choose Change Object Property. Choose the Lab as Scene, its warm light as Object and light.intensity as Property. Enter 2.5 in To and select room for Persistence.
3 Apply, save and enter the room. Use Apply Changes in the Inspector and Save Project. In the Scene Designer’s typed-properties window the commit button reads Apply Typed Properties. A room-entry action runs again on ordinary re-entry. To let the player decide when the light changes, put the same row on a switch interaction.
