I want my containers to contain some random items that are selected on runtime, eg one item from the category "Weapons" and two items from the category "Powerups". For categories with many items, doing this via ActionList (get random number, then skip to action) seems a bad idea, so I'm trying to do it via script.
I am going through the script reference and I've already found the InventoryManager.items and InventoryManager.bins lists, but what about a list of the items that belong to a specific category? Does a thing like this exist, or I should create it myself?
(or, is there another way to do what I want to do?)
Comments
Now that I think about it, is there a guide on how to create custom Actions to be used in ActionLists?