markerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 22: Line 22:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on March 17, 2014</dd>
<dd class="notedate">Posted on March 17, 2014</dd>
Line 29: Line 28:
<BR><BR>
<BR><BR>


<!-- Note Section END -->
</dl>
</dl>



Revision as of 01:41, 6 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"}