addOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|A3|= Game " to "| arma3 |Game name= ")
Line 1: Line 1:
<!-- addOwnedMine -->
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 6: Line 5:


|1.62|Game Version= (number surrounded by NO SPACES)
|1.62|Game Version= (number surrounded by NO SPACES)
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 12: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Unit [[addOwnedMine]] mine |SYNTAX=
| unit [[addOwnedMine]] mine |SYNTAX=
 
|p1= unit: [[Object]] |PARAMETER1=


|p1= Unit: [[Object]] |PARAMETER1=
|p2= mine: [[Object]] - the mine object |PARAMETER2=
|p2= mine: [[Object]] - The mine object |PARAMETER1=


| 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=
____________________________________________________________________________________________
}}
}}


<dl class="command_description">
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- BEGIN Note Section -->
<!-- For example:
 
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">'''[[User:User Name|]]'''</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
<!-- END Note Section -->
</dl>
</dl>

Revision as of 21:22, 3 September 2019

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

Bottom Section