How to get AI ( Boots )

Hey, I've just finished some of my maps to my game and I've added my own character to the game but I want some enemy boots ( AI ( I got character and animations for the boot's ). It's an fps game so I want them to shoot. Anyone know a good tutorial or can easily tell me here in the forum ? I would love them to be ''Free for All''.

I dont know if you can use this. This is a VERY simple AI, it could be a starting point though.

    var distance;
    var target : Transform;    
    var lookAtDistance = 15.0;
    var attackRange = 10.0;
    var moveSpeed = 5.0;
    var damping = 6.0;
    private var isItAttacking = false;

    function Update () 
    {
    distance = Vector3.Distance(target.position, transform.position);

    if(distance < lookAtDistance)
    {
    isItAttacking = false;
    renderer.material.color = Color.yellow;
    lookAt ();
    }   
    if(distance > lookAtDistance)
    {
    renderer.material.color = Color.green; 
    }
    if(distance < attackRange)
    {
    attack ();
    }
    if(isItAttacking)
    {
    renderer.material.color = Color.red;
    }
}

function lookAt ()
{
var rotation = Quaternion.LookRotation(target.position - transform.position);
transform.rotation = Quaternion.Slerp(transform.rotation, rotation, Time.deltaTime * damping);
}

function attack ()
{
    isItAttacking = true;
    renderer.material.color = Color.red;

    transform.Translate(Vector3.forward * moveSpeed *Time.deltaTime);
}

This AI will remain passive until you get close enough. When you get close enough it will look at you. When you get even closer it will run after you until you exit its "attack zone" It wil change color for green to yellow to red when the AI is passive, looking at you and when it attacks you.

Just assign the target you want the AI to follow/Look at in the inspector. This AI can easily be improved.

If you have any questions just ask. :)