possess already existed pawn?
I have a character A which is the main character of my game. i have used below method to spawn another character and possess it. its works no problem till then.
but now i want to possess my previous character A (main character) without re-spawning it? i dont know how to get reference of my main character into my 2nd character blueprint??
i just want to change characters which are inside level now i dont want to cycle characters but specifically select the one i want to select. and possess it!
asked Mar 18 '15 at 01:27 PM in Blueprint Scripting
You could save a reference to every character you want to use inside of your character and just use that one to change it.
If you just want it inside of your character you can create a variable of the type of your first pawn (in your second one or a reference of your second pawn in your first one), make it editable and also enable "Expose on spawn". When you spawn it, it will create an additional pin where you can provide your other pawn to or in the case that you just spawn it inside of your character save it right after that in a variable.
I hope this was understandable^^
answered Mar 18 '15 at 01:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here