removeAllItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - ">Posted on June ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-06-$1")
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
|version2= 1.50


|arg= local |MParg=
|game3= tkoh
|version3= 1.00


|eff= global |MPeff=
|game4= arma3
____________________________________________________________________________________________
|version4= 0.50


| Removes all special items from the unit. |DESCRIPTION=
|arg= local
____________________________________________________________________________________________


| [[removeAllItems]] unit |SYNTAX=
|eff= global


|p1= unit: [[Object]] |PARAMETER1=  
|gr1= Unit Inventory


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


|x1= <code>[[removeAllItems]] unitName;</code>|EXAMPLE1=
|s1= [[removeAllItems]] unit
____________________________________________________________________________________________


| [[removeAllWeapons]], [[removeMagazines]] |SEEALSO=
|p1= unit: [[Object]]


| |MPBEHAVIOUR=
|r1= [[Nothing]]
 
|x1= <sqf>removeAllItems unitName;</sqf>
 
|seealso= [[removeAllWeapons]] [[removeMagazines]]
}}
}}


<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class='command_description'>
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on June 18, 2013 - 15:35
<dt><dt>
<dt class="note">[[User:Druid|Druid]]
<dd class="notedate">Posted on 2013-06-18 - 15:35</dd>
<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]].


<!-- Note Section END -->
</dl>
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:08, 13 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.