Scripting Animations (499342)

Hi, Can someone please help.

This is the scripthat I am using it works perfect. But It only plays 2 animations I want to play 8 animations. What Am I missing?

using UnityEngine;
using System.Collections;

public class RedDragonAI : MonoBehaviour
{
public float speed = .05f;
public GameObject charModel;

private float _xMove;
private float _yMove;
private RaycastHit _h;
private Transform _player;
private float _distanceFromPlayer;

void Start ()
{
_player = GameObject.FindGameObjectWithTag(“Player”).transform;
}

void Update ()
{
_distanceFromPlayer = Vector3.Distance(transform.position,_player.position);

if (_distanceFromPlayer<=7.5f)
{
if(Physics.Raycast(transform.position,transform.forward,out _h))
charModel.animation.Play(“Attack_001”);
}
else
{
transform.rotation =Quaternion.Slerp (transform.rotation,Quaternion.LookRotation ( _player.position - transform.position),Time.deltaTime*4);
transform.Translate (0,0,.05f);
charModel.animation.Play(“Run”);
}
}
}

6 animations?

Heh, just kidding… what youre missing depends on waht youre trying to do.
Do you want to have different attack animations, then use random.
Do you want a walk animation, check the speed.

From what you wrote one cannot possibly know what youre up for.

LOL
I want to play different attack