Skip to reading
PCA Script Programming

change_project_property()

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 PDF page

Change Project Property | Action ID: ChangeProjectProperty

Assign a supported project property through a property path.

Source table from change_project_property(), page 219
Option key / fieldMeaning and accepted inputDefault
Property propertyChoose a project property path.Blank
To valueA value of the type required by the selected variable, operation or property.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
change_project_property({"property": "meta.title", "value": "Workshop"})

In use. Change a runtime project option offered by the picker. Match the value type and test whether the relevant manager reads it immediately. This is not an instruction to rewrite the saved editor project file.

change_game_setting()#

Change Game Setting | Action ID: ChangeGameSetting

Assign a supported runtime game setting.

Source table from change_project_property(), page 219
Option key / fieldMeaning and accepted inputDefault
Setting settingChoose a runtime game setting.Blank
To valueA value of the type required by the selected variable, operation or property.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
change_game_setting({"setting": "", "value": true})

In use. Change a control or presentation setting used by a custom options screen. Some systems apply settings when a scene or manager is rebuilt, so confirm the live result instead of assuming every property is reactive.

Page 219 of 357Permalink
Go to page