Can't use "Spawn actor from class" return value
I want to be able to set my "PlayerClassToSpawn" variable to a different Player on a button press. However, the problem is when I use this variable in the class slot in the Spawn actor from class node, I cant use the return value anymore in the possess node.
Why is this? and how do I get around this problem?
asked Feb 13 '19 at 04:44 PM in Blueprint Scripting
This is because you can only "possess" pawns or characters and since the "Spawn Actor From Class" node could potentially spawn a non-possessable actor it won't allow you to use a node with it that is potentially incompatible. Below are screen shots explaining the issue and how to fix it.
answered Feb 13 '19 at 05:05 PM
Nebula Games Inc
Follow this question
Once you sign in you will be able to subscribe for any updates here