- Home /
Question by
LW · Feb 08, 2017 at 07:16 PM ·
networkingclientlobby
Get gamePlayer foreach lobbyPlayer on client
Hi all,
Is there a way to get the gamePlayer object created for each lobbyPlayer on the client as OnLobbyServerSceneLoadedForPlayer
does on the server?
I'm having trouble getting a list of actual players in the game on the client to update.
Thanks,
Comment
Best Answer
Answer by LW · Mar 15, 2018 at 06:57 PM
If anyone else is doing this as well:
I'm assigning the lobby slot index to the game player in the OnLobbyServerSceneLoadedForPlayer()
method and then doing a broad update command which iterates over each client and calls the rpc.
I hope that helps!
Your answer
Follow this Question
Related Questions
Multiplayer client-detect 1 Answer
SetClientOwner m_ClientAuthorityOwner alread set! 2 Answers
OnClientExitLobby Bug? 0 Answers