getMarkerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
(format)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[String]] <nowiki>=</nowiki> '''getMarkerColor''' markerName |= Syntax
| '''getMarkerColor''' markerName |= Syntax


|p1= markerName: [[String]] - marker name |= Parameter 1
|p1= markerName: [[String]] - marker name |= Parameter 1


| [[String]]
| [[String]]|= Return value
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. |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>"MarkerOne" setMarkerColor "ColorBlack"
|x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack";
 
_color = [[getMarkerColor]] "MarkerOne"; //returns "ColorBlack"</code> |= Example 1
_color = getMarkerColor "MarkerOne"</pre>
 
returns "ColorBlack" |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:19, 6 August 2016

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Uncategorised

Syntax

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

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

Examples

Example 1:
"MarkerOne" setMarkerColor "ColorBlack"; _color = getMarkerColor "MarkerOne"; //returns "ColorBlack"

Additional Information

See also:
String

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