setMarkerColorLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
(37 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma |= Game name
| arma1


|1.04|= Game version
|1.04


|eff= local |= Effects in MP
|gr1= Markers
____________________________________________________________________________________________


| Set marker color. Color is one of:
|arg= global
* '''"Default"'''
* '''"ColorBlack"'''
* '''"ColorRed"'''
* '''"ColorRedAlpha"'''
* '''"ColorGreen"'''
* '''"ColorGreenAlpha"'''
* '''"ColorBlue"'''
* '''"ColorYellow"'''
* '''"ColorWhite"'''
|= Description
____________________________________________________________________________________________


| markerName '''setMarkerColorLocal''' color |= Syntax
|eff= local


|p1= markerName: [[String]] |= Parameter 1
|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]]


|p2= color: [[String]] |= Parameter 2
| markerName '''setMarkerColorLocal''' color


| [[Nothing]] |= Return value
|p1= markerName: [[String]]
____________________________________________________________________________________________
 
|p2= color: [[String]]
 
| [[Nothing]]
   
   
|x1= <pre>"MarkerOne" setMarkerColorLocal "ColorBlack"</pre> |= Example 1
|x1= <code>"MarkerOne" [[setMarkerColorLocal]] "ColorBlack";</code>
____________________________________________________________________________________________
 
|  |= See also


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


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands|SETMARKERCOLORLOCAL]]
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands ArmA|SETMARKERCOLORLOCAL]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Command Group: Markers|SETMARKERCOLORLOCAL]]
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 13:46, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Markers

Syntax

Syntax:
Syntax needed
Parameters:
markerName: String
color: String
Return Value:
Return value needed

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