RemoveAllItems
Jump to navigation
Jump to search
Syntax:
RemoveAllItems TargetContainerID (optional), RetainOwnershipFlag (optional)
Example:
(DelphineREF) "00013485.RemoveAllItems" RemoveAllItems TreasureChest RemoveAllItems EnclaveSoldier, 1
Removes all items from the caller's inventory. If TargetContainerID is specified, the objects are moved to the target container, otherwise they are destroyed. If RetainOwnershipFlag = 1, the items' original ownership is retained; otherwise, the ownership is cleared.