removeAllItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - ">Posted on June ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-06-$1")
 
(40 intermediate revisions by 4 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


| Removes all special items from the unit. |= Description
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| '''removeAllItems''' unit |= Syntax
|game4= arma3
|version4= 0.50


|p1= unit: [[Object]] -  |= PARAMETER1
|arg= local


|p2= |= PARAMETER2
|eff= global


|p3= |= PARAMETER3
|gr1= Unit Inventory


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


|s1= [[removeAllItems]] unit


|x1= <code>[[removeAllItems]] unitName;</code>|= EXAMPLE1
|p1= unit: [[Object]]


____________________________________________________________________________________________
|r1= [[Nothing]]


| [[removeAllWeapons]], [[removeMagazines]]  |= SEEALSO
|x1= <sqf>removeAllItems unitName;</sqf>


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


<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 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.