Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
C_ScriptBindItemManager Methods

The methods of the C_ScriptBindItemManager 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.GetItemName( classId )
Returns database name of the item.
 
 
Syntax: ItemManager.GetItemOwner( id )
Returns item owner wuid
 
 
Syntax: ItemManager.GetItemUIName( classId )
Returns UI name of the item.
 
 
Syntax: ItemManager.IsItemOversized( id )
Returns whether item is oversized
 
 
Syntax: ItemManager.RemoveItem( id )
Removes item. Item creation/remove might be disabled on master to avoid cheating.
 
 
Syntax: ItemManager.SerItemOwner( itemId, ownerId, markAsStolen )
No return value.
 
Copyright (c) 2012. All rights reserved.