Hi!
Are the Hud (Hud bp class )only on the server side? using the Get player controller 0 only works on the listen server?
I can get a weapons cross hair to move on the listen server but not on the clients.
Hi!
Are the Hud (Hud bp class )only on the server side? using the Get player controller 0 only works on the listen server?
I can get a weapons cross hair to move on the listen server but not on the clients.
Hey Numbat,
I did a quick google search and found this thread that should help you resolve the exact issue you are having!
I believe as stated in a post in the thread that you would want to use player index of 1, as 0 I believe is the server technically when running the client and the server off the same computer.
It covers everything I would have suggested, and then some. Hope this helps.
Are you trying to create a HUD with a UMG widget blueprint? I create the widgets locally (The owner only). If you don’t, you will be creating multiple widgets on the server for each client that joins along with a widget for the client. This can also cause widgets to seem to only update on the server. Things like health, energy, etc, should be replicated and in the UMG widget blueprints should have it bind to health bar, text, w/e. I also never use anything that gets players index. Getting player controller index works fine for single player games but I always run into issues on multiplayer games. Try using get owning player controller or pawn.
Thanks!
It’s a BluePrint Hud Class, but i’m probably just lost in the land of replication