setMarkerTypeLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (move Note into main body - add Select marker)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(45 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
|game1= arma1
|version1= 1.04


|1.04|= Game version
|game2= arma2
|version2= 1.00


|eff= local |= Effects in MP
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| Set marker type. Type may be any of:
|game4= tkoh
* '''"Flag"'''
|version4= 1.00
* '''"Flag1"'''
* '''"Dot"'''
* '''"Destroy"'''
* '''"Start"'''
* '''"End"'''
* '''"Warning"'''
* '''"Join"'''
* '''"Pickup"'''
* '''"Unknown"'''
* '''"Marker"'''
* '''"Arrow"'''
* '''"Empty"'''
* '''"Select"''' (displayed in-game as "Empty")
|= Description
____________________________________________________________________________________________


| markerName '''setMarkerTypeLocal''' "MarkerType" |= Syntax
|game5= arma3
|version5= 0.50


|p1= markerName: [[String]] |= Parameter 1
|gr1= Markers


|p2= MarkerType: [[String]]. As above |= Parameter 2
|eff= local


| [[Nothing]] |= Return value
|descr= Sets marker type locally. Marker type is a class name in [[CfgMarkers]].
____________________________________________________________________________________________
 
|x1= <pre>"MarkerOne" setMarkerTypeLocal "Warning"</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|s1= markerName [[setMarkerTypeLocal]] type


}}
|p1= markerName: [[String]]


<h3 style="display:none">Notes</h3>
|p2= type: [[String]] - see [[CfgMarkers]].
<dl class="command_description">
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on 24 May, 2008</dd>
|r1= [[Nothing]]
<dt class="note">'''[[User:Dr_Eyeball|Dr_Eyeball]]'''</dt><dd class="note">
As of ArmA '''v1.14''', the Warfare mission also provides easy access to the following markers:
* "FireMission"
* "AirTeam"
* "CommandTeam"
* "Headquarters"
* "HeavyTeam"
* "InfantryTeam"
* "LightTeam"
* "Attack"
* "Move"
* "Defend"
* "Vehicle"
* "DestroyedVehicle"
* "RepairVehicle"
* "SalvageVehicle"
* "SupplyVehicle"
* "Town"
* "Camp"
* "Depot"
</dd>


<!-- Note Section END -->
|x1= <sqf>"MarkerOne" setMarkerTypeLocal "Warning";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[CfgMarkers]] [[setMarkerAlpha]] [[setMarkerAlphaLocal]] [[setMarkerBrush]] [[setMarkerBrushLocal]] [[setMarkerColor]] [[setMarkerColorLocal]] [[setMarkerDir]] [[setMarkerDirLocal]] [[setMarkerPos]] [[setMarkerPosLocal]] [[setMarkerShape]] [[setMarkerShapeLocal]] [[setMarkerSize]] [[setMarkerSizeLocal]] [[setMarkerText]] [[setMarkerTextLocal]] [[setMarkerType]] [[markerType]]
[[Category:Scripting Commands|SETMARKERTYPELOCAL]]
}}
[[Category:Scripting Commands ArmA|SETMARKERTYPELOCAL]]
[[Category:Command Group: Markers|SETMARKERTYPELOCAL]]

Latest revision as of 16:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets marker type locally. Marker type is a class name in CfgMarkers.
Groups:
Markers

Syntax

Syntax:
markerName setMarkerTypeLocal type
Parameters:
markerName: String
type: String - see CfgMarkers.
Return Value:
Nothing

Examples

Example 1:
"MarkerOne" setMarkerTypeLocal "Warning";

Additional Information

See also:
CfgMarkers setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType markerType

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