getMarkerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
No edit summary
Line 36: Line 36:
|r1= [[String]] - Marker class name. See [[CfgMarkers]].
|r1= [[String]] - Marker class name. See [[CfgMarkers]].


|x1= <code>[[if]] ('''getMarkerType''' "Marker1" == "Empty") [[then]] {[[hint]] "Marker1 is not an icon!"}</code>
|x1= <code>[[if]] ('''getMarkerType''' "Marker1" == "") [[then]] {[[hint]] "Marker1 is not an icon!"}</code>


|seealso= [[setMarkerType]] [[setMarkerTypeLocal]] [[markerType]]
|seealso= [[setMarkerType]] [[setMarkerTypeLocal]] [[markerType]]
}}
}}

Revision as of 16:27, 28 June 2021

Hover & click on the images for description

Description

Description:
Gets type of marker. See CfgMarkers for a list of standard markers.
Alias:
markerType
Groups:
Markers

Syntax

Syntax:
getMarkerType markerName
Parameters:
markerName: String
Return Value:
String - Marker class name. See CfgMarkers.

Examples

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

Additional Information

See also:
setMarkerType setMarkerTypeLocal markerType

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