Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeClient APIGenerated

FollowTarget

Defined in: client/api.d.ts:3725

A streamed player or human NPC. Its network identity is resolved again when follow starts; position and name are snapshots.

id: number

Defined in: client/api.d.ts:3729

The target’s network id.


kind: "player" | "npc"

Defined in: client/api.d.ts:3734

Which replicated entity the id identifies.


name: string

Defined in: client/api.d.ts:3739

Player nickname or NPC name.


position: Vector3

Defined in: client/api.d.ts:3744

Current native body position, in world-space metres.