{"name":"setMarkerPolylineLocal","title":"setMarkerPolylineLocal","type":"command","url":"https://community.bistudio.com/wiki/setMarkerPolylineLocal","revid":378527,"updated":"2026-05-04T01:57:41Z","groups":["Markers"],"status":"ok","games":{"arma3":"2.02"},"since":"arma3 2.02","arma3_since":"2.02","locality":{"effect":"local"},"description":"Sets a polyline marker's path. Works only on the computer that executes this command.","syntaxes":[{"syntax":"marker setMarkerPolylineLocal path","params":[{"name":"marker","type":"String","type_expr":"String"},{"name":"path","type":"Array of Numbers","description":"`[x1, y1, x2, y2, ... xn, yn]`","type_expr":"Array<Number>"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"marker"},"right":{"text":"path"}}],"examples":[{"text":"Changes `\"marker_1\"` into a polyline and draws a sine curve on your position:\n\n```sqf\n\"marker_1\" setMarkerShape \"polyline\";\nprivate _return = [] ;\n\nfor \"_i\" from 0 to 100 step 0.1 do\n{\n    _return pushBack (_i + getPos player#0);\n    _return pushBack ((sin (_i*10))*10 + getPos player#1);\n} ;\n\n\"marker_1\" setMarkerPolylineLocal _return;\n```","code":["\"marker_1\" setMarkerShape \"polyline\";\nprivate _return = [] ;\n\nfor \"_i\" from 0 to 100 step 0.1 do\n{\n\t_return pushBack (_i + getPos player#0);\n\t_return pushBack ((sin (_i*10))*10 + getPos player#1);\n} ;\n\n\"marker_1\" setMarkerPolylineLocal _return;"]}],"see_also":["markerPolyline","setMarkerPolyline"]}