Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

CharacterFollowOptions

Defined in: shared.d.ts:608

How character.follow() walks after its target.

optional distanceCm?: number

Defined in: shared.d.ts:614

cm, 100..3000, default 200: it rests inside this distance and walks again once the target pulls 100 cm past it.


optional gait?: MoveGait

Defined in: shared.d.ts:610

Default “walk” (150 cm/s, just under a walking player). A faster gait closes up and stands until the target pulls ahead again.


optional ground?: "path" | "snap"

Defined in: shared.d.ts:620

As CharacterMoveOptions.ground.


optional speed?: number

Defined in: shared.d.ts:612

cm/s, 20..1000; overrides gait.


optional teleportBeyond?: number

Defined in: shared.d.ts:618

Metres; use teleportBeyondCm.


optional teleportBeyondCm?: number

Defined in: shared.d.ts:616

cm behind the target past which the server puts the character beside it; 0 never. Default 6000. Wins over teleportBeyond.


optional turnRate?: number

Defined in: shared.d.ts:622

Degrees per second, 1..3600, default 270.