Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
EatItem
Syntax
C++
int EatItem(IFunctionHandler* h, const char* itemClassIdDef);

Syntax: soul:EatItem("89dada87-6e6c-5d2c-a17a-483ada14b90b") 

Tries to eat an instance of the specified item class. Returns true if the item has been eaten (this includes checking if the item can be eaten), returns false otherwise. 

 

Copyright (c) 2012. All rights reserved.