I currently have 2 enemies implemented and one ‘spawner’ which sets their attributes etc. Now I want to be able to selecet which enemy to spawn in the details panel of the spawner, but I don’t know how to achieve that. I tried messing with some arrays, but haven’t found a solution yet…
Add two different actor variables (or Array, whatever you like. But I would recommend 2 different vars as long as 2 is your limit and not intention to extend the number of enemies. But in case it is extendable, then make array will be better).
Remember that, when you are setting the variables to “Actor” you have to choose between different types, if you want the reference from the scene then choose “Reference”. If you want to choose from the Content browser, then you have to set it to “Class”
Mark the variable (or Array) as public, so you can set some values from the details panel of the instance. Marking is easy, just hit the eye and make it yellow!
Drag and drop your blueprint in the level, and now from the details panel, you can chosoe the different enemies type.