markerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 4: Line 4:
|
|


|gr1 = Markers
|gr1= Markers


|arg= global
|arg= global

Revision as of 13:48, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Markers

Syntax

Syntax:
Syntax needed
Parameters:
markerName: String
Return Value:
Return value needed

Examples

Example 1:
if (markerType "Marker1" == "Empty") then {hint "Marker1 is not an icon!"}

Additional Information

See also:
cfgMarkerssetMarkerTypesetMarkerTypeLocal

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
Posted on March 17, 2014
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"}