RemoveAllItems

From the CreationKit Wiki
Revision as of 15:34, 29 November 2011 by imported>Dbrigner
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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