removeAllItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <dt><dt>" to " <dl class="command_description"> <dt><dt>")
m (Text replacement - ">Posted on June ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-06-$1")
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 19: Line 19:
|gr1= Unit Inventory
|gr1= Unit Inventory


| Removes all special items from the unit.
|descr= Removes all special items from the unit.


| [[removeAllItems]] unit
|s1= [[removeAllItems]] unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]
Line 27: Line 27:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[removeAllItems]] unitName;</code>
|x1= <sqf>removeAllItems unitName;</sqf>


|seealso= [[removeAllWeapons]], [[removeMagazines]]
|seealso= [[removeAllWeapons]] [[removeMagazines]]
}}
}}


Line 35: Line 35:


<dt><dt>
<dt><dt>
<dd class="notedate">Posted on June 18, 2013 - 15:35</dd>
<dd class="notedate">Posted on 2013-06-18 - 15:35</dd>
<dt class="note">[[User:Druid|Druid]]</dt>
<dt class="note">[[User:Druid|Druid]]</dt>
<dd class="note">Arma 3, version 0.70 - removes only items listed by command [[items]].
<dd class="note">Arma 3, version 0.70 - removes only items listed by command [[items]].


</dl>
</dl>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 00:08, 14 May 2023

Hover & click on the images for description

Description

Description:
Removes all special items from the unit.
Groups:
Unit Inventory

Syntax

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

Examples

Example 1:
removeAllItems unitName;

Additional Information

See also:
removeAllWeapons removeMagazines

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
Posted on 2013-06-18 - 15:35
Druid
Arma 3, version 0.70 - removes only items listed by command items.