Hello everyone, I have a replication problem in a situation I shouldn’t have, when an enemy attacks my host player (i.e. in a client server system). He takes damage but the life bar doesn’t display it and the client also takes damage, in the first image you can see it in print in blue.
Then, with the client, the bar interacts, but this time for both players (at least the host and the client).
the problem is that I’ve tried to remove all replication of enemies, and put them in, but nothing changes, same for the main character whose widget I’ve put in viewport unlike before which was just created, and I don’t see any way to deactivate replication in the widget unless I don’t know the trick.
and if I have to set the variable that modifies the widget in onrep to modify them in the create onrep function, then it must go through the main player and not the enemy?