13. Run an ordered list from a button
0.86.4.0 walkthrough / Update a GUI while someone types > p. 50
Use Additional Event Actions when a single click needs several steps. The primary behavior or catalog action runs first; the additional list runs afterward, in order.
1. Select Add a point and open its Click event.
2. Choose Action List as the primary choice, so this example runs only the list.
3. Expand Additional Event Actions and click Add Next Action.
4. Choose Change Variable, select Score(score), choose Operation add and enter Value 1.
5. Save, play and click once. The live score should rise from 0 to 1.
Figure 23. The additional list has its own action selector, parameter fields and step controls.
| Control | Meaning |
|---|---|
| Add Next Action | Append another step. |
| Up / Down arrows | Move a step in the sequence. |
| The x control | Remove that step. |
| None plus a list | Allows a list without a primary behavior, subject to any old legacy Click Action being cleared. |
If an action exposes a Wait option, choose it according to the intended order. A long-running action that is not told to wait may let the next step begin while its visual result is still happening.
