Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Fri 24/09/2004 03:41:45

Title: Scrolling through inventory
Post by: on Fri 24/09/2004 03:41:45
I am having trouble getting my inventory GUI working properly. I can't get it to scroll through different inventory items even though I am using the scripting code from the standard game to apply to the arrows I made on my inventory GUI. I have put an inventory window on my GUI and it displays one item but when I try to scroll down to the next item it just quits out.
Title: Re: Scrolling through inventory
Post by: Goot on Fri 24/09/2004 04:20:39
What do you mean by 'it quits out'? Do you only have one inventory item displayed at a time, or did I read it wrong? I'm not really sure what your problem is but I've got a few suggestions:

Check to make sure the buttons are set to run script and that the script are connected to the right buttons.

If the quitting out thing was an error, read what it says and look at that line of code. The problem will be there.

You could try with more items or more items displayed at a time and see if that does anything.

Hopefully something there will help you.
Title: Re: Scrolling through inventory
Post by: Ishmael on Sat 25/09/2004 20:38:12
"It just quits out", so I reckon you get an error. Post the error message and your code for the arrow buttons here so we get a better view of your problem.