Hi there, sorry for my bad English, but please help me!
I read all the topics on forum about sync object, but I didn't understand and I can't do what I want.
I'm creating a multiplayer shoot game like the tutorial made by Ashley, but with a difference: this game got two teams, like a deathmatch. So, I've two different peers, teamblu and teamred and right now works all fine, except to destroy the peer killed.
As you can see in the image below, I put a condition to destroy the peer when health is under or egual to 0:
If I put this in the host group, the peer is destroyed for host and after circa 3 seconds will be destroyed for peer too.
If I put this in the peer group, the peer will be destroyed for peer only..
The hit method for bullet is similar, but works fine, so I think this depends on variable health
Can anyone help me? I've tryed several solution, but without any result. Thanks!