---
name: "BIS_fnc_wpDemine"
type: function
status: ok
groups: ["Waypoints"]
arma3_since: "1.76"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_wpDemine
revid: 310701
updated: 2022-05-06T11:19:11Z
---

# BIS_fnc_wpDemine

*Function · Waypoints · Arma 3 v1.76*

## Description

Scripted "CLEAR MINES" Advanced Waypoint.
The script needs a unit with the abiility to demine (engineer or explosive specialist [trait](../commands/getUnitTrait.md) **and** a toolkit).

## Syntax

```sqf
[group, position, target, clearUnknownMines] call BIS_fnc_wpDemine
```

**Parameters:**

- `group`: [Group](../topics/Group.md) - a group with a mine expert
- `position`: [Position](../topics/Position.md) - the demining centre. Demining radius is defined by [waypointCompletionRadius](../commands/waypointCompletionRadius.md), and defaults to 50 if set to 0
- `target`: [Anything](../topics/Anything.md) - (Optional, default [objNull](../commands/objNull.md)) unused parameter
- `clearUnknownMines`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) should the group demine all mines or only the one [its side knows about](../commands/detectedMines.md)

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

## Examples

### Example 1

```sqf
[group player, getMarkerPos "mineField", objNull, false] call BIS_fnc_wpDemine;
```

## See also

Waypoints

<sub>Source: [BI Community Wiki — BIS fnc wpDemine](https://community.bistudio.com/wiki/BIS_fnc_wpDemine) (revision 310701).</sub>
