Forum rules - please read before posting.

Reverse Inventory Order

Hello!
Is there a quick/easy way to reverse the order of the inventory (using the Grid style Inventory Box property).  I want the newest item acquired to appear FIRST in the stack, not last.

Comments

  • Not really.  The InventoryBox should list items as a true reflection of their order in the player's inventory - so if you want them to appear reversed, the items would have to be added in reverse.

    I'll consider adding a "Add to front" option in the Inventory: Add or remove Action, but otherwise it's a case of manipulating the localItems List variable in runtimeInventory:

    AC.KickStarter.runtimeInventory.localItems;
  • edited July 2017
    'Add to Front' would be a perfect solution.  I'll keep my eyes open for future updates.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.