addOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.62|Game Version=
|1.62


|gr1= Mines |GROUP1=
|gr1= Mines


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


| unit [[addOwnedMine]] mine |SYNTAX=
| unit [[addOwnedMine]] mine


|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]]


|p2= mine: [[Object]] - the mine object |PARAMETER2=
|p2= mine: [[Object]] - the mine object


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


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



Revision as of 00:02, 18 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