markerPolyline: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command |game1= arma3dev |Game name= |version= 2.01 |Game version= |gr1= Markers |GROUP1= ________________________________________________________________________________...")
 
m (Some wiki formatting)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3dev |Game name=
|game1= arma3
|version1= 2.02


|version= 2.01 |Game version=
|gr1= Markers


|gr1= Markers |GROUP1=
|descr= Returns a polyline marker's path data.
____________________________________________________________________________________________


|descr= Returns a polyline marker's path data. |Description=
|s1= [[markerPolyline]] marker
 
|mp= |Multiplayer Behaviour=
 
|pr= |Problems=
____________________________________________________________________________________________
 
|s1= [[markerPolyline]] marker |Syntax=


|p1= marker: [[String]]
|p1= marker: [[String]]


|r1= [[Array]] - <tt>[x1, y1, x2, y2, ... xn, yn]</tt> |Return Value=
|r1= [[Array]] in format {{hl|[x1, y1, x2, y2, ... xn, yn]}}
____________________________________________________________________________________________


|x1= <code>[[markerPolyline]] "_USER_DEFINED #0/0/1"; {{cc|Returns your first polyline's data in Singleplayer}}</code> |Example 1=
|x1= <sqf>markerPolyline "_USER_DEFINED #0/0/1"; // returns your first polyline's data in Singleplayer</sqf>
____________________________________________________________________________________________


|seealso= [[setMarkerPolyline]] [[setMarkerPolylineLocal]] |See Also=
|seealso= [[setMarkerPolyline]] [[setMarkerPolylineLocal]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 14:05, 5 May 2022

Hover & click on the images for description

Description

Description:
Returns a polyline marker's path data.
Groups:
Markers

Syntax

Syntax:
markerPolyline marker
Parameters:
marker: String
Return Value:
Array in format [x1, y1, x2, y2, ... xn, yn]

Examples

Example 1:
markerPolyline "_USER_DEFINED #0/0/1"; // returns your first polyline's data in Singleplayer

Additional Information

See also:
setMarkerPolyline setMarkerPolylineLocal

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