Designer: Characters
On this page
Earlier edition reference / Current 0.86.4.0 property paths > p. 329
These are shared character definitions. A room actor can have a separate character dictionary under an object instance. Model/state changes on the shared definition are not a guarantee of an immediate rebuild of an already loaded actor.
Reference shape: characters.elias.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 Characters#
say(text, portrait_id, voice_asset_id, voice_key)#
Speak dialogue text as this character.
Accepts 1 to 4 arguments.
walk_to(destination)#
Walk this character to an object, character, spawn, Vector2, or Vector3.
Accepts 1 to 1 arguments.
change_room(room, spawn = null)#
Change to a room, optionally at a spawn point.
Accepts 1 to 2 arguments.
This method routes a ChangeScene action for the active game. It is not an NPC-transfer method tied to the receiver. Use Move NPC to Room for an NPC that should move between rooms without changing the active room.
play_animation(animation)#
Play an animation state or clip on this character.
Accepts 1 to 1 arguments.
| Property path | Type / access | Purpose and limits |
|---|---|---|
| id | text R / Definition | Stable character ID used by scripts and saved games. Rename with the editor so references can be updated. |
| character.displayName | text W / Definition | Name used for dialogue and character labels. This authored Character setting is not guaranteed to update an already-created runtime label. |
| character.isPlayer | boolean W / Definition | Whether this is the selected primary player definition. |
