# Variable Not Syncing

**URL:** https://discussions.unity.com/t/variable-not-syncing/493377
**Category:** Scripting
**Tags:** Scripting
**Created:** [December 24, 2012, 4:45pm UTC](https://discussions.unity.com/t/variable-not-syncing/493377 "2012-12-24T16:45:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sherlockturtle](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@sherlockturtle](https://discussions.unity.com/u/sherlockturtle)
#### Post date: [December 24, 2012, 4:45pm UTC](https://discussions.unity.com/t/variable-not-syncing/493377/1 "2012-12-24T16:45:41Z")

</div>

On my bullet script when I shoot someone it changes there health but only on my side not theres. I have network views on all the nessasery objects. And I tried useing an RPC function to change the health varialbe of the character but it still only worked on my side. Is there a simple way on collision to get the objects script and remove a few points from it (health points)?

---

<div class="post-metadata">

### Author: ![DryTear](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/drytear/32/228077_2.png) [@DryTear](https://discussions.unity.com/u/DryTear)
#### Post date: [December 24, 2012, 5:40pm UTC](https://discussions.unity.com/t/variable-not-syncing/493377/2 "2012-12-24T17:40:25Z")

</div>

i know that youre focused on your type of programming or a tutorial. but take a look on google"gamertogamedeveloper". he shows how to make networked game and has a solution to your problem - on video 3 - 6
