How to Respawn a Character

Hello,

Ran into a problem. I’ve a character blueprint for Enemy whose controller runs a behavioral tree. Once player kills enemy character I want to respawn it. I am using SpawnActorAtLocation but that doesn’t work as the enemy character doesn’t move from its place. To move enemy character I am using AIMoveTo Component.
Please help me out on this.

It’s hard to say with such little detail surrounding the code. However, I’m guessing that you hand placed some enemies into the map/level as part of level design and when you kill it during during game play you spawn but they don’t move? If that’s the case, on your pawn where you select which AI controller the pawn uses, there’s another option for auto posses with 3 choices: Placed in World, Spawned in World, and Placed or Spawned in World. Make sure the last one (Placed or Spawned) is selected.

Hope this helps!

Thank you so much sir. Worked like a charm…