getMarkerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 40: Line 40:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|GETMARKERCOLOR]]
[[Category:Scripting Commands|GETMARKERCOLOR]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|GETMARKERCOLOR]]
[[Category:Scripting Commands OFP 1.96|GETMARKERCOLOR]]
[[Category:Scripting Commands OFP 1.46|GETMARKERCOLOR]]
[[Category:Scripting Commands OFP 1.46|GETMARKERCOLOR]]

Revision as of 10:16, 25 September 2014

Hover & click on the images for description

Description

Description:
Returns the color of a given map marker.
Groups:
Uncategorised

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

See also:
setMarkerColor

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