addOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 14: Line 14:
| Unit [[addOwnedMine]] mine |SYNTAX=
| Unit [[addOwnedMine]] mine |SYNTAX=


|p1= Unit: [[Object]] |= Parameter 1
|p1= Unit: [[Object]] |PARAMETER1=
|p2= mine: [[Object]] - The mine object |= Parameter 1
|p2= mine: [[Object]] - The mine object |PARAMETER1=


| Nothing |RETURNVALUE=
| Nothing |RETURNVALUE=
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[player]] [[addOwnedMine]] SuperMine;</code> |= Example 1
|x1= <code>[[player]] [[addOwnedMine]] SuperMine;</code> |EXAMPLE1=


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:27, 7 April 2019


-wrong parameter ("A3") defined!-[[:Category:Introduced with A3 version 1.62|1.62]]
Hover & click on the images for description

Description

Description:
Sets ownership over a remotely detonatable mine to the unit.
Groups:
Uncategorised

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

[[Category:Introduced with A3 version 1.62]][[ Category: A3: New Scripting Commands | ADDOWNEDMINE]][[ Category: A3: Scripting Commands | ADDOWNEDMINE]]

Bottom Section