What an action actually changes
CHAPTER 01 / THE SHARED SYSTEM
Think of a light switch. The click is the event. “Change Object Property” is the instruction. The object, property and new value tell PCA exactly what to change.
| Part of the instruction | The switch in the Blockout Lab |
|---|---|
| Event | The player uses the switch, or the room’s entry event fires. |
| Action | Change Object Property. |
| Target | Room lab, object lab_warm. This identifies one particular lamp. |
| Property and value | Set light.intensity to 2.5. The value is a number. |
| Persistence | Choose room if the change should last only for this visit. |
The shared action form. Object identifies the target. Property, To and Persistence describe the change.
The name above a field is meant for people. The reference also shows the ID the game stores. For example, the picker says Change Scene, while the saved action type is ChangeScene. Both point to the same instruction.
Editing versus playing
Changing a lamp in the Scene Designer sets its starting appearance. Adding an action tells the Runner what to do later, when its event happens. Save the project after authoring the action. Save a game during play to keep a persistent result.
