14. Build the clock's Use action list
The designer holds the starting value for a new run. An action changes the current game's value. Ordinary game saving can preserve that current state; testing from a fresh start uses the project's initial value again.
An action list runs its steps from top to bottom. You do not need a visual graph just to perform a straight sequence.
Select the clock and open Verb Actions. Change Default Verb to Use for the context-sensitive version of this lesson. Find the Use Verb group and set up these actions in order.
| Step | Action | Important fields |
|---|---|---|
| 1 | Activate / Blend to Camera | Camera: Clock Close-up; Blend Seconds: 0.7; Wait for Blend: on. |
| 2 | Play Animation | Room: workshop; Character / Object: Player; Animation: inspect. |
| 3 | Show Message | One small adjustment should do it.; Duration 2.5; Block Player Input on. |
| 4 | Play Sound | Sound Asset: your chime; Channel / ID: clock_chime. |
| 5 | Change Variable | Variable: Clock Repaired; Operation: set; Value: true. |
| 6 | Activate / Blend to Camera | Camera: Room View; Blend Seconds: 0.7; Wait for Blend: on. |
| 7 | Show Message | The clock is running again.; Duration 2.5; Block Player Input off. |
Import a suitable audio file as an Audio asset for Step 4. The pictures use the bundled Chime with asset ID clock_chime. A channel name is a runtime label for controlling that sound later; it is not the sound asset itself.
Add the steps in the correct group#
1. Set the Use group's first Action selector to Activate / Blend to Camera.
2. Fill its camera, duration and wait fields.
3. Use Add Next Action at the end of the Use group to append Step 2.
4. Choose Play Animation and fill its target and animation.
5. Continue appending the remaining steps in the order above.
