Hello,
I have a dynamic dungeon generator that I’ve started writing and I want to be able to read properties from a custom Actor Component inside a list of named Blueprint entities.
Whew, that was a mouthful…
Basically, in my dungeon generator, I want to feed it a list of named room blueprints and have it generate the rooms based on properties within the room itself. I currently have a basic “Dungeon Generator” blueprint which calls into a C++ blueprint function. I would like to set it up so that the function takes a list of named room blueprints(or some sort of blueprint reference, but I haven’t been able to find anything like that), then read in the rooms properties of a custom component(in my case, an ActorComponent called RoomComponent) in order to get the width, height, and probability of spawn from within the room blueprint itself.
I’m new to Unreal, so I’m not sure what the best way to do this is. Optionally, I would like to be able to do this from within a construction script so that the artists can play with different settings and drop items in a randomly generated level without havnig to run/simulate the game every time.
Any thoughts?