Forum rules - please read before posting.

remove all inventory from a category?

Hi Chris,

There is action able to remove all items, this is good, I don't need to remove one by one.
I also have many items in a category. And I wonder if there is any action can remove all items from a specific category?

Thanks.

Comments

  • There is a DeletaAllInCategory function, that you can access through script:

    int categoryID = 12;
    AC.KickStarter.runtimeInventory.PlayerInvCollection.DeleteAllInCategory (categoryID);
    

    Adding this as an option to the Inventory: Add or remove Action is a good suggestion, however - I'll see to this as part of the next update.

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.