setMarkerTypeLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add Warfare markers as reference)
m (Text replacement - "|= Game version" to "|Game version=")
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma |= Game name
| arma |Game name=


|1.04|= Game version
|1.04|Game version=


|eff= local |= Effects in MP
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set marker type. Type may be any of:
| Sets marker type locally. Marker type is a class name in [[cfgMarkers]].
* '''"Flag"'''
 
* '''"Flag1"'''
|DESCRIPTION=
* '''"Dot"'''
* '''"Destroy"'''
* '''"Start"'''
* '''"End"'''
* '''"Warning"'''
* '''"Join"'''
* '''"Pickup"'''
* '''"Unknown"'''
* '''"Marker"'''
* '''"Arrow"'''
* '''"Empty"'''
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| markerName '''setMarkerTypeLocal''' "MarkerType" |= Syntax
| markerName '''setMarkerTypeLocal''' type |SYNTAX=


|p1= markerName: [[String]] |= Parameter 1
|p1= markerName: [[String]] |PARAMETER1=


|p2= MarkerType: [[String]]. As above |= Parameter 2
|p2= type: [[String]]. See [[cfgMarkers]]. |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>"MarkerOne" setMarkerTypeLocal "Warning"</pre> |= Example 1
|x1= <code>"MarkerOne" [[setMarkerTypeLocal]] "Warning";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[cfgMarkers]], [[setMarkerAlpha]], [[setMarkerAlphaLocal]], [[setMarkerBrush]], [[setMarkerBrushLocal]], [[setMarkerColor]], [[setMarkerColorLocal]], [[setMarkerDir]], [[setMarkerDirLocal]], [[setMarkerPos]], [[setMarkerPosLocal]], [[setMarkerShape]], [[setMarkerShapeLocal]], [[setMarkerSize]], [[setMarkerSizeLocal]], [[setMarkerText]], [[setMarkerTextLocal]], [[setMarkerType]], [[markerType]] |SEEALSO=


}}
}}
Line 45: Line 33:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 16 Mar, 2008</dd>
<dt class="note">'''[[User:Dr_Eyeball|Dr_Eyeball]]'''</dt><dd class="note">
Add '''"Select"''' to list of markers above. See [[setMarkerType]].
</dd>
<dd class="notedate">Posted on 24 May, 2008</dd>
<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 -->
<!-- Note Section END -->
Line 81: Line 41:
[[Category:Scripting Commands ArmA|SETMARKERTYPELOCAL]]
[[Category:Scripting Commands ArmA|SETMARKERTYPELOCAL]]
[[Category:Command Group: Markers|SETMARKERTYPELOCAL]]
[[Category:Command Group: Markers|SETMARKERTYPELOCAL]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 19:57, 1 September 2019

-wrong parameter ("Arma") defined!-1.04
Hover & click on the images for description

Description

Description:
Sets marker type locally. Marker type is a class name in cfgMarkers.
Groups:
Uncategorised

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:
cfgMarkerssetMarkerAlphasetMarkerAlphaLocalsetMarkerBrushsetMarkerBrushLocalsetMarkerColorsetMarkerColorLocalsetMarkerDirsetMarkerDirLocalsetMarkerPossetMarkerPosLocalsetMarkerShapesetMarkerShapeLocalsetMarkerSizesetMarkerSizeLocalsetMarkerTextsetMarkerTextLocalsetMarkerTypemarkerType

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

Bottom Section