Difference between revisions of "setMarkerTypeLocal"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (move Note into main body - add Select marker)
m (Text replacement - "|= Game version" to "|Game version=")
(15 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"'''
 
* '''"Select"''' (displayed in-game as "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 46: Line 33:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
 
<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 77: 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

Introduced with Armed Assault version 1.041.04Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on
Hover & click on the images for descriptions

Description

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

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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section