Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

MapCaptureRequest

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

Where MapCapture.capture points its camera. Every field is optional.

optional extent?: number

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

How many cm of world the image spans edge to edge; 100..200000, default 10000.


optional fog?: boolean

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

Keep height fog and atmosphere. Default false: from above they wash the whole image out.


optional name?: string

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

The PNG’s basename: 1-64 characters of A-Z a-z 0-9 _ -. Default “map”. A later capture with the same name replaces it.


optional size?: number

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

The PNG’s edge in pixels; 64..4096, default 1024. The image is always square.


optional x?: number

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

World X of the image centre, cm. The local player’s when absent.


optional y?: number

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

World Y of the image centre, cm. The local player’s when absent.


optional yaw?: number

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

The world direction, in degrees, the image’s top edge faces. 0, the default, puts +X at the top and +Y on the right.


optional z?: number

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

World Z of the camera, cm. 5000 above the local player when absent.