---
name: "addOwnedMine"
type: command
status: ok
groups: ["Mines"]
arma3_since: "1.62"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/addOwnedMine
revid: 376880
updated: 2025-12-15T16:39:34Z
---

# addOwnedMine

*Command · Mines · Arma 3 v1.62*

Locality: arguments **global** · effect **local**

## Description

Sets ownership of a remotely detonatable mine to a unit. If the unit is a player, an action that allows the player to detonate the mine is added to the action menu.

## Syntax

```sqf
unit addOwnedMine mine
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `mine`: [Object](../topics/Object.md) - the mine object

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

## Examples

### Example 1

```sqf
player addOwnedMine _superMine;
```

## Multiplayer

Multiple players can own the same mine.

## See also

[allMines](../commands/allMines.md) · [createMine](../commands/createMine.md) · [detectedMines](../commands/detectedMines.md) · [mineActive](../commands/mineActive.md) · [getAllOwnedMines](../commands/getAllOwnedMines.md) · [removeOwnedMine](../commands/removeOwnedMine.md) · [removeAllOwnedMines](../commands/removeAllOwnedMines.md)

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