Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Dr Snark on Tue 05/08/2003 03:43:52

Title: need some Help In Plain English (Inventory help)
Post by: Dr Snark on Tue 05/08/2003 03:43:52
Ok I need to make a simple Container, A botttle with a pill inside, Easy, HUH? But the problem is, I can't "open" The Bottle, Could some one agt least Stear me in the Right Direction to:

1: Interact with the Bottle while In the Inventory. -- i tried those conditional things and it didn't work

(i want it to Open the bottle and then Give the player the Lid)


Title: Re: need some Help In Plain English
Post by: Gilbert on Tue 05/08/2003 05:15:48
Please read the forum rules,  use descriptive post subjects.

I  think you may make 3 inventory items, 1. closed bottle with pill inside, 2. opened empty bottle and 3. pill

So when you interact with item1 in your inventory, just remove it from (LoseInventory(blah)) the inventory and add item2 and item3 to your inventory.