Difference between revisions of "getMarkerColor"

From Bohemia Interactive Community
Jump to navigation Jump to search
(global args)
(format)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns the color of a given map marker. |= Description
+
| | Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[markerColor]]. |= Description |= Description
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 25: Line 25:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[setMarkerColor]] |= See also
+
| [[setMarkerColor]], [[setMarkerColorLocal]] |= See also
  
 
}}
 
}}

Revision as of 19:17, 6 August 2016

Introduced with Operation Flashpoint version 1.211.21Arguments of this scripting command don't have to be local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:

Syntax

Syntax:
Returns marker color for given marker. See setMarkerColor.

Note: This function is identical to markerColor.
Parameters:
markerName: String - marker name
Return Value:
String = getMarkerColor markerName

Examples

Example 1:
"MarkerOne" setMarkerColor "ColorBlack"

_color = getMarkerColor "MarkerOne"
returns "ColorBlack"

Additional Information

See also:
String - The returned color is one of "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow" and "ColorWhite". If the marker does not exists a empty string will be returned.

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