How can I make it so clients can harm people?
I have a line trace that when it hits a player, it should damage the hit target but with this configuration, only the Server can damage people. (Multiplayer)
This blueprint is in the player's event graph because I like having everything on one screen and not worrying about linking everything together. I'd like to keep it that way if possible. I'm not too worried about each of the clients handling things.
What I think is going is when a Client gets to the "Apply Damage" part, it stops. Only the Server is allowed through to setting the health, meaning only the Server can damage people because "Hit Actor" is only set on the person shooting.
asked Dec 04 '16 at 12:36 AM in Blueprint Scripting
To stop cheating on the client side only the server is allowed to apply damage. This is by design. Then after the server applies the damage, the health of your character is replicated back to all clients. Then the updated health value can be used to update the client HUD.
answered Dec 04 '16 at 01:34 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here