markerColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (format) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Get marker | | Get marker color. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[getMarkerColor]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''markerColor''' markerName |= Syntax | ||
|p1= markerName: [[String]] |= Parameter 1 | |p1= markerName: [[String]] |= Parameter 1 | ||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[if]] ( | |x1= <code>[[if]] ([[markerColor]] "Marker1" == "ColorRed") [[then]] {[[hint]] "Marker1 is red!"}</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:16, 6 August 2016
Description
- Description:
- Get marker color. 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