{"name":"markerType","title":"markerType","type":"command","url":"https://community.bistudio.com/wiki/markerType","revid":379451,"updated":"2026-10-31T00:08:16Z","groups":["Markers"],"status":"ok","games":{"ofp":null,"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp","arma3_since":"0.50","locality":{"argument":"global"},"description":"Gets type of marker. See CfgMarkers for a list of standard markers.","syntaxes":[{"syntax":"markerType markerName","params":[{"name":"markerName","type":"String","type_expr":"String"}],"returns":{"type":"String","type_expr":"String","description":"marker class name. See CfgMarkers."},"form":"unary","right":{"text":"markerName"}}],"examples":[{"code":["if (markerType \"Marker1\" == \"\") then { hint \"Marker1 is not an icon!\" };"]}],"aliases":["getMarkerType"],"see_also":["setMarkerType","setMarkerTypeLocal"],"notes":[{"user":"Waffle SS.","date":"2014-03-17T00:00:00Z","text":"Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set.\n\n```sqf\nif (markerType \"mark1\" != \"\") then {hint \"valid marker\"}\n```"}]}