RemoveItem
DescriptionEdit
RemoveItem Removes Count items of object ObjectID from the calling container's inventory. It has two required parameters (the object to remove and the quantity).
SyntaxEdit
[ActorID|ContainerID.]RemoveItem ObjectID, Count, MessageHiddenFlag
ExamplesEdit
buddyref.RemoveItem Lockpick 11
Buddy loses 11 lockpicks
NotesEdit
- You can use a FormList as the item parameter - in this case, the function removes the count for each item in the list.
See AlsoEdit
AddItem
GetItemCount
RemoveAllItems