Skip to reading
Lua Scripting

Designer property paths / continued

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

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

Designer property paths / continued#

character.playable [boolean] Whether players may control this character.

character.portraits [array] Authored portrait definitions.

character.role [text] Character role such as npc or player.

character.runSpeed [number] Character running speed in world units per second.

character.scaleFar [number] Far perspective scale percentage.

character.scaleNear [number] Near perspective scale percentage.

character.speechColor [color] Dialogue text color for this character.

character.states [array] Authored animation-state records.

character.switchEnabled [boolean] Whether this playable character appears in switching controls.

character.switchLabel [text] Label shown by character switching UI.

character.switchOrder [integer] Ordering in character switching UI.

character.transitions [array] Authored animation transitions.

character.turnSpeed [number] Character turning speed in degrees per second.

character.useCustomWalkSpeed [boolean] Use this character's authored walk speed.

character.walkSpeed [number] Character walking speed in world units per second.

custom [dictionary] Project-defined custom properties.

description [text] Character description.

enabled [boolean] Whether this character definition is enabled.

hotspot [dictionary] Interaction label, enabled state, and authored verb actions.

hotspot.collisionOffset [vector3] Interaction collision offset.

hotspot.collisionSize [vector3] Interaction collision size.

hotspot.defaultVerb [text] Context mode runs this verb for this object or character, regardless of the selected verb.

hotspot.enabled [boolean] Whether the hotspot accepts interactions.

hotspot.label [text] Fallback interaction label after character.displayName and object.name. This is not the object's primary display name.

hotspot.verbs [dictionary] Actions keyed by authored interaction verb.

id [text · read only] Stable character ID used by scripts and saved games. Rename with the editor so references can be updated.

inventory [array · read only · live] Current live inventory records for this character. Read-only live view; use give/remove inventory actions to change it.

opacity [number] Character opacity from 0 to 1.

pointerFeedback [dictionary] Hover outline, bloom, tint, and cursor feedback.

pointerFeedback.attentionMode [text] Outline, bloom, tint, or combined attention style.

pointerFeedback.bloomColor [color] Pointer bloom effect color.

Page 75 of 133Permalink
Go to page