Skip to reading
Replace the Built-in Screens

Stage changes on an Options 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
SYSTEM INTERFACE REPLACEMENTS                                                                   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                                                             System interface replacements   /   87
Page 87 of 88Permalink
Go to page