Arma 3 Scripting

Command in Markers

setMarkerText

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the text label of an existing marker.

Note

Multiplayer optimisation: Global marker commands always broadcast the entire marker state over the network. As such, the number of network messages exchanged when creating or editing a marker can be reduced by performing all but the last operation using local marker commands, then using a global marker command for the last change (and subsequent global broadcast of all changes applied to the marker).

Syntax

markerName setMarkerText text

Parameters:

Returns: Nothing

Examples

Example 1

"Marker1" setMarkerText "You are here.";

See also

setMarkerBrush · setMarkerColor · setMarkerDir · setMarkerPos · setMarkerShape · setMarkerSize · setMarkerType · setMarkerAlpha