markerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>? markerColor "MarkerOne" <nowiki>==</nowiki> "ColorRed" : [[player]] setFace "Marilyn"</code> |= Example 1
|x1= <code>[[if]] ('''markerColor''' "Marker1" == "ColorRed") [[then]] {[[hint]] "Marker1 is red!"}</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:04, 12 April 2014


Hover & click on the images for description

Description

Description:
Get marker colour. See setMarkerColor. Note: This function is identical to getMarkerColor.
Groups:
Uncategorised

Syntax

Syntax:
String = 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