getMarkerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 36: Line 36:
|r1= [[String]] - Marker class name. See [[CfgMarkers]].
|r1= [[String]] - Marker class name. See [[CfgMarkers]].


|x1= <code>[[if]] ('''getMarkerType''' "Marker1" == "") [[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 12:03, 12 May 2022

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