I’ve created a ‘spawner’, which is supposed to pawn different actors (enemies) for the player. I just figured out how to let that one spawner spawn multiple classes by using an enum, but now I’m facing the following problem:
When I had the spawner set up to spawn only one class (for testing purposes), I could take the return value and the variables exposed on spawn and initialize them right away. But now that I’ve promoted the class input to a variable, I can no longer set these variables.
Any suggestion how this can be achieved?