I have a widget that is a component in my character blueprint that contains a display name text component, and a health bar component.
The players connect to a dedicated server session, and the problem is that I am unable to get the player that just joined the session to have the name and health automatically placed on the already in game players. But all the already in game players can see the new player’s name and health (player name is already saved in the player state before joining the session).
These will be noobie questions, but here I go:
1- In the “Event OnPostLogin” in Game Mode, what is the best practice to display the names of all players that are already in the session? (Player name and health are saved in the player state)
2- Is it bad to multicast to all clients when a player joins, and loop every actor of type character and set the display name and health bar based on the variables in the player state?
Any help is most appreciated
Thanks in advance!