Skip to content
FMFallout Multiplayer Scripting APIScripting guides and API
Global objectClient APIGenerated

Markers

const Markers: object

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

Markers on the local player’s HUD compass and Pip-Boy map, drawn by the game’s own widgets. Only this client sees them; they go when the resource that made them stops.

clear(): void

Removes every marker this resource made.

void

create(options): number

Adds a marker and returns its ID, or 0 while the local player is in no cell. The compass shows it once placed, a frame or so later; the map from its next refresh, which every Pip-Boy value change brings.

Where, in world units of the worldspace or interior the local player is in now; the marker shows only while the player is there. label: the map’s tooltip. compass and map: where it shows, both by default. kind: the icon, “quest” by default; “custom” is the player’s own map marker, “powerArmor” the power armor one.

boolean

"quest" | "custom" | "powerArmor"

string

boolean

number

number

number

number

remove(id): boolean

Removes a marker. False for an unknown ID.

number

The marker’s ID.

boolean

setPosition(id, x, y, z): boolean

Moves a marker. False for an unknown ID.

number

The marker’s ID.

number

World units.

number

World units.

number

World units.

boolean