Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

LevelObjectsNearOptions

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

Where LevelObjects.near looks and what it keeps.

optional center?: Vec3

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

Where to measure from. Default: the local player.


optional hidden?: boolean

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

true keeps only what the server hides on this client, false only what shows. Default: both.


optional instances?: boolean

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

Also list each instance of an instanced mesh (one chair of a row) under its own key. Default false.


optional limit?: number

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

At most this many, nearest first: 1 to 500. Default 100.


optional radius?: number

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

Centimetres, up to 20000. Default 1000. Measured to the nearest point of an actor’s bounds (0 inside them), or an instance’s origin.


optional visible?: boolean

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

true keeps only what drew on screen in the last quarter second (in view and not hidden behind something), false only what did not. An instance counts as on screen when any instance of its mesh drew. Default: both.