Network Animation Problem

Hi I have a little problem with my network animations in my game.
The problem is that if my character does a animation, all the other player do it same.

function Update () {

if (Input.GetAxis(“Vertical”) > 0.2)

  animation.CrossFade ("walk1");

else

animation.CrossFade ("idle1");

}
 
PLS HELP !!

Putting:
if(!networkView.isMine)
return;

At the start of your Update will stop the other animations, but then your other characters won’t just animate when they move - instead you could check for how far the character has moved since the last frame and use that to cross fade your animations, this will work for both the controlled character and the other players.