Arma 3 Scripting

setMarkerType

  • Global effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

Sets marker type. Marker type is a class name from CfgMarkers.

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 setMarkerType type

Parameters:

Returns: Nothing

Examples

Example 1

"MarkerOne" setMarkerType "Warning";

See also

CfgMarkers · setMarkerDrawPriority · setMarkerTypeLocal · markerType · setMarkerAlphaLocal · setMarkerBrush · setMarkerColor · setMarkerDir · setMarkerPos · setMarkerShape · setMarkerSize · setMarkerText · createMarker