removeAllItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - ">Posted on June ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-06-$1")
 
(3 intermediate revisions by the same user not shown)
Line 21: Line 21:
|descr= Removes all special items from the unit.
|descr= Removes all special items from the unit.


|s1= [[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>

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.