Hello everyone! Im doing a fighting game in unreal engine 5.4, using blueprints. Basically im having issues with the assignment of each players HP on the “fighting” gameplay part.
The players are an instance of a single Character BP, and in the “fighting” widget, theres 2 instances of the same widget.
In the Graph im assigning each health bar to each player by filtering with their controller ID, but for some reason, when the player 1 hits player 2, player 1 takes the damage but when player 2 hits player 1, player 1 takes damage.
I have been looking at my graph a lot, trying to fix it but i cant. i tried to swap the player 1 and player 2 widget and the equal, but i kept getting more problems with it.
Can somebody help me please??