Our solution to spawning blueprints from c++

Many thanks too everyone for the quick replies and feedback :smiley:
I guess it’s back to the drawing board for me.

@Tharden
We tried to come up with a solution like this (adding the reference in code) but the spawn actor needed to be able to pick between sets of enemies (5Big or 2Big or 1big + 2small, 10*small) and i couldn’t find a way to make this possible (currently we parse a string like ā€œ5:Big;2:Big;1:Big+2:small;10:Smallā€ (it’s not pretty to look at or work with thou). Reading this thread i guess it would be possible to define enemy spawn combo’s in a list and use a array of those lists in the spawn actor.