Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
C_ScriptBind_ItemManager Methods

The methods of the C_ScriptBind_ItemManager class are listed here.

 
Name 
Description 
 
creates new item with defined health and amount
 
 
Syntax: ItemManager.GetItem( id )
Returns item script table which can be used to access item specific data
 
 
Syntax: ItemManager.GetItemUIName( classId )
Returns UI name of the item.
 
 
Syntax: ItemManager.RemoveItem( id )
Removes item. Item creation/remove might be disabled on master to avoid cheating.
 
 
Syntax: ItemManager.ValidateId( id )
After game load this function returns new item id assigned to old item id. All item id's needs to be validated after game load!
 
Copyright (c) 2012. All rights reserved.