My goal is to generate an inventory for each spawned NPC, similar to Fallout3 or Skyrim.
The inventory will be used to equip the NPC (melee/ranged weapon, shield or not, apparel for each body slot).
I thought about using container with some drop tables however I doesn't seem possible to generate an item list without granting the container item to the player inventory.
Is there a solution other than granting the container item to one player, retrieving the item list with UnlockContainerInstance or UnlockContainerItem and revoke each granted items after? Seem pretty cumbersome and unefficient (API requests).
Another idea is to use EvaluateRandomResultTable or GetRandomResultTables, but I didn't find a way to use it for what I want to do. A simple function like "EvaluateResultTable" for a container item ID would be much better for me.