---
name: "setMarkerPolylineLocal"
type: command
status: ok
groups: ["Markers"]
arma3_since: "2.02"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setMarkerPolylineLocal
revid: 378527
updated: 2026-05-04T01:57:41Z
---

# setMarkerPolylineLocal

*Command · Markers · Arma 3 v2.02*

Locality: effect **local**

## Description

Sets a polyline marker's path. Works only on the computer that executes this command.

## Syntax

```sqf
marker setMarkerPolylineLocal path
```

**Parameters:**

- `marker`: [String](../topics/String.md)
- `path`: [Array](../topics/Array.md) of [Number](../topics/Number.md)s - `[x1, y1, x2, y2, ... xn, yn]`

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

Changes `"marker_1"` into a polyline and draws a sine curve on your position:

```sqf
"marker_1" setMarkerShape "polyline";
private _return = [] ;

for "_i" from 0 to 100 step 0.1 do
{
    _return pushBack (_i + getPos player#0);
    _return pushBack ((sin (_i*10))*10 + getPos player#1);
} ;

"marker_1" setMarkerPolylineLocal _return;
```

## See also

[markerPolyline](../commands/markerPolyline.md) · [setMarkerPolyline](../commands/setMarkerPolyline.md)

<sub>Source: [BI Community Wiki — setMarkerPolylineLocal](https://community.bistudio.com/wiki/setMarkerPolylineLocal) (revision 378527).</sub>
