getMarkerType: Difference between revisions
Jump to navigation
Jump to search
(add. ArmA2 classification) |
Dr Eyeball (talk | contribs) 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]]. | ||
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
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.21
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Markers
- Scripting Commands ArmA2