How do I possess a pawn from an array spawned

I’m assuming you have all your characters inheriting from a base class of some sort? That handles like… health, damage, status effects, etc? If so, then cast to that base class after spawning the actor, then you should have no problem possessing that.

Hi, I’m working on a little local brawler type of game in which players choose their character (from a pool) then spawn them in a map. I get my array filled, that’s not the issue.

My issue is when I use the Spawn actor node, if I don’t choose from the drop down menu the actor and connect my array to it instead (I even tried using the select node, I get the same issue) I can’t possess my character cause the system doesn’t recognize that I will spawn pawns and it comes out as an “actor”.

Here’s my setup Imgur: The magic of the Internet

Thanks for the help!

I was not, they were all different actors/characters, i’m going to try to make a base class for them and see if that works, thanks for this, I’ll give it a try.

It worked, thank you for your help :slight_smile:

No problem! Glad I could help.