Behavior tree

IF i posses to the second character and posses to the first character.the second character does not follow me more

If I was to guess I’d say the pawn you’re unpossessing ends up without a controller. Before possessing an AI controlled pawn try getting and storing that pawn’s AIController, and then repossess the pawn with that AIController once you’re done with it. Let me know if it solves issue.

Cheers,

–mieszko

I try this but is do not work can you send me a example image

A Pawn has only one Controller at a time, whether that’s AIController or PlayerController. When you posses a pawn with a player controller you loose all information regarding it’s AI controller, unless you store that information first, before possessing by the player controller. Once you unposses with the player controller you gotta call Possess with the AIController so that regains the control over the pawn.

This is all the information you need, you’ll figure it out :wink:

can you write the call funcion steps for the reposses and unposses because i can not fiqure it out is very difficult but it is possible because i see it in magna carta 2 this game create with unreal engine 3