It works fine but when I try to give the UI to multiple players things stop working.
The health bar doesn’t update and only 1 player can see the working health bar.
I use for loop to get all players and give each player the UI.
Like
AllPlayers := GetPlayspace().GetPlayers()
for (X := 0..16):
if (Player := AllPlayers[X]):
BossHPBar.ShowUIForPlayer(Player)
Every player can see the boss health bar but it doesnt update when the boss is hit.
This is the map code if you want to check the bug for yourself lol 4085-2886-5650
I sort of came to that conclusion as well. What I found was that I had to generate a different canvas for each player in order to get it to display to the players. Once I figured that out I figured I was going to have to dedicated a class to this functionality. I started down this road but I think what you just showed is a far more simplistic (meant to read ‘elegant’) way. I will be giving your way a shot.
Thanks a lot of responding and for doing so quickly!