getMarkerColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
| ofp
|1.21|= Game version
|arg= global |= Arguments in MP
____________________________________________________________________________________________


| Returns marker color for given marker. See [[setMarkerColor]]. <br><br>Note: This function is identical to [[markerColor]]. |= Description
|1.21
____________________________________________________________________________________________


| '''getMarkerColor''' markerName |= Syntax
|gr1= Markers


|p1= markerName: [[String]] - marker name |= Parameter 1
| Returns marker color for given marker.
{{Feature | Informative | This command is identical to [[markerColor]].}}


| [[String]]|= Return value
| [[getMarkerColor]] markerName
____________________________________________________________________________________________
 
|x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack";
_color = [[getMarkerColor]] "MarkerOne"; //returns "ColorBlack"</code> |= Example 1
____________________________________________________________________________________________


| [[setMarkerColor]], [[setMarkerColorLocal]] |= See also
|p1= markerName: [[String]] - marker name


}}
| [[String]]


<h3 style="display:none">Notes</h3>
|x1= <code>"MarkerOne" [[setMarkerColor]] "ColorBlack";
<dl class="command_description">
_color = [[getMarkerColor]] "MarkerOne"; {{codecomment|// returns "ColorBlack"}}</code>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[setMarkerColor]], [[setMarkerColorLocal]]
</dl>
}}


<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|GETMARKERCOLOR]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
[[Category:Scripting Commands OFP 1.96|GETMARKERCOLOR]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands OFP 1.46|GETMARKERCOLOR]]
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands ArmA|GETMARKERCOLOR]]
[[Category:Command Group: Markers|GETMARKERCOLOR]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{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