markerType: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) No edit summary |
Waffle SS. (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>[[if]] ('''markerType''' "Marker1" == "Empty") [[then]] {[[hint]] "Marker1 is not an icon!"}</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[cfgMarkers | | [[cfgMarkers]], [[setMarkerType]], [[setMarkerTypeLocal]] |= See also | ||
}} | }} | ||
Line 34: | Line 34: | ||
<dd class="notedate">Posted on March 17, 2014 | <dd class="notedate">Posted on March 17, 2014 | ||
<dt class="note">'''[[User:Waffle SS.|Waffle SS.]]''' | <dt class="note">'''[[User:Waffle SS.|Waffle SS.]]''' | ||
<dd class="note"> Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set. | <dd class="note"> Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set. <code>if (markerType "mark1" != "") then {hint "valid marker"}</code> | ||
<code>if (markerType "mark1" != "") then {hint "valid marker"}</code> | |||
<BR><BR> | <BR><BR> | ||
Revision as of 21:11, 12 April 2014
Description
- Description:
- Get type of marker. Note: This function is identical to getMarkerType. See cfgMarkers for a list of standard markers.
- Groups:
- Uncategorised
Syntax
- Syntax:
- String = markerType markerName
- Parameters:
- markerName: String
- Return Value:
- String. See cfgMarkers.
Examples
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
- Posted on March 17, 2014
- Waffle SS.
- Using markerType is a good method to determine if a string is a valid marker name, unless the marker type isn't set.
if (markerType "mark1" != "") then {hint "valid marker"}
Bottom Section
Categories:
- Scripting Commands
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: Markers
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters