Difference between revisions of "RemoveItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Maturin
 
imported>GreyWanderer
(removed "retainownershipflag" since it doesn't support that parameter)
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  RemoveItem ''ObjectID'', ''count'', ''RetainOwnershipFlag (optional)''  
  RemoveItem ''ObjectID'', ''count''
'''Example:'''
'''Example:'''
  RemoveItem Gold001 50
  RemoveItem Gold001 50
Line 11: Line 11:




If RetainOwnershipFlag = 1, the items' original ownership is retained; otherwise, the ownership is cleared.





Revision as of 17:52, 16 April 2006

Syntax:

RemoveItem ObjectID, count

Example:

RemoveItem Gold001 50


Removes count number of the specified item from the calling object's inventory.


If ObjectID is a leveled list, the leveled item generated from the leveled list will be removed.



See Also

RemoveAllItems