getMarkerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 46: Line 46:
[[Category:Scripting Commands ArmA|GETMARKERTYPE]]
[[Category:Scripting Commands ArmA|GETMARKERTYPE]]
[[Category:Command Group: Markers|GETMARKERTYPE]]
[[Category:Command Group: Markers|GETMARKERTYPE]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:29, 3 June 2009

Hover & click on the images for description

Description

Description:
Returns the type of a given marker.
Groups:
Uncategorised

Syntax

Syntax:
String = getMarkerType markerName
Parameters:
markerName: String
Return Value:
String - The returned type is one of "Objective", "Flag", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow", "Empty" and "Empty"("Select") If the marker does not exist, the returned type is an empty string, ie ""

Examples

Example 1:
"MarkerOne" setMarkerType "Destroy"

_type = getMarkerType "MarkerOne"
returns "Destroy"

Additional Information

See also:
setMarkerType

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

Notes

Bottom Section