markerColor: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Update to prefer markerColor) |
||
Line 1: | Line 1: | ||
{{Command|Comments= | |||
{{Command|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1. | |1.46|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns marker color for given marker. See [[setMarkerColor | | Returns marker color for given marker. See also [[setMarkerColor]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[markerColor]] markerName |SYNTAX= | ||
|p1= markerName: [[String]] |PARAMETER1= | |p1= markerName: [[String]] |PARAMETER1= | ||
Line 21: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|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= | ||
}} | }} | ||
Line 36: | Line 31: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command Group: Markers|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:50, 28 August 2019
Description
- Description:
- Returns marker color for given marker. See also setMarkerColor.
- 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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.46
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Markers