Difference between revisions of "RemoveItem"
Jump to navigation
Jump to search
imported>JOG (You can use reference-variables for ObjectID !) |
imported>JOG m |
||
Line 28: | Line 28: | ||
==See Also== | ==See Also== | ||
[[AddItem]] | [[AddItem]] | ||
[[RemoveAllItems]] | [[RemoveAllItems]] | ||
Revision as of 12:57, 6 June 2006
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:
- You can use a reference variable as ObjectID and a short variable for count.
- If ObjectID is a leveled list, the leveled item generated from the leveled list will be removed.