Animation DEAD?

Hi, so... I have a third person player with Third Person Control and I want to dead the third Person Player, I have the animation but don't work, I used animation.stop(), animation.player, animation.CrossFade(), animation.CrossFadeQueued()... and don't work... =(

I want my player execute the animation "dead " how do I make?

thanks!

function Update ()
 {
     if (lives <= 0)
     {
         animation.Play("dead");
     }
 }

If your lives number is equal or lower then 0 - play the "dead" animation. Not such a big problem...

I suppose you could do this

  function Update()
    {
       if (lives <= 0 )
    {
           animation.Play("dead");
           //use a yeild couritine to give the game time to play the animation//
           yield WaitForSeconds(1);
           //just put in how much time you need for the animation to play

    }

    }

This is not what you asked for but may help