Arma 3 Scripting

markerType

  • Global argument
  • Arma 3 v0.50
  • First in Operation Flashpoint
  • Alias of getMarkerType

Command · Markdown · JSON · original wiki page

Description

Gets type of marker. See CfgMarkers for a list of standard markers.

Syntax

markerType markerName

Parameters:

Returns: String - marker class name. See CfgMarkers.

Examples

Example 1

if (markerType "Marker1" == "") then { hint "Marker1 is not an icon!" };

See also

setMarkerType · setMarkerTypeLocal

Community notes

Waffle SS.

Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set.

if (markerType "mark1" != "") then {hint "valid marker"}