NpcMoveOptions
Defined in: shared.d.ts:247
An NPC’s path options. Its family’s own gaits: walk is its calm wander, jog its combat move, sprint that move at 1.3 times.
Extends
Section titled “Extends”Properties
Section titled “Properties”
optionalgait?:MoveGait
Defined in: shared.d.ts:555
Default gait for legs whose waypoint names none; “walk” when omitted.
Inherited from
Section titled “Inherited from”
optionalloop?:MoveLoop
Defined in: shared.d.ts:557
Default “once”.
Inherited from
Section titled “Inherited from”radius?
Section titled “radius?”
optionalradius?:number
Defined in: shared.d.ts:249
How near a point counts as reached, in cm, 0..5000; default the game’s own (about 50).
speedScale?
Section titled “speedScale?”
optionalspeedScale?:number
Defined in: shared.d.ts:251
The game’s own speed scale for every leg, 0.25..3; default 1. Jog and sprint follow it; the calm walk keeps its stride.
optionalthen?:NpcIdle
Defined in: shared.d.ts:253
The idle a “once” path ends in, at its last point; it becomes npc.idle and the point npc.home. Default “stand”.