Help with Inventory Items Please

Started by Revan, Tue 08/11/2005 14:28:51

Previous topic - Next topic

Revan

I can create Inventory Items that can be used, however they do not seem to work correctly... for example say they have to use the knife on the cake, as long as they have the knife in their inventory it doesn't matter what they use on the cake it will still work. How can I make it so that they have to use the Knife on the cake for it to work?

Ashen

What have you done? Sounds like you need to add a conditon to check if the knife was used:
Code: ags

//Use inventory on item (cake)
if (player.ActiveInventory == iKnife) {
  //Do stuff
}


Or Conditional - if inventory item was used (item) if you're using thr interaction editor.

If it's not that, please post what you've got so far.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk