Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetCountOfCategory
Syntax
C++
int GetCountOfCategory(IFunctionHandler * pH, const char * categoryName);
Parameters 
Description 
category 
name of item category. 

Syntax: Inventory.GetCountOfCategory( const char* category ) 

Gets the number of element of the specified category inside the inventory. 

 

Copyright (c) 2012. All rights reserved.