removeAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_this" to "_this")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|A3|= Game
|game1= arma3
 
|version1= 1.62
|1.62


|gr1= Mines
|gr1= Mines


| Removes ownership of all owned mines/explosive devices of the given unit
|descr= Removes ownership of all owned mines/explosive devices of the given unit


| '''removeAllOwnedMines''' unit
|s1= [[removeAllOwnedMines]] unit


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


| [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]]
|seealso= [[allMines]] [[createMine]] [[detectedMines]] [[mineActive]] [[removeOwnedMine]] [[addOwnedMine]]
}}
}}
<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 14:10, 5 May 2022

Hover & click on the images for description

Description

Description:
Removes ownership of all owned mines/explosive devices of the given unit
Groups:
Mines

Syntax

Syntax:
removeAllOwnedMines unit
Parameters:
unit: Object
Return Value:
Nothing

Examples

Example 1:
removeAllOwnedMines player;

Additional Information

See also:
allMines createMine detectedMines mineActive removeOwnedMine addOwnedMine

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