Skip to reading
PCA Script Programming

change_object_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 Object Property | Action ID: ChangeObjectProperty

Assign a property on an object's runtime record.

Source table from change_object_property(), page 121
Option key / fieldMeaning and accepted inputDefault
Scene sceneIdChoose a scene ID.Blank
Object entityIdChoose an entity in the selected scene.Blank
Property propertyChoose a supported object 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_object_property({"sceneId": "lab", "entityId": "archive_door", "property": "visible"})

In use. Change a supported property such as a display field or simple state value. Dedicated visibility, animation and effect actions are preferable when they exist: a generic record edit may not rebuild the corresponding live visual resource.

Page 121 of 357Permalink
Go to page