RemoveAllItems

From the CreationKit Wiki
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.


See Also[edit | edit source]

RemoveItem

Papyrus Version[edit | edit source]

RemoveAllItems - ObjectReference