removeOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_this" to "_this")
m (Some wiki formatting)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.62


|1.62
|gr1= Mines


|gr1= Mines
|descr= Removes ownership over a remotely detonatable mine from the unit.


| Removes ownership over a remotely detonatable mine from the unit.
|s1= unit [[removeOwnedMine]] mine


| unit [[removeOwnedMine]] mine
|p1= unit: [[Object]]


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


| Nothing
|r1= [[Nothing]]


 
|x1= <sqf>player removeOwnedMine SuperMine;</sqf>
|x1= <code>[[player]] [[removeOwnedMine]] SuperMine;</code>


|seealso= [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[getAllOwnedMines]], [[addOwnedMine]], [[removeAllOwnedMines]]
|seealso= [[allMines]] [[createMine]] [[detectedMines]] [[mineActive]] [[getAllOwnedMines]] [[addOwnedMine]] [[removeAllOwnedMines]]
}}
}}
<dl class="command_description">
<!-- 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]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 10:47, 8 November 2023

Hover & click on the images for description

Description

Description:
Removes ownership over a remotely detonatable mine from the unit.
Groups:
Mines

Syntax

Syntax:
unit removeOwnedMine mine
Parameters:
unit: Object
mine: Object - the mine object
Return Value:
Nothing

Examples

Example 1:
player removeOwnedMine SuperMine;

Additional Information

See also:
allMines createMine detectedMines mineActive getAllOwnedMines addOwnedMine removeAllOwnedMines

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