Checking if player has an inventory item

Started by , Sat 29/04/2006 17:32:30

Previous topic - Next topic

ShadowMoses

Hello.

I'm trying to turn on dialogue options depending on whether a specific inventory item is present or not. So i do run-script in the dialogue but i'm just not sure how to actually check the inventory item.

So i'm trying to do something like this:

If (inventory item is present)
{
  SetDialogOption (2, 3, eOptionOn);
}

else
{
SetDialogOption (2, 4, eOptionOn);
}

Ashen

Read this, from just yesterday - it's pretty much the same question you're asking, and exactly the same answer.
I know what you're thinking ... Don't think that.

ShadowMoses

Great, thanks.

I did search but didn't find that thread.

SMF spam blocked by CleanTalk