removeItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added matching see also; add example)
(first aid kit is not an assignable item)
Line 19: Line 19:




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

Revision as of 23:08, 17 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 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