Difference between revisions of "RemoveAllItems"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>Blackblade
m (Clarifies a minor point)
Line 6: Line 6:
  RemoveAllItems FriendlyJailer, 1  
  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.  
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. Note that quest items are not removed.





Revision as of 16:42, 1 August 2006

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. Note that quest items are not removed.


See Also

RemoveItem