setMarkerColorLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added new command)
 
m (template:command argument fix)
(17 intermediate revisions by 11 users not shown)
Line 4: Line 4:
| arma |= Game name
| arma |= Game name


|1.04 |= Game version
|1.04|= Game version
 
|arg= global |= Effects in MP
|eff= Local |= Effects in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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"'''
* '''"ColorWhite"'''
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= marker: [[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=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}
Line 49: 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 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:47, 7 April 2019

-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