getMarkerColor: 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. | | Returns marker color for given marker. | ||
{{Informative | This command is identical to [[markerColor]].}} |DESCRIPTION= | {{Informative | This command is identical to [[markerColor]].}} |DESCRIPTION= | ||
| [[getMarkerColor]] markerName |SYNTAX= | | [[getMarkerColor]] markerName |SYNTAX= | ||
Line 20: | Line 17: | ||
| [[String]]|RETURNVALUE= | | [[String]]|RETURNVALUE= | ||
|x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack"; | |x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack"; | ||
_color = [[getMarkerColor]] "MarkerOne"; {{codecomment|// returns "ColorBlack"}}</code> |EXAMPLE1= | _color = [[getMarkerColor]] "MarkerOne"; {{codecomment|// returns "ColorBlack"}}</code> |EXAMPLE1= | ||
| [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO= | | [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO= |
Revision as of 01:22, 17 January 2021
Description
- Description:
- Returns marker color for given marker.
- Groups:
- Markers
Syntax
- Syntax:
- getMarkerColor markerName
- Parameters:
- markerName: String - marker name
- Return Value:
- String
Examples
- Example 1:
"MarkerOne" setMarkerColor "ColorBlack"; _color = getMarkerColor "MarkerOne"; // returns "ColorBlack"
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.21
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Markers
- Scripting Commands OFP 1.46
- 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