UnitRemoveItem

Parameters
whichUnit unit

Target unit.

whichItem item

Handle to item instance.

comment

If the target unit carries the item, it is removed from the inventory and dropped at unit's position.

Nothing happens if unit or item instance is invalid.

note

See UnitRemoveItemFromSlot to drop an item from a specific slot.

patch

1.00

Source
common.j
return type
nothing
Source code
native          UnitRemoveItem          takes unit whichUnit, item whichItem returns nothing