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
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.
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
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.