Arma 3 Scripting

Command in Mines

addOwnedMine

Also available as Markdown and JSON, or read the original wiki page.

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

unit addOwnedMine mine

Parameters:

Returns: Nothing

Examples

Example 1

player addOwnedMine _superMine;

Multiplayer

Multiple players can own the same mine.

See also

allMines · createMine · detectedMines · mineActive · getAllOwnedMines · removeOwnedMine · removeAllOwnedMines