getMarkerType: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) (global args) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the type of a given marker. See [[cfgMarkers]] for a list of standard markers. |= | | Returns the type of a given marker. See [[cfgMarkers]] for a list of standard markers. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[String]] <nowiki>=</nowiki> '''getMarkerType''' markerName |= | |[[String]] <nowiki>=</nowiki> '''getMarkerType''' markerName |SYNTAX= | ||
|p1= markerName: [[String]] |= | |p1= markerName: [[String]] |PARAMETER1= | ||
| [[String]]. See [[cfgMarkers]]. | | [[String]]. See [[cfgMarkers]]. | ||
If the marker does not exist, the returned type is an empty string, ie ""|= | If the marker does not exist, the returned type is an empty string, ie ""|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
_type = getMarkerType "MarkerOne"</pre> | _type = getMarkerType "MarkerOne"</pre> | ||
returns "Destroy" |= | returns "Destroy" |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[cfgMarkers]], [[markerType]], [[setMarkerType]], [[setMarkerTypeLocal]] |= | | [[cfgMarkers]], [[markerType]], [[setMarkerType]], [[setMarkerTypeLocal]] |SEEALSO= | ||
}} | }} |
Revision as of 15:40, 7 April 2019
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.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Markers
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters