Paths, following and record methods
Earlier edition reference / Current 0.86.4.0 property paths > p. 329
The parser also supports the following readable movement patterns. A marker can be a valid object/spawn reference or a suitable vector position. Use the catalog action functions when you need every optional movement setting.
| Pattern | Meaning |
|---|---|
| player walks to archive_door | Navigate to an object/character target. |
| move elias to vector3(2, 0, -1) | Move/teleport to a position; not a navigated walk. |
| player walks through marker1, marker2 | Walk a specified path of targets. |
| add waypoint marker1 to player | Queue a waypoint. |
| clear waypoints for player | Clear that actor’s queued waypoints. |
| player walks waypoints | Walk the queued route. |
| elias follows player | Start character following. |
| elias stops following | Stop character following. |
| wait until elias animation ends | Wait for a finite animation to complete. |
The direct method API consists of say, walk_to, change_room and play_animation on character references; objects/triggers expose play_animation. This is the complete direct record-method list for this PCA build, not a subset of a larger Godot Node API.
function run()
characters.elias.say("Follow me.")
characters.elias.walk_to(objects.archive_door)
characters.elias.play_animation("nod")
endchange_room routes the active game’s ChangeScene action. To move an NPC to another room while play stays where it is, use move_npc_to_room. It is unsafe to infer NPC-transfer behavior just from calling the method on an NPC reference.
