How would I manage my assets for random picking assets?

Hi,

I want to create a little game that randomly spawns plattforms, based of a type. There can be small, medium and big plattforms. I want plattforms to be blueprints, that are somehow categorized in 3 groups. I have seen that there is something called an ObjectLibrary where you cann assign assets to. However, I dont find anything about using those libraries in Blueprint. Is there some documentation about them or are they maybe not right thing to use?

Hey Brainshack,

You probably want to look into using arrays. There’s some good documentation on arrays via Blueprints here:

https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Arrays/index.html

Hope that helps!

Hi.

I know about arrays. I might use them if is no other option. Id rather have a more dynamic solution, where I dont have to add every asset on my own. ACcording to this link (https://docs.unrealengine.com/latest/INT/Programming/Assets/AsyncLoading/index.html) in C++ there is a way to load all assets inside a folder and store them inside an ObjectLibrary. Something like this would be cool in BP aswell. Do you know if something like this is possible?

Hi,

I would like to use it in blueprint too. I have to create Deck of cards, and these cards are blueprint objects. If i can iterate over a folder or create a ObjectLibrary and then use it in blueprint; it will be great ! In C++ there is no trouble, but i want a full blueprint implementation. Possible ?
Thx in advance