getMarkerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
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

Hover & click on the images for description

Description

Description:
Returns marker color for given marker.
This command is identical to markerColor.
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