removeAllItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality)
m (Text replacement - ">Posted on June ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-06-$1")
 
(39 intermediate revisions by 3 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 |=
|game3= tkoh
|eff= global |=
|version3= 1.00
____________________________________________________________________________________________


| Removes all special items from the unit. |= Description
|game4= arma3
____________________________________________________________________________________________
|version4= 0.50


| '''removeAllItems''' unit |= Syntax
|arg= local


|p1= unit: [[Object]] -  |= PARAMETER1
|eff= global


|p2= |= PARAMETER2
|gr1= Unit Inventory


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


| Nothing |= RETURNVALUE
|s1= [[removeAllItems]] unit


|p1= unit: [[Object]]


|x1= <code>[[removeAllItems]] unitName;</code>|= EXAMPLE1
|r1= [[Nothing]]


____________________________________________________________________________________________
|x1= <sqf>removeAllItems unitName;</sqf>


| [[removeAllWeapons]], [[removeMagazines]] |= SEEALSO
|seealso= [[removeAllWeapons]] [[removeMagazines]]
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}


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


<dt><dt>
<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="notedate">Posted on June 18, 2013 - 15:35
<dt class="note">'''[[User:Druid|Druid]]'''<dd class="note">Arma 3, version 0.70 - removes only items listed by command [[items]].<br/>
<!-- Note Section END -->
</dl>
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[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 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.