Host player doesn't die
Hello!Recently,I started creating a third person multiplayer shooter. But the player that hosts the game can't be killed even if the host can kill a player that has joined. I created an int variable named health so when it colides with the bullet it goes to zero and the actor is destroyed,if this helps any of you.
asked Dec 01 '16 at 12:44 PM in Using UE4
Ah, I believe I know the problem. Sounds like you are most likely only handling damage on the server and not allowing clients to talk to the server. Also, with the pending kill it is most likely because you are trying to destroy the actor before they are "killed" per-say. Some screen shots of your code would help a lot in getting to the bottom of your problem.
Are you using any RPCs when you press the "fire" button?
answered Dec 03 '16 at 07:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here