Skip to reading
Actions, Properties & Runtime Updates

Set a light in a room the player hasn’t entered

Edition 0.86.4.4 Hotfix 2

Updated through 0.86.4.4 Hotfix 2, with cinematic property, recorded-pose or voice-timing lessons as described in this guide. Earlier examples, screenshots and complete registry figures retain their stated edition context.

Download PDFView illustrations

0.86.4.0 / Set an unloaded room property > p. 26

CHAPTER 12 / OFFSCREEN OBJECTS

The switch is in Blockout Lab. The lamp it controls is on Beacon Deck. What should happen during the time between flipping the switch and opening the door?

On the Lab’s switch action, (1) choose the destination room, (2) select its light and (3) set Persistence to persistent.

1 Keep the event in the Lab. Add Change Object Property to the Lab switch. In the action’s Scene field choose 02 · Beacon Deck (roof). Then choose roof_warm for Object. Pick light.intensity and enter 2.5.

2 Choose persistent. This records a change addressed to the roof and its lamp. The Runner reports on_room_load. No deck lamp is currently on screen. Choosing room for this offscreen target would fail with room_not_loaded.

3 Walk through the door. Trigger the Lab switch first, then enter the deck through the room change from page 7. The deck’s lamp takes the new value when PCA creates the room. If the wrong lamp changes, recheck the pair roof and roof_warm.

When temporary is enough

Choose temporary for a remote change that may last across room visits in this play session but should disappear when a save is loaded. Choose persistent if the player expects the switch to stay thrown after quitting.

Page 20 of 39Permalink
Go to page