Get the player character having the controller

I can save the player character in a player controller var but i was wondering if there are other way for get the character that posses a controller

The reason its “OnLogout” / GameMode i want “Un Posses” the character and keep a character reference.


The node you are looking for is “GetControlledPawn()”, the image below show the work flow.
Hope this help.

thanks. i forget that. Unfortunately something not work like i expected.

OnLogout → Warning: Access None “CallFunc_K2_GetPawn_ReturnValue”

Seems in that engine function the pawn its already destroyer or something i not understand yet. I must search more info about that but that not work OnLogout