Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RemoveItem
Syntax
C++
int RemoveItem(IFunctionHandler * pH, ScriptHandle id, int count);
Parameters 
Description 
ScriptHandle id 
item id 
int count 
count of item pieces to remove, use -1 to remove all 

id of removed item

Syntax: Inventory.RemoveItem( id ) 

Removes an item from the inventory. 

 

Copyright (c) 2012. All rights reserved.