getMarkerColor
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.21
Description
- Description:
- Returns the color of a given map marker.
Syntax
- Syntax:
- String = getMarkerColor "MarkerName"
- Parameters:
- MarkerName: String - marker name
- Return Value:
- String - The returned color is one of "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow" and "ColorWhite"
Examples
- Example 1:
"MarkerOne" setMarkerColor "ColorBlack" _color = getMarkerColor "MarkerOne"
returns "ColorBlack"
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- setMarkerColor

