Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Whelandrew on Tue 14/04/2009 06:09:59

Title: Default GUI Won't Leave Me Alone
Post by: Whelandrew on Tue 14/04/2009 06:09:59
Just like the title says... well, there's more to it.

It's been a while since I have worked on my code and the last time that I did was in a prior AGS. When I attempt to load the inventory window, it loads the default Inventory window that comes with the AGS compiler. It's ugly. It needs to go away.

I'm a little lost in the process, currently. I can't seem to set up the button to load the new Inventory GUI that I've created to replace the old default. All the old commands are obsolete and I feel genuinely lost, now.

Anyone else had this problem that you can link me to a solution?
If not, anyone have an answer for me?
Title: Re: Default GUI Won't Leave Me Alone
Post by: Trent R on Tue 14/04/2009 06:14:04
The code that calls the default Inventory is InventoryScreen();. So I'd look for that in your global script and replace it with the appropriate code ( gInventory.Visble=true;  or something similar).


~Trent
Title: Re: Default GUI Won't Leave Me Alone
Post by: Whelandrew on Tue 14/04/2009 06:17:16
Oh awesome!

That makes everything better. Thanks a million, my friend.
:)