Skip to reading
The GUI Designer

13. Run an ordered list from a button

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

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.

Source table from 13. Run an ordered list from a button, page 27
ControlMeaning
Add Next ActionAppend another step.
Up / Down arrowsMove a step in the sequence.
The x controlRemove that step.
None plus a listAllows 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.

Page 27 of 57Permalink
Go to page