markerColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofp |Game name= | | ofp |Game name= | ||
Line 9: | Line 8: | ||
| Returns marker color for given marker. See also [[setMarkerColor]]. |DESCRIPTION= | | Returns marker color for given marker. See also [[setMarkerColor]]. |DESCRIPTION= | ||
| [[markerColor]] markerName |SYNTAX= | | [[markerColor]] markerName |SYNTAX= | ||
Line 19: | Line 16: | ||
| [[String]] |RETURNVALUE= | | [[String]] |RETURNVALUE= | ||
|x1= <code>[[if]] ([[markerColor]] "Marker1" == "ColorRed") [[then]] { [[hint]] "Marker1 is red!" };</code> |EXAMPLE1= | |x1= <code>[[if]] ([[markerColor]] "Marker1" == "ColorRed") [[then]] { [[hint]] "Marker1 is red!" };</code> |EXAMPLE1= | ||
| [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO= | | [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO= |
Revision as of 01:56, 17 January 2021
Description
- Description:
- Returns marker color for given marker. See also setMarkerColor.
- Groups:
- Markers
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.46
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Markers
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands