How to get notify when a client joints or leaves the server?
I am trying to get all the players that are there in the server .Currently I am using get All Actor Of Class node on every 2 seconds as my game requires them all to compare their attributes and then rank them accordingly . but its lagging due to it . So is there a way to get the player that joins the server and store it and when player leaves, it fires an event to let the server know a player has left and clear the space .
U can use the GameMode Login/Logout methods for that. For getting the connected played list u can use the GameState PlayerArray property instead of iterating trough the game actors
answered Dec 11 '15 at 12:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here