Skip to reading
PCA Script Programming

change_character_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 Character Property | Action ID: ChangeCharacterProperty

Change a selected character property in runtime data.

Source table from change_character_property(), page 111
Option key / fieldMeaning and accepted inputDefault
Character characterIdChoose a Character Designer ID; player is a runtime alias where supported.Blank
Property propertyChoose a supported character property.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_character_property({"characterId": "player", "property": "visible", "value": true})

In use. Change a character's display or movement property supported by the picker. Use a value of the right type. A generic property assignment is not guaranteed to rebuild an already loaded model, material or animation setup.

Page 111 of 357Permalink
Go to page