I’m attempting to develop a multiplayer hide and seek game but when I try to display a death screen to the hider which gets killed, it broadcasts the widget to the seeker (and presumably the other hiders) and shows the death screen to both characters (actors, pawns?)
I’m on day 2 of my 5th attempt at learning game development (second time trying Unreal) so I apologise in advance for the subpar efficiency of my coding
The order in which I connect the Widget creation vs the Play Montage node didn’t effect it, I have tried using Get Player Controller. The montage and Destroy Actor node only effect the correct Hider, the issue is purely associated with the widget
Any advice or solutions will be greatly appreciated, thanks
Heya Boss, really appreciate the super quick response. I’ve spent the time since your reply watching 2 videos regarding replication and RPC’s and have implemented what I learnt into my Seeker character, but I can’t figure out what you’re suggesting to do. I made the ClientDeathEvent but have no idea where it needs to be plugged into. My attacks are being handled/ traced on the Seeker BP, whilst the damage received is being handled by the Hider BP (which I sent earlier along with the little widget piece). Still puzzled unfortunately. I’ll also attach my damage dealing code incase
Cheers
I think I followed along correctly, although I’m really not sure I was following myself whilst doing it. With the following code, the hider does get hit successfully, IF the Seeker is the server, but not if they’re a client. And the animation is still being sent to the seeker delivering the successful blow? On the bright side it doesn’t get sent to the seeker running as a client, though that leads me to believe that it also isn’t being sent to the hider who dies. I really wasn’t expecting to get this lost until I got into match making and actual SERVER stuff