Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectClient APIGenerated

Blips

const Blips: object

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

Map, minimap and compass markers.

clear(): void

Removes every script blip.

void

clearRoute(): boolean

Ends the route, re-tracking the player’s own waypoint if they placed one. False when there was none. Removing the routed blip ends it too.

boolean

hideBaseIcon(hide?): void

HIDEFROMMAP the underlying beacon while tinting.

boolean

void

houseTint(): boolean

Reads the house-tint toggle.

boolean

inArea(key, x, y?, z?): boolean

Is this point inside the circle under this key?

string

number | Vector3Like

number

number

boolean

pulseCircle(key, pulse?): boolean

PulseCircleIcon (true) or FadeInCircleIcon (false).

string

boolean

boolean

remove(key): boolean

Removes the marker or circle under this key.

string

boolean

route(): string | number | null

The routed blip key, or a player’s network id, or null.

string | number | null

setAllPlayerColors(r?, g?, b?, a?): void

Color every tracked blip; no args reverts to house colors.

number

number

number

number

void

setBeaconScale(scale): void

BeaconScale on live mod beacons, which sizes a mission-area circle.

number

void

setBlipScale(scale): void

The size of player blips.

number

void

Use setPlayerBlipScale.

setCircle(key, x, y?, z?, radiusMetres?): boolean

Creates or replaces the search circle under this key. METRES.

string

number | Vector3Like

number

number

number

boolean

setHouseTint(enabled?): boolean

Toggles house-colored player blips (experimental).

boolean

boolean

setIcon(icon?): void

BeaconIcon for new blips; empty lifts it off a live beacon.

string

void

setMarker(key, x, y?, z?, icon?, label?, showOnHud?, showDistance?): boolean

Creates or replaces the world marker under this key.

string

number | Vector3Like

number

number

string

string

boolean

boolean

boolean

setPlayerBlipScale(scale): void

The size of player blips; 1.0 is about twice the game’s own icons.

number

void

setPlayerColor(networkId, r?, g?, b?, a?): void

Per-player blip color (0-1 linear); omit rgb to revert to the house color.

number

number

number

number

number

void

setRoute(target, label?): boolean

Draws the game’s gold mission route to a blip on the map and minimap, replacing this client’s last route. It survives the target being re-shown or respawning; a route to a circle ends at its ring. The player’s own map waypoint still wins the minimap while placed and hands it back when removed. Returns whether the game took it.

string | number

A live marker or circle key, or a tracked player’s network id.

string

The route’s long name.

boolean

setScale(scale): void

BeaconScale on live mod beacons.

number

void

Use setBeaconScale.

setState(state): void

Sets EBeaconState on every mod beacon (4 = DISCOVERED).

number

void

setTrackedPlayers(networkIds): void

The whole set of players with blips; anyone else loses theirs.

number[]

void

setType(type): void

EBeaconType for new markers (24 = FINDLOCATION).

number

void

trackAllPlayers(enabled?): void

Blip every remote player (the default), or only tracked ones.

boolean

void

trackedPlayers(): number[]

Network ids of tracked remote players.

number[]

trackPlayer(networkId, enabled?): void

Whether this player gets a blip; may be set before they spawn.

number

boolean

void

waypoint(): Waypoint | null

The waypoint the local player placed on the game’s map, or null when there is none. waypointChanged reports every change to it.

Waypoint | null