markerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[getMarkerColor]]. |= Description
| Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[getMarkerColor]]. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''markerColor''' markerName |= Syntax
| '''markerColor''' markerName |SYNTAX=


|p1= markerName: [[String]] |= Parameter 1
|p1= markerName: [[String]] |PARAMETER1=


| [[String]] |= Return value
| [[String]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|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> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setMarkerColor]], [[setMarkerColorLocal]] |= See also
| [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO=


}}
}}

Revision as of 15:43, 7 April 2019


Hover & click on the images for description

Description

Description:
Returns marker color for given marker. 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