Using select node to chose a class in blueprint

So I am still pretty new to Blueprints and been working on a small project with them. What I would like to do is spawn a actor depending on a integer value. So if x=1 then spawn actor 1, if x=2 then spawn actor 2. I have everything working to spawn an actor when I have it set on the spawn node

But if I set up a select node nothing will spawn

I’m guessing there is something I’m missing with how the node itself works. If anyone can help me with this, or have another way of doing the same thing that would be awesome.

you sure your values are set correctly? i just tested a similar script and it works without issue in 4.17.

ensure that your location is correct (its in world space) and ensure that your variable is within range (0-1).

Where are you setting “Left Arm Index” and what is its value? Is it 0 or 1?

Where/how should I check the world space location is correct? Sorry I am pretty new to this, mostly self taught with just using programing logic, the right arm index is set to 0

Left Arm Index is not set by anything, I have it set to 0 when I created the variable.

And having something set it made it work, I haven’t had issues with booleans needing to be defined so I figured it just handled everything the same way

Of what type is your “Right Arm” variable? If it’s type is one of your two classes you’re trying to spawn then it’s not compatible with the other classes return value. That means you would try to store your “Shield Test” blueprint in a variable of type “Right Arm Base”, leading to an error. Using “Actor” as variable type instead should be working fine.