markerType: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Waffle SS. (talk | contribs) No edit summary |
||
Line 31: | Line 31: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on March 17, 2014 | |||
<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. | |||
<code>if (markerType != "") then {hint "valid marker"}</code> | |||
<BR><BR> | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 00:43, 18 March 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
- Example 1:
? markerType "MarkerOne" == "Dot" : "MarkerOne" setMarkerType "Arrow"
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.
if (markerType != "") 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