SetCursorItem

SetCursorItem
void SetCursorItem ( int Index, int Amount, int Durability, int Modifier )

code contained in Inventory/script/INV_Funcs.dh

Properties

 * Index - The index from ItemList[]
 * Amount - The amount of stackable items
 * Durability - The durability of durable items
 * Modifier - The modifier index from ModifierList

Description:
Sets item values on the cursor. Can be used to override items or to pull them from the inventory. Called by SplitItemScript