I’m currently working on a multiplayer fps. I took the network example project from the unity website, and build everything else arround that.
My problem is that I cannot sync the hitpoints between the clients. The players get hit on one client and hitpoints are reduced, but all other clients ignore the change.
NetworkSyncHitpoints.cs has the code for synchronisation. It’s basically the same as NetworkSynchAnimation-file from the example project.
I would really appreciate if somebody could help me or tell me another way to do syncing. Thx
203346–7496–$networksynchitpoints_373.cs (678 Bytes)
203346–7497–$networksyncanimation_166.cs (1.21 KB)