Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Ghostlady on Mon 01/05/2006 01:41:32

Title: Inventory Items positions with two characters
Post by: Ghostlady on Mon 01/05/2006 01:41:32
My game is using two characters.  If the first character has enough inventory items to cause the player to scroll down, when I change to character two and this character has say only two inventory items, you can't see them unless you scroll back up.  Is there anyway to make the inventory items always start displaying by the first one?
Title: Re: Inventory Items positions with two characters
Post by: Ashen on Mon 01/05/2006 12:05:48
InvWindow.TopItem property (http://www.adventuregamestudio.co.uk/manual/InvWindow.TopItem.htm)

Set this to 0 when you open the Inventory GUI (or possibly just when you change characters).
Title: Re: Inventory Items positions with two characters
Post by: Ghostlady on Tue 02/05/2006 00:51:46
Thanks.  :)