So I tried following the advice that I got somewhere else as well as your suggestions, which as it turns out are both rather similar in set up but I’ve run into a number of problems.
In your setup you have the For Each Loop node connected to a custom event refencing a ‘Health’ integer variable. I assume the ‘Health’ integer variable is supposed to be analogous to the ‘Current Health’ variable I have in my player’s damage setup but I’m not entirely clear as to how that’s supposed to work as I have to create a new variable in the Input tab and I’m not sure how new variable is supposed to interact with the ‘Current Health’ variable in the damage setup.
Meanwhile, in the other blueprint, the other person instead gets a direct reference to the ‘Current Health’ variable connected to the ‘Greater Than’ node. Unfortunately for me though, for some reason I can’t replicate as trying to ‘Get Current Health’ instead results in instead:
Not helping matters is that its been a while since I’ve done anything with Unreal so I’ve forgotten a lot about what I’m supposed to do in matters like .
In addition to my above confusion, I’m also having problems with changing how the hearts are displayed. The problem I’m having stems from the fact that I can only attach the Heart widget to Set Brush from Material which is a problem because the actually heart images are textures not materials. I can connect the Select node to Set Brush from Texture but not the Heart widget, as the Set Brush from Texture node says the target needs to be a “border”, whatever that means. Whereas I can connect the Heart widget to Set Brush from Material but not the Select node, as the textures are incompatible with that node. The Set Brush from Texture Dynamic node does allow me to connect the Heart widget to it but evidently “2D textures” are incompatible with “2D dynamic textures”, so I guess that’s not an option.
I tried creating materials with the two heart textures so that I can just use Set Brush from Material. However, I can’t figure out how to properly set them up, as right now the heart materials just appear as black squares.