Hello, I am having an issue with my multiplayer game.
I have a stat bar at the bottom of the players screen that increases over time.
There is also a floating text on the character object that displays what the UI should match with. (it’s backwards)
When the server starts it displays correctly with the player variable matching the UI variable.
However, when a client connects to the server, it swaps the numbers around for the UI. So the client has what should be the servers number and vice versa.
I’ve put all the UI stuff into an event that is not replicated so i’m not sure why it’s getting mixed up. Any insight would be greatly appreciate. Thanks.
This is a straight up guess since I’ve not done anything multiplayer ever, but I believe UI is facing the camera defined by player controller, so isn’t it possible you cannot always use index “0” as a player controller id?
It’s really hard to tell just from this bud that would be the first thing I’d do.
Edit: Reading it again it seems the numbers should be facing that way :D… so the only problem are the values right. Then I think it’s still the ID, but the solution is even more obvious.