removeAllOwnedMines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!-- removeAllOwnedMines --> {{Command|= ____________________________________________________________________________________________ |A3|= Game |dev|= Game Version (number...")
 
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(31 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<!-- removeAllOwnedMines -->
{{RV|type=command
{{Command|=
____________________________________________________________________________________________


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


|dev|= Game Version (number surrounded by NO SPACES)
|gr1= Mines


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


| Removes all owned mines/explosive devices of the given unit |= Description
|s1= [[removeAllOwnedMines]] unit
____________________________________________________________________________________________


| '''removeAllOwnedMines''' unit |= Syntax
|p1= unit: [[Object]]


|p1= unit: [[Object]] |= Parameter 1
|r1= [[Nothing]]


| Nothing |= Return Value
|x1= <sqf>removeAllOwnedMines player;</sqf>
 
____________________________________________________________________________________________
 
|x1= <code>'''removeAllOwnedMines''' player;</code> |= Example 1
 
____________________________________________________________________________________________
 
| [[allMines]], [[createMine]], [[detectedMines]], [[mineActive]], [[removeOwnedMine]], [[addOwnedMine]] |= See also


|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]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

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