Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Mon 25/07/2005 10:09:37

Title: Using an item on a character [SOLVED]
Post by: on Mon 25/07/2005 10:09:37
Hi, I need to know thow can I use a special item (like wine) on other character
I use the Use inventory on char... , then run dialog and so on....
But when I use other item (not the wine) dialog starts.
How can I specify what item the main char. must use on the other char. to start the dialog ?  ???
Title: Re: Using an item on a character
Post by: Gilbert on Mon 25/07/2005 10:26:01
First, select:
"Conditional - if inventory item was used"
Then change the inventory item number to the required one.
After that, change that "do nothing" response to the "run dialog" you needed, it should be something like this:

Conditional - if inventory item was used (2)
Ã,  Ã,  Game - Rundialog (5)

Note the indenting.

That way, you can have different responses with using different items, like for example:

Conditional - if inventory item was used (2)
Ã,  Ã,  Game - Rundialog (5)
Conditional - if inventory item was used (6)
Ã,  Ã,  Game - Display a message (9)
    Game - Play sound effect (16)



Title: Re: Using an item on a character
Post by: on Mon 25/07/2005 13:07:08
Thanks man.Ã,  ;) I didn't saw thatÃ,  :o ( Conditional - if inventory item was
used (x) )
Title: Re: Using an item on a character
Post by: TerranRich on Wed 27/07/2005 06:05:08
Check the BFAQ: http://bfaq.xylot.com/#guis02

This applies characters as well. I'll alter it to note that fact.