markerType

From Bohemia Interactive Community
Revision as of 00:43, 18 March 2014 by Waffle SS. (talk | contribs)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
Get type of marker. Note: This function is identical to getMarkerType. See cfgMarkers for a list of standard markers.
Groups:
Uncategorised

Syntax

Syntax:
String = markerType markerName
Parameters:
markerName: String
Return Value:
String. See cfgMarkers.

Examples

Example 1:
? markerType "MarkerOne" == "Dot" : "MarkerOne" setMarkerType "Arrow"

Additional Information

See also:
cfgMarkersgetMarkerTypesetMarkerTypesetMarkerTypeLocal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on March 17, 2014
Waffle SS.
Using markerType is a good method to determine if a string is a valid marker name. if (markerType "mark1" != "") then {hint "valid marker"}

Bottom Section