markerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|1.5 " to "| ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 24: Line 24:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on March 17, 2014
<dd class="notedate">Posted on March 17, 2014</dd>
<dt class="note">[[User:Waffle SS.|Waffle SS.]]
<dt class="note">[[User:Waffle SS.|Waffle SS.]]
<dd class="note"> Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set. <code>if (markerType "mark1" != "") then {hint "valid marker"}</code>
<dd class="note"> Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set. <code>if (markerType "mark1" != "") then {hint "valid marker"}</code>

Revision as of 01:59, 30 January 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:
See also needed

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"}