Stage changes on an Options screen
GUI DESIGNER 0.86.4.1 / HOTFIX 1
EDITION UPDATE
Let players move the music slider, see the pending value, and decide whether to keep the setting. A preference draft belongs to the open GUI.
The Preferences button field gives an ordinary Button an apply, cancel or defaults role.
01. Bind the controls
On a slider set the range to 0–1 and step to 0.01. Bind Value option.draft musicVolume, Direction two_way, Convert none. Bind a checkbox’s Checked to option.draft subtitles the same way.
02. Give the buttons their jobs
Select each Button, open General Edit layout and navigation…, scroll to Preferences button and choose apply, cancel or defaults. Remove any duplicate click action that performs the same job. Assign the GUI to the Options system role.
03. Check all three results
Move the slider and choose Cancel. Reopen Options and check that the old value returns. Then change it and Apply. Reopen and check the new value. Defaults stages the project values; press Apply if you want to keep them.
CURRENT AND DRAFT
Use option.current for a caption that displays the active preference. Bind a pending-value caption to option.draft so it moves with the slider before Apply.
PCA 3D ADVENTURE STUDIO GUI Designer / 57
