Basic question about using inventory

Started by Adorewood, Thu 16/03/2006 10:23:28

Previous topic - Next topic

Adorewood

Okay, now this is a stupid question, but I couldnt quite prove equal to the task. (I admit it, I'm an unworthy hungry retard :'(). How do I define what happens when an inventory item is interacted with a hotspot, object or another inventory item?

Ashen

I know what you're thinking ... Don't think that.

Khris

EDIT: I second Ashen, but by the time he posted, I was done typing this:

Go to the hotspot's/object's/item's Interaction Editor and double click on Use inventory on ....
To check which item was used, either use Conditional - If inventory item was used or the equivalent script
Code: ags
if (player.ActiveInventory==inventory[x]) { ...}

Adorewood

It amazes me that the mods have been kind enough to not lock me yet. Especially after that question.
By the way, well, obviously, my problem has been solved.

SMF spam blocked by CleanTalk