setpath

From Arx Libertatis Wiki
Revision as of 11:00, 17 June 2022 by Ds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The setpath script command is used to start or stop following a path for an entity. Paths are named sequences of timed positions with linear or smooth interpolation defined in a level. Movement along the path can be paused or reversed with the usepath command.

Usage

setpath [-wf] <path>
setpath none

Context: Any Entity

Flags:

 -w: Turn NPCs to face the path direction - ignored for other entities
 -f: Ignored

Parameters:

ParameterTypeDescription
path string Name of the path to follow