Skip to reading
PCA Script Programming

Designer: Triggers

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

Triggers are a filtered view of scene entities. Event volume and blocking/collision dimensions have different jobs. A trigger does not gain a new collision shape just because a custom key has the same name as a physics setting.

Reference shape: triggers.welcome_trigger.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 Triggers#

play_animation(animation)#

Play an animation state or clip on this object.

Accepts 1 to 1 arguments.

Source table from Designer: Triggers, page 239
Property pathType / accessPurpose and limits
idtext R / DefinitionStable room-entity ID. Rename with the editor so references can be updated.
typetext R / DefinitionTrigger entity kind.
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 239 of 357Permalink
Go to page