Draw player HUD in multiplayer
I'm a french student just trying to develop a simple multiplayer game. I want to draw a basic UMG (with a health) for each player. Variables such as life, armor etc are on my character's blueprint and are set to replicate. This character blueprint also have a GetHealthRatio function. I have a player controller which should initialize the widget and character reference and the widget reference. He also has to initialize the content of the widget and display it on the player's screen.
This is quite good but, even if the picture of the HUD is drawn, the health percent does not appear whereas it does in SP mode... I know I certainly did a mistake on authority setup (sorry i don't have the real good words...) and I hope you'll be able to give me some tips in order to solve my issue.
Here are my blueprints :
asked Sep 21 '16 at 12:42 PM in Blueprint Scripting
I do not know what the problem is, but I would recommend check this tutorial if you have not already, it will give you great insight on multiplayer systems in UE4: https://www.youtube.com/playlist?list=PLZlv_N0_O1gYqSlbGQVKsRg6fpxWndZqZ
answered Sep 23 '16 at 06:37 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here