Arma 3 Scripting

addOwnedMine

  • Global argument
  • Local effect
  • Arma 3 v1.62

Command · Markdown · JSON · 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