RemoveItem

From the Oblivion ConstructionSet Wiki
Revision as of 15:06, 10 June 2006 by imported>JOG
Jump to navigation Jump to search

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


Syntax:

RemoveItem ObjectID, count


Examples:

RemoveItem Gold001 50
Ref MyItem
Short count

set MyItem to ArenaAkaviriLongSword
set count to 1
player.removeitem MyItem Count


Notes:

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


See Also

AddItem

GetItemCount

RemoveAllItems