addOwnedMine

From Bohemia Interactive Community
Hover & click on the images for description

Description

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.
Multiplayer:
Multiple players can own the same mine.
Groups:
Mines

Syntax

Syntax:
unit addOwnedMine mine
Parameters:
unit: Object
mine: Object - the mine object
Return Value:
Nothing

Examples

Example 1:
player addOwnedMine _superMine;

Additional Information

See also:
allMines createMine detectedMines mineActive getAllOwnedMines removeOwnedMine removeAllOwnedMines

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note