removeItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added matching see also; add example)
Line 19: Line 19:




|x1= <code>
|x1= <code>player unassignitem "FirstAidKit";
player '''removeItems''' "FirstAidKit";
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO  
| [[removeItem]], [[removeAllAssignedItems]], [[unassignItem]], [[assignItem]], [[assignedItems]], [[addItem]], [[linkItem]], [[unlinkItem]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 00:00, 18 February 2014

Hover & click on the images for description

Description

Description:
Removes all items with given template from the inventory.
Groups:
Uncategorised

Syntax

Syntax:
unit removeItems item
Parameters:
unit: Object
item: String
Return Value:
Nothing

Examples

Example 1:
player unassignitem "FirstAidKit"; player removeItems "FirstAidKit";

Additional Information

See also:
removeItemremoveAllAssignedItemsunassignItemassignItemassignedItemsaddItemlinkItemunlinkItem

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

Notes

Bottom Section