Detect Player Has Left Session

Hello, I’m trying to detect if a player leaves the game (session) so I can notify the other players for UI and so on.

I can’t find anything regarding this in blueprints, am I missing something?

On the GameMode (which is only present on the host), you can hook into the OnPostLogin and OnLogout to detect players joining and leaving.

How did I forget those :smiley:

Thank you!

as a note: I’m also calling Logout function so the OnLogout event is actually called.

currently on UE4 version 4.21.2, there is no OnLogout event available on the GameMode… is this only available using C++ or was it replaced by something else?

sorry for the last comment, I found it. I looked for hours after it, just to find it right after I posted here…