Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Mon 09/08/2004 19:54:35

Title: inventory item interaction
Post by: on Mon 09/08/2004 19:54:35
I read the help file and various refrences on how to do this but I can't seem to get it to work. After selecting an iem from the inventory like the key that is in the template, the cursor changes to a key. Now when I click the key cursor on a hotspot nothing happens. I went into the hotspot interaction and  went to Used inventory item on hotspot then enabled the conditional if inventory item was used and set it to the invetory number of the key. Then I enabled the child action but nothing occured! Any Help?
Title: Re: inventory item interaction
Post by: Skio on Mon 09/08/2004 21:18:45
Have you put an actual command in the child?
Title: Re: inventory item interaction
Post by: CodeJunkie on Mon 09/08/2004 22:26:06
A few suggestions.  Some are pretty obvious but maybe it's one of them:

-Try clicking around your hotspot.  The active point on the item cursor may be in some illogical place like the handle of the key instead of the end.
-Make sure that the Value in the condition is set to the correct inventory number.  Remember that the first inventory item is #1, not #0.
-Make sure that child action is absolutely correct.  It is possible that it may be working but the action just isn't working how it should.
-Make sure you are editing the correct hotspot number
-Make sure that nothing is disabling the hotspot (don't worry about that if this is the only thing going on in the room)
-Make sure that you haven't changed room in the editor without saving.  Check again to make sure that the interaction is still there.
Title: Re: inventory item interaction
Post by: on Tue 10/08/2004 03:34:27
thx I fixed the problem.