Hello,
I want do a simple multiplayer game.
I have a lot of trouble to pass the variable set in the Lobby level to the Game level
I understand some concept of server/client but I can’t make it work in Unreal blueprint…
Here the idea:
Each player who start the application go to the Lobby level,
then they set their name/avatar and choose to host or join an existing game.
This is the hud in the Lobby level:
The host/join option work well.
My trouble is the player info data, what is the best way to pass this data to the next level ?
The game level:
As you can see the players have the same names, same avatar…
And in my player list (on top left) it’s hard for me to identify players, id, ping, …
My blueprint folder in Unreal:
so
My questions:
-
What is the best/simple way to pass the variables name/avatar from the Lobby/menu level to the Game level ?
(Everything synchronized so each players can see the correct names/avatar of each others) -
How to have a player list with the names of the players ?
(Synchronized for each players) -
What node(s) in which blueprint(s) should I use ?
(Some screenshot will be great) -
Is it possible to save somewhere global variables through levels for all the players ?
(GameInstance class allow only to save variable through levels per players … and can be accessed only per each player)
Thank you
Any help is appreciated as I’m stuck