Difference between revisions of "setMarkerTypeLocal"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
 
(14 intermediate revisions by 9 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"'''
 
* '''"Dot"'''
 
* '''"Destroy"'''
 
* '''"Start"'''
 
* '''"End"'''
 
* '''"Warning"'''
 
* '''"Join"'''
 
* '''"Pickup"'''
 
* '''"Unknown"'''
 
* '''"Marker"'''
 
* '''"Arrow"'''
 
* '''"Empty"'''
 
* '''"Select"''' (displayed in-game as "Empty")
 
  
Arma V1.14 also:
+
|DESCRIPTION=
* '''"AirTeam"'''
 
* '''"Attack"'''
 
* '''"Camp"'''
 
* '''"CommandTeam"'''
 
* '''"Defend"'''
 
* '''"Depot"'''
 
* '''"DestroyedVehicle"'''
 
* '''"FireMission"'''
 
* '''"Headquaters"'''
 
* '''"HeavyTeam"'''
 
* '''"InfantryTeam"'''
 
* '''"LightTeam"'''
 
* '''"Move"'''
 
* '''"RepairVehicle"'''
 
* '''"SalvageVehicle"'''
 
* '''"SupplyVehicle"'''
 
* '''"Town"'''
 
* '''"Vehicle"'''
 
|= Description
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| markerName '''setMarkerTypeLocal''' type |= Syntax
+
| markerName '''setMarkerTypeLocal''' type |SYNTAX=
  
|p1= markerName: [[String]] |= Parameter 1
+
|p1= markerName: [[String]] |PARAMETER1=
  
|p2= type: [[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 74: 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 Arma 2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15:47, 10 January 2020

Introduced with Armed Assault version 1.041.04
Effects 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. Use the Talk page or the Forums for discussions.

Notes

Bottom Section