markerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "|1.5 " to "| ")
Line 2: Line 2:


| ofp
| ofp
|1.5
|


|gr1 = Markers
|gr1 = Markers

Revision as of 14:18, 25 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"}