markerColor: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) 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]]. |= | | Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[getMarkerColor]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''markerColor''' markerName |= | | '''markerColor''' markerName |SYNTAX= | ||
|p1= markerName: [[String]] |= | |p1= markerName: [[String]] |PARAMETER1= | ||
| [[String]] |= | | [[String]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[if]] ([[markerColor]] "Marker1" == "ColorRed") [[then]] {[[hint]] "Marker1 is red!"}</code> |= | |x1= <code>[[if]] ([[markerColor]] "Marker1" == "ColorRed") [[then]] {[[hint]] "Marker1 is red!"}</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setMarkerColor]], [[setMarkerColorLocal]] |= | | [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO= | ||
}} | }} |
Revision as of 14:43, 7 April 2019
Description
- Description:
- Returns marker color for given marker. See setMarkerColor.
Note: This function is identical to getMarkerColor. - Groups:
- Uncategorised
Syntax
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
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: Markers
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters