
Prototype: GemRB.UseItem(PartyID, Slot, ItemIndex)

Description: Makes PartyID to use an item.
If slot is negative, then item is the index of the item functionality in the use
item list. If slot is non-negative, then item is the quick item or weapon in slot.
This handles targeting and executes the appropriate scripting command.

Parameters:
PartyID           - the player character's index in the party
Slot              - the item's inventory slot, if it is -1 then ItemIndex is used
ItemIndex         - the item index from the SetupEquipmentIcons list, an item may have multiple entries, because of multiple features

Return value: N/A

See also: CanUseItemType, SpellCast, SetupEquipmentIcons
