(Formerly known as RunInventoryInteraction, which is now obsolete)
InventoryItem.RunInteraction(CursorMode)
Runs the event handler as if the player had clicked the mouse
on the inventory item, using the specified cursor mode.
Example:
if (button == eMouseLeftInv)
inventory[game.inv_activated].RunInteraction(mouse.Mode);
will run the inventory event handler for the current cursor mode when the player clicks
on the item (Handle Inv Clicks needs to be enabled for this to work)
See Also: InventoryItem.IsInteractionAvailable,
ProcessClick, Character.RunInteraction
|