getMarkerColor

From Bohemia Interactive Community
Revision as of 19:17, 6 August 2016 by Killzone Kid (talk | contribs) (format)
Jump to navigation Jump to search
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