getMarkerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Markers |=GROUP1 ")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| ofp |Game name=
| ofp


|1.21|Game version=
|1.21


|gr1 = Markers |=GROUP1
|gr1= Markers
 
 
____________________________________________________________________________________________


| Returns marker color for given marker.
| Returns marker color for given marker.
{{Informative | This command is identical to [[markerColor]].}} |DESCRIPTION=
{{Feature | Informative | This command is identical to [[markerColor]].}}
____________________________________________________________________________________________


| [[getMarkerColor]] markerName |SYNTAX=
| [[getMarkerColor]] markerName


|p1= markerName: [[String]] - marker name |PARAMETER1=
|p1= markerName: [[String]] - marker name


| [[String]]|RETURNVALUE=
| [[String]]
____________________________________________________________________________________________


|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>
____________________________________________________________________________________________


| [[setMarkerColor]], [[setMarkerColorLocal]] |SEEALSO=
|seealso= [[setMarkerColor]], [[setMarkerColorLocal]]
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]]
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Markers|{{uc:{{PAGENAME}}}}]]

Revision as of 13:46, 11 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Markers

Syntax

Syntax:
Syntax needed
Parameters:
markerName: String - marker name
Return Value:
Return value needed

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