Skip to reading
PCA Script Programming

Designer: Objects

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
On this page

Earlier edition reference / Current 0.86.4.0 property paths > p. 329

Objects include placed models, primitives, characters, effects and other scene entity kinds. A property shown here may only be useful on the matching kind. The nested character entries apply to character actors, not every door or light.

Reference shape: objects.archive_door.property_path.

The example ID is illustrative. Choose an existing record in your own project; direct camera, spawn and objective lookups must be unambiguous.

Methods on Objects#

play_animation(animation)#

Play an animation state or clip on this object.

Accepts 1 to 1 arguments.

Source table from Designer: Objects, page 229
Property pathType / accessPurpose and limits
idtext R / DefinitionStable room-entity ID. Rename with the editor so references can be updated.
typetext R / DefinitionEntity kind used by PCA3D.
nametext W / DefinitionPrimary object display name. Character objects use character.displayName first. Hover precedence is character.displayName, then name, then hotspot.label, then the stable ID. Objects do not have generic displayName or displayColor properties.
descriptiontext W / DefinitionObject description.
assetIdrecord W / DefinitionModel, sprite, or other source asset. Reference kind: assets. Saved to the record; a loaded object may need to be recreated for asset changes.
foldertext W / DefinitionEditor organization folder.
enabledboolean W / LiveWhether this object can update and interact.
visibleboolean W / LiveWhether this object is visible.
opacitynumber W / DefinitionObject opacity from 0 to 1.
lockedboolean W / DefinitionWhether editor manipulation is locked.
Page 229 of 357Permalink
Go to page