Network communication between players not working

Hello there!

I’ve been struggling with a little problem today, and I for the love of god can’t find the answer to solve it.

The thing is: I have a networked game, with two different Characters and a dedicated server. I followed the Content Example example on networking and online games to include these two players on my game.

Now that they are mostly set, I want them to be able to “talk” to each other, more specifically to activate and turn off the health loss of the other player (just some tests). As in, Player 1 hits his button, Player 2 starts losing health. Player 1 hits it again, Player 2 stops losing health.

For the moment, I got these blueprints done. Whatever you see here, it’s the same thing for the other one, since both players got the same logic:

Here it’s the 1st player’s BP: he got his own custom event for losing life, the event that procs this, a condition to enable or disable this life losing and a custom event that directly calls its own life losing event by hitting a button in its assigned gamepad. This works flawlessly, being able to make both players to activate and disable their own life-loss. The problem is the next part.


This is the 2nd player’s BP, in which I do a single line trace to the world to check if I’m hitting it or not (desperated measures). I also check at the end if I hit it, print some random stuff if I don’t hit the other player or the casting fails, and change the variable of the other player, which in turn would result in the activation or disabling of its life losing:



Now, these are pics of the ingame result of all this. In the first one you can see that, since I’m not hitting the other player, the logic behaves accordingly, printing the correct stuff:


In the second one, though, it’s pretty clear that I’m both hitting accordingly the player and setting his variable correctly, but this doesn’t start nor stop the life losing process:


I’m sure I must be doing something wrong, but I really can’t find anything that helps me with this. Is this a replication issue? It would be awesome to get a clue on what the problem is. Thank you in advance!