addOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Mines |GROUP1=
|gr1= Mines |GROUP1=
____________________________________________________________________________________________


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


| unit [[addOwnedMine]] mine |SYNTAX=
| unit [[addOwnedMine]] mine |SYNTAX=
Line 19: Line 16:


| Nothing |RETURNVALUE=
| Nothing |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] [[addOwnedMine]] _superMine;</code> |EXAMPLE1=
|x1= <code>[[player]] [[addOwnedMine]] _superMine;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[getAllOwnedMines]], [[removeOwnedMine]], [[removeAllOwnedMines]] |SEEALSO=
| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[getAllOwnedMines]], [[removeOwnedMine]], [[removeAllOwnedMines]] |SEEALSO=

Revision as of 01:03, 17 January 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

Bottom Section