markerType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="note">([^}]*)<code>([^<]*)<\/code>" to "<dd class="note">$1<sqf>$2</sqf>") |
||
Line 47: | Line 47: | ||
<dd class="notedate">Posted on March 17, 2014</dd> | <dd class="notedate">Posted on March 17, 2014</dd> | ||
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt> | <dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt> | ||
<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. <sqf>if (markerType "mark1" != "") then {hint "valid marker"}</sqf> | ||
</dl> | </dl> |
Revision as of 11:57, 13 May 2022
Description
- Description:
- Gets type of marker. See CfgMarkers for a list of standard markers.
- Alias:
- getMarkerType
- Groups:
- Markers
Syntax
- Syntax:
- markerType markerName
- Parameters:
- markerName: String
- Return Value:
- String - Marker class name. See CfgMarkers.
Examples
- Example 1:
Additional Information
- See also:
- setMarkerType setMarkerTypeLocal
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
- 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.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Markers