getMarkerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add information on non-existent markers)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[String]] <nowiki>=</nowiki>  '''getMarkerType''' "MarkerName"|= Syntax
|[[String]] <nowiki>=</nowiki>  '''getMarkerType''' markerName |= Syntax


|p1= MarkerName: [[String]]  |= Parameter 1
|p1= markerName: [[String]]  |= Parameter 1


| [[String]] -   
| [[String]] -   

Revision as of 01:09, 23 January 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