Difference between revisions of "getMarkerColor"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (template:command argument fix)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[markerColor]]. |= Description
+
| Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[markerColor]]. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''getMarkerColor''' markerName |= Syntax
+
| '''getMarkerColor''' markerName |SYNTAX=
  
|p1= markerName: [[String]] - marker name |= Parameter 1
+
|p1= markerName: [[String]] - marker name |PARAMETER1=
  
| [[String]]|= Return value
+
| [[String]]|RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
 
|x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack";
 
|x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack";
_color = [[getMarkerColor]] "MarkerOne"; //returns "ColorBlack"</code> |= Example 1
+
_color = [[getMarkerColor]] "MarkerOne"; //returns "ColorBlack"</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[setMarkerColor]], [[setMarkerColorLocal]] |= See also
+
| [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO=
  
 
}}
 
}}

Revision as of 15:40, 7 April 2019

Introduced with Operation Flashpoint version 1.211.21Arguments of this scripting command don't have to be local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Returns marker color for given marker. See setMarkerColor.

Note: This function is identical to markerColor.

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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section