ClearCharacterWaypoints()
Character Waypoints: Clear Queue
Empty a character's queued destinations.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await ClearCharacterWaypoints({"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.
AddCharacterWaypoint()#
Character Waypoints: Add Waypoint
Append one destination to a character's waypoint queue.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Character characterId | Choose a Character Designer ID; player is a runtime alias where supported. | Blank |
| Waypoint Room sceneId | Choose a scene ID. | Blank |
| Waypoint / Object (optional) waypointId | Choose an entity in the selected scene. May be blank. | Blank |
| XYZ when no waypoint position | Destination/placement coordinates as [X, Y, Z]. | [0.0, 0.0, 0.0] |
| Ignore Navigation Mesh ignoreNavigation | Use the direct route instead of following normal navigation constraints. | false |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await AddCharacterWaypoint({"characterId": "player", "sceneId": "lab", "waypointId": ""})In use. Add three named markers around the room, then call Character Walk Waypoints. Ignore Navigation permits a direct route; keep it off for ordinary floor walking so obstacles and walkable areas remain meaningful.
