Skip to reading
Images, Carousels & Choice Controls

Combine the small actions into one screen

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

Figure 34. After Apply: the sample subtitle is hidden, the hint is shown, Standard remains selected and the illustration uses the chosen opacity.

The full example combines the same operations you have already learned: read the two boxes, read the difficulty group, read the slider, store the values, then change the sample display.

Source table from Combine the small actions into one screen, page 42
ValueStored asEffect in this example
Show subtitlesshow_subtitles, BooleanShow or hide sample_subtitle.
Show hintsshow_hints, BooleanShow or hide sample_hint.
Difficultydifficulty_mode, StringReport the stable mode ID in the result text.
Illustration opacityart_opacity, NumberSet settings_art opacity after dividing by 100.

You can put the operations in one script, or run the smaller scripts in order from an Action List. For the latter, choose Action List on the Apply Button and add the shared script-running actions for each prepared script.

Test each piece before combining it. If the slider script works alone but the whole screen does not, check the IDs and event order instead of changing the artwork.

Page 42 of 52Permalink
Go to page