I’m looking for a way to generate characters with random stuff (clothes, weapons) using a Blueprint. How do I have to organize the stuff assets in order to randomly choose them and attach to the character?
I was thinking of using an Object Library, but it seems to be the designed for other purposes… I think it has to be some sort of array, so that I can pick any asset with a random index.
There could be lots of stuff, so less manual work is required =)
You can use ObjectLibrary created at runtime which is based on your desired class. eg UWeaponData from folder Data/Weapons and it will contain all matching assets of that specific class in that folder. Than you can just generate random index and either directly use that weapon data class or load it if it is not loaded yet.