---
name: "BIS_fnc_markerPath"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_markerPath
revid: 328423
updated: 2022-07-13T16:00:50Z
---

# BIS_fnc_markerPath

*Function · Map and Markers · Arma 3 v0.50 · introduced in Take On Helicopters v1.00*

Locality: effect **global**

## Description

Create marker(s) between two points.

## Syntax

```sqf
[start, end, spacing, params] call BIS_fnc_markerPath
```

**Parameters:**

- `start`: [Position](../topics/Position.md), Waypoint, [Object](../topics/Object.md), [Location](../topics/Location.md) or [String](../topics/String.md):
  - [Position](../topics/Position.md) - position [x,y] or [x,y,z]
  - Waypoint - format [group, index]
  - [Object](../topics/Object.md) - object's position
  - [Location](../topics/Location.md) - location's position
  - [String](../topics/String.md) - marker name
- `end`: same as *start*
- `spacing`: [Number](../topics/Number.md) - (Optional, default 1000) distance between markers. When value is negative, line marker is used instead with thickness of this value
- `params`: [Array](../topics/Array.md) - (Optional, default ["BIS_fnc_markerPath_marker_*#*", "mil_triangle", "colorgreen"]) marker params (see [BIS_fnc_markerCreate](../functions/BIS_fnc_markerCreate.md) for details)

**Returns:** [Array](../topics/Array.md) - list of created markers

## Examples

### Example 1

```sqf
["markerStart", "markerEnd"] call BIS_fnc_markerPath;
```

### Example 2

```sqf
[player, nearestLocation [getPos player, "nameCity"]] call BIS_fnc_markerPath;
```

## See also

[createMarker](../commands/createMarker.md) · [BIS_fnc_markWaypoints](../functions/BIS_fnc_markWaypoints.md)

<sub>Source: [BI Community Wiki — BIS fnc markerPath](https://community.bistudio.com/wiki/BIS_fnc_markerPath) (revision 328423).</sub>
