Issue with secondary character stopping chase behavior after possessing and unpossessing

Hello everyone, I’m hoping someone can help me out with an issue I’m struggling to solve. As you can see in the video, I have two characters that I can possess. The second character can also follow me. The problem is that after possessing the second character, it stops following me and just stands still. However, the event that makes it chase me is still being called every 3 seconds using the “Set Timer By Function Name”. How can I make it so that every time I repossess Player 1, the second character resumes chasing me? Thank you very much.

It must have had an AI Controller possessing it to begin with, and then when you take control of it with the PlayerController, then it is no longer possessed by the AI Controller.

You’ll probably want to save the original AIController of the pawn somewhere, and then tell it to Possess the Character when you’re done possessing it.


Great, that’s what I was missing. When I possessed Player 2, it switched from “AI Controller” to “Player Controller”. When switching back to Player 1, Player 2 remained as the “Player Controller”. Just as you mentioned, I needed to regain control of the “AI Controller” for Player 2. Thank you very much for your help. :grinning:

1 Like