Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Sektor 13 on Thu 04/08/2005 19:57:10

Title: Moving inventory into other slots freely
Post by: Sektor 13 on Thu 04/08/2005 19:57:10
Is it possible to move inventory items freely trough out the inventory slots, like in the DIG when you could rearange all items wherever you d like. As i see, this is possible to some limit, you cannot have a blank slot betwen two items, item is always added in the first new empty slot.. or is there any other possibility /i know that in 2.7 you can manipulate items a bit more, but still doesn't allow enpty slots betwen.. ???


Edit by strazer (to not bump the thread):

Quoteitem is always added in the first new empty slot

The new Character.AddInventory function has an optional index parameter.
Title: Re: Moving inventory into other slots freely
Post by: Scummbuddy on Fri 05/08/2005 15:44:41
you could fill your inventory with "blank" inventory items with no interaction, and remove one when you add a new inventory item, giving the illusion that they are just placeholders, which they really are.
Title: Re: Moving inventory into other slots freely
Post by: TerranRich on Fri 05/08/2005 22:54:24
This is going into the BFAQ. :D
Title: Re: Moving inventory into other slots freely
Post by: Sektor 13 on Sun 07/08/2005 20:21:34
Quote from: Scummbuddy on Fri 05/08/2005 15:44:41
you could fill your inventory with "blank" inventory items with no interaction, and remove one when you add a new inventory item, giving the illusion that they are just placeholders, which they really are.

Yes i thought of that too, but, i am still looking for the simplest solution, maybe in the next AGS version? ::)