RemoveAllItems

From the Oblivion ConstructionSet Wiki
Revision as of 11:01, 1 March 2006 by imported>Maturin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

RemoveAllItems TargetContainerID (optional), RetainOwnershipFlag (optional) 

Example:

RemoveAllItems 
RemoveAllItems TreasureChest 
RemoveAllItems FriendlyJailer, 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

RemoveItem