getMarkerType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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. |= Description
| Returns the type of a given marker. See [[cfgMarkers]] for a list of standard markers. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


| [[String]]. See [[cfgMarkers]].
| [[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 ""|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 23: Line 23:
_type = getMarkerType "MarkerOne"</pre>
_type = getMarkerType "MarkerOne"</pre>


returns "Destroy" |= Example 1
returns "Destroy" |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 15:40, 7 April 2019

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:
cfgMarkersmarkerTypesetMarkerTypesetMarkerTypeLocal

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