Skip to reading
PCA Script Programming

clear_character_waypoints()

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: Clear Queue | Action ID: ClearCharacterWaypoints

Empty a character's queued destinations.

Source table from clear_character_waypoints(), page 101
Option key / fieldMeaning and accepted inputDefault
Character characterIdChoose a Character Designer ID; player is a runtime alias where supported.Blank

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
clear_character_waypoints({"characterId": "player"})

In use. Clear an NPC's old patrol before adding a new route. This edits the queue, rather than providing a visible destination or starting a new walk by itself.

Page 101 of 357Permalink
Go to page