Skip to reading
Action Lists & Events

7. Add visible and audible feedback

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

Build the lever's response in an order that makes sense even if the player uses it more than once. Set a final state first; then present the feedback.

Source table from 7. Add visible and audible feedback, page 11
StepActionFields
1Change Variablepowered; Set; true.
2Change Object Descriptionlamp; The blue signal is powered.
3Play Soundchime; channel puzzle.
4Show MessageThe signal is on.; 2.2 seconds.

Figure 5. A later Use step starts a sound effect on the named puzzle channel.

The sound starts and the list continues to the message. The list does not wait for a sound effect to finish just because it appears earlier. If the timing needs a precisely placed pause, call a graph with Wait or use a cutscene timeline.

The lamp's new description is useful when its Look behavior uses the stored description. If you write a fixed Look message saying "The lamp is off," that fixed message will keep saying it until you change its logic too.

0.86.4.3 / Cutscene hooks and camera events > Page 188

Page 11 of 189Permalink
Go to page