Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sinister on Sun 29/02/2004 20:14:40

Title: Item giving to an NPC.
Post by: Sinister on Sun 29/02/2004 20:14:40
Ive been trying to make a character (main player) give
an item to a NPC.

script wise, how do i go about this.

cause what i want is, once you give the NPC
the object, triger a dialog, then the NPC gives
you another item. (Basic Adventure thing)

i know how to do that, but i dont know how to
make the player give, a specific item to the
specific NPC.

cause in the interactions thing for the NPC,
theres a Give Inventory interaction link.

question being, how do i specify what particular item
must the player give to the NPC in order to trigger the
above. Cause i dont want to give the NPC another item
and trigger the same response for giving him the correct item.

hope that wasnt too much chatter..  
Title: Re:Item giving to an NPC.
Post by: Ishmael on Sun 29/02/2004 20:17:02
The "condition - if inventory item was used" action?
Title: Re:Item giving to an NPC.
Post by: RickJ on Sun 29/02/2004 21:51:46
http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=12042 (http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=12042)
http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=12069 (http://www.agsforums.com/yabb/index.php?board=6;action=display;threadid=12069)