Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: TheFlayer on Sun 03/12/2006 20:59:54

Title: Problems with Inventory
Post by: TheFlayer on Sun 03/12/2006 20:59:54
Hello everybody. I have two problem:

1- How can I use an inventory object on another one?
I use Sierra like inventory and I think I should add a button that can make it possible. At the moment I can use only LOOK and SELECT. How can I create this button?

2- My second problem is similar. I need another button in the inventory window that can interact with my objects (for example: opening a box; searching a box).

Can someone help me?

Thank you very much.
Title: Re: Problems with Inventory
Post by: Ashen on Mon 04/12/2006 12:22:33
1.
When you 'Select' an item and the cursor graphic changes to the item graphic, you should be able to click that item on other items to 'use' them together. See the BFAQ (http://americangirlscouts.org/agswiki/GUI%2C_Inventory_%26_Menu#Using_one_inventory_item_on_another) (also this one (http://americangirlscouts.org/agswiki/GUI%2C_Inventory_%26_Menu#Using_a_specific_inventory_item_to_trigger_an_action) might help too).

2.
Which part of adding the button do you need help with? Very basically (and paraphrasing the Manual (http://www.adventuregamestudio.co.uk/manual/GUI%20buttons.htm)):