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 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. | <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 01:21, 22 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, 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