Skip to reading
GDScript Programming & Godot

CharacterWalkWaypoints()

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

Character Waypoints: Walk Queue

Run the queued waypoint route for a character.

Source table from CharacterWalkWaypoints(), page 113
Option key / fieldMeaning and inputDefault
Character characterIdChoose a Character Designer ID; player is a runtime alias where supported.Blank
Speed speedMovement speed; 0 uses the normal movement speed where supported.0

Timing. Runs the queued movement route.

Code example
await CharacterWalkWaypoints({"characterId": "player", "speed": 0})

In use. After clearing and adding the patrol markers, choose Elias and start the queue. Building the queue and walking it are separate steps. A blocked marker can prevent the intended route from completing.

Page 113 of 378Permalink
Go to page