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

FollowTarget

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

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:3469

The target’s network id.


kind: "player" | "npc"

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

Which replicated entity the id identifies.


name: string

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

Player nickname or NPC name.


position: Vector3

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

Current native body position, in world-space metres.