---
name: "BIS_fnc_markWaypoints"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_markWaypoints
revid: 309789
updated: 2022-05-05T12:09:50Z
---

# BIS_fnc_markWaypoints

*Function · Map and Markers · Arma 3 v1.00*

## Description

Creates a marker on each uncompleted waypoint and marks it checked after completing that WP.

## Syntax

*syntax inferred from the function header*

```sqf
[param0] call BIS_fnc_markWaypoints
```

**Parameters:**

- `param0` — 0: OBJECT - unit who will have its waypoints marked
  _this select 1 (Optional, use "" for default): STRING - text of hint shown after completing a waypoint, %1 is used for WP number (default "")
  _this select 2 (Optional, use [] for default): ARRAY of STRINGS - marker text format for [uncompleted, completed] waypoints, %1 is used for WP number (default ["%1", "%1"])
  _this select 3 (Optional, use [] for default): ARRAY of STRINGS - marker icon for [uncompleted, completed] waypoints (default ["mil_circle", "mil_circle"])
  _this select 4 (Optional, use [] for default): ARRAY of STRINGS - marker color for [uncompleted, completed] waypoints (default ["ColorRed", "ColorGreen"])
  _this select 5 (Optional, use [] for default): ARRAY of NUMBERS - marker size for [uncompleted, completed] waypoints (default [0.75, 0.75])

**Returns:** NOTHING

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Creates a marker on each uncompleted waypoint and marks it checked after completing that WP.
Note: "On Activation" WP code is used for handling the markers; if this code is overwritten during the course, it can break this functionality

Parameter(s):
_this select 0: OBJECT - unit who will have its waypoints marked
_this select 1 (Optional, use "" for default): STRING - text of hint shown after completing a waypoint, %1 is used for WP number (default "")
_this select 2 (Optional, use [] for default): ARRAY of STRINGS - marker text format for [uncompleted, completed] waypoints, %1 is used for WP number (default ["%1", "%1"])
_this select 3 (Optional, use [] for default): ARRAY of STRINGS - marker icon for [uncompleted, completed] waypoints (default ["mil_circle", "mil_circle"])
_this select 4 (Optional, use [] for default): ARRAY of STRINGS - marker color for [uncompleted, completed] waypoints (default ["ColorRed", "ColorGreen"])
_this select 5 (Optional, use [] for default): ARRAY of NUMBERS - marker size for [uncompleted, completed] waypoints (default [0.75, 0.75])

Returns:
NOTHING
*/
```

<sub>Source: [BI Community Wiki — BIS fnc markWaypoints](https://community.bistudio.com/wiki/BIS_fnc_markWaypoints) (revision 309789).</sub>
