addOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Mines
|gr1= Mines


| Sets ownership over a remotely detonatable mine to the unit.
|descr= Sets ownership over a remotely detonatable mine to the unit.


|s1=  unit [[addOwnedMine]] mine
|s1=  unit [[addOwnedMine]] mine

Revision as of 21:54, 13 June 2021

Hover & click on the images for description

Description

Description:
Sets ownership over a remotely detonatable mine to the unit.
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:
allMinescreateMinedetectedMinesmineActivegetAllOwnedMinesremoveOwnedMineremoveAllOwnedMines

Notes

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