removeOwnedMine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Some wiki formatting)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- removeOwnedMine -->
{{RV|type=command
{{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]]
|p2= mine: [[Object]] - The mine object
 


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


 
|p2= mine: [[Object]] - the mine object
|x1= <code>[[player]] [[removeOwnedMine]] SuperMine;</code>


|r1= [[Nothing]]


| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[getAllOwnedMines]], [[addOwnedMine]], [[removeAllOwnedMines]]
|x1= <sqf>player removeOwnedMine SuperMine;</sqf>


|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]] ([[_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