Hello,
I want do a simple multiplayer local game,
but I don’t understand how manage the variables of the players between levels
My simple multiplayer game will look like this:
-
a lobby level
to set name, (…skin color and more)
to choose if player host / join the game -
then the game level
play, (interact with environement)
with the player list somewhere in the HUD
quit / back lobby when finish
but I can’t pass the variable “name” from the lobby level to the game level ?
also it’s hard to get a proper player list in HUD*(at my best try the players have the sames names)*
Can you please :
Show me some very simple blueprint, how to pass variables of each player to the next level (if I understand the concept I can improve it)
Also having a variable list of all players ?
Have trouble to understand the local / client variables, and global / server variables, and how to store / save / pass / load them with blueprint.
I already tried the “game instance” blueprint, but the players names on each client look the same.
Thank you a lot
.
These 3 next pictures explain what I try to do
Here in lobby I try to save the name in the player states
Is the CopyProperties and the OverrideWith are set correctly ?
With this nodes I should be able to transfer variable to next level ?
Do I need to call these nodes somewhere ?
Finally I try to get the variable name from the player states, and display it above the player
Thank you