Using inventory item

Started by Granknight, Mon 08/01/2007 20:35:44

Previous topic - Next topic

Granknight

How do i create an interaction by using an inventory item on an hotspot?
I see there is "use inventory on" as option, but i can't find out how to determinate that i want this to apply with only one object and not with a random one.

Da_Elf

this one should definately be a RTFM question

Code: ags

function hotspot1_a() {
if (player.ActiveInventory == iKey) {
}
}

Ashen

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

SMF spam blocked by CleanTalk