markerPolyline: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|pr= " to "")
m (Text replacement - "<tt>([^= ]+)<\/tt>" to "{{hl|$1}}")
Line 12: Line 12:
|p1= marker: [[String]]
|p1= marker: [[String]]


|r1= [[Array]] - <tt>[x1, y1, x2, y2, ... xn, yn]</tt>
|r1= [[Array]] - {{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>
|x1= <code>[[markerPolyline]] "_USER_DEFINED #0/0/1"; {{cc|Returns your first polyline's data in Singleplayer}}</code>

Revision as of 00:16, 16 November 2021

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