How to repossess third person character

Currently I have a boat script and my Third Person script, when you get near the trigger to get in the boat, and press the f key, I can possess the boat pawn just fine. However when I press the f key again to possess my Third Person character again(the one from player start) it doesn’t do anything. I created a ref to the class and I’ve tried casting, neither one worked. If I spawn a new Third Person and possess it, it works but that isn’t what I need.

246352-capture.png

You should connect the ‘player ref’ to the Player Controller node. I’m under the assumption that the boat and character have different controllers.

please show the code where you set the pmayer Ref variable and the code where you repossess the character pawn

Did you ever find the answer? After I possess another character, i cant seem to get control back of the first instance of thirdpersoncharcter I was using.

This might not be exactly what you’re asking but I had a similar problem and resolved it after watching Matt Aspland. He’ll show you how to switch back&forth between your two characters. Ps: I’m new to UE4 so please forgive me if it doesn’t help.\:sweat_smile:/