markerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(format)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Get marker colour. See [[setMarkerColor]]. Note: This function is identical to [[getMarkerColor]]. |= Description
| Get marker color. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[getMarkerColor]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= markerName: [[String]] |= Parameter 1
|p1= markerName: [[String]] |= Parameter 1
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[if]] ('''markerColor''' "Marker1" == "ColorRed") [[then]] {[[hint]] "Marker1 is red!"}</code> |= Example 1
|x1= <code>[[if]] ([[markerColor]] "Marker1" == "ColorRed") [[then]] {[[hint]] "Marker1 is red!"}</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:16, 6 August 2016


Hover & click on the images for description

Description

Description:
Get marker color. See setMarkerColor.

Note: This function is identical to getMarkerColor.
Groups:
Uncategorised

Syntax

Syntax:
markerColor markerName
Parameters:
markerName: String
Return Value:
String

Examples

Example 1:
if (markerColor "Marker1" == "ColorRed") then {hint "Marker1 is red!"}

Additional Information

See also:
setMarkerColorsetMarkerColorLocal

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