getMarkerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
m (links)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the type of a given marker. |= Description
| Returns the type of a given marker. See [[cfgMarkers]] for a list of standard markers. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 16:
|p1= markerName: [[String]]  |= Parameter 1
|p1= markerName: [[String]]  |= Parameter 1


| [[String]]
| [[String]]. See [[cfgMarkers]].
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 ""|= Return value
If the marker does not exist, the returned type is an empty string, ie ""|= Return value
Line 29: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setMarkerType]] |= See also
| [[markerType]], [[setMarkerType]], [[setMarkerTypeLocal]] |= See also


}}
}}

Revision as of 15:59, 13 June 2009

Hover & click on the images for description

Description

Description:
Returns the type of a given marker. See cfgMarkers for a list of standard markers.
Groups:
Uncategorised

Syntax

Syntax:
String = getMarkerType markerName
Parameters:
markerName: String
Return Value:
String. See cfgMarkers. 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:
markerTypesetMarkerTypesetMarkerTypeLocal

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