markerPolyline: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
No edit summary
 
Line 12: Line 12:
|p1= marker: [[String]]
|p1= marker: [[String]]


|r1= [[Array]] in format {{hl|[x1, y1, x2, y2, ... xn, yn]}}
|r1= [[Array]] format {{hl|[x1, y1, x2, y2, ... xn, yn]}}


|x1= <sqf>markerPolyline "_USER_DEFINED #0/0/1"; // returns your first polyline's data in Singleplayer</sqf>
|x1= <sqf>markerPolyline "_USER_DEFINED #0/0/1"; // returns your first polyline's data in Singleplayer</sqf>

Latest revision as of 07:37, 2 January 2026

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 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.
Only post proven facts here! Add Note