setMarkerColorLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add colorOrange)
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(18 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=
 
|arg= global |Multiplayer Arguments=
|eff= local |= Effects in MP
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set marker color. Color is one of:  
|Sets marker color for the given marker locally. Marker color names and their corresponding RGBA values for Arma 3 could be found in here: [[CfgMarkerColors_Arma_3]]|DESCRIPTION=
* '''"Default"'''
* '''"ColorBlack"'''
* '''"ColorRed"'''
* '''"ColorRedAlpha"'''
* '''"ColorGreen"'''
* '''"ColorGreenAlpha"'''
* '''"ColorBlue"'''
* '''"ColorYellow"'''
* '''"ColorOrange"''' (Arma 2 only)
* '''"ColorWhite"'''
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| markerName '''setMarkerColorLocal''' color |= Syntax
| markerName '''setMarkerColorLocal''' color |SYNTAX=


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


|p2= color: [[String]] |= Parameter 2
|p2= color: [[String]] |PARAMETER2=


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


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


}}
}}
Line 50: Line 39:
[[Category:Scripting Commands ArmA|SETMARKERCOLORLOCAL]]
[[Category:Scripting Commands ArmA|SETMARKERCOLORLOCAL]]
[[Category:Command Group: Markers|SETMARKERCOLORLOCAL]]
[[Category:Command Group: Markers|SETMARKERCOLORLOCAL]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 17:01, 6 April 2020

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

Description

Description:
Sets marker color for the given marker locally. Marker color names and their corresponding RGBA values for Arma 3 could be found in here: CfgMarkerColors_Arma_3
Groups:
Uncategorised

Syntax

Syntax:
markerName setMarkerColorLocal color
Parameters:
markerName: String
color: String
Return Value:
Nothing

Examples

Example 1:
"MarkerOne" setMarkerColorLocal "ColorBlack";

Additional Information

See also:
markerColorgetMarkerColorsetMarkerAlphasetMarkerAlphaLocalsetMarkerBrushsetMarkerBrushLocalsetMarkerColorsetMarkerDirsetMarkerDirLocalsetMarkerPossetMarkerPosLocalsetMarkerShapesetMarkerShapeLocalsetMarkerSizesetMarkerSizeLocalsetMarkerTextsetMarkerTextLocalsetMarkerTypesetMarkerTypeLocal

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