Little AI help

Ok so for my game I want there to be around 7 AI that randomly have a target (and you have a target aswell) I also want them to only kill when no one is around. How would I possibly go about doing this?

Well you can start by using a pathfinding library such as A* pathfinding .

Do some of the samples there and there are some follow scripts. Once you have those up and running you should have a better idea to be able to implement what you want.

You can also read up on Seek and Evade behaviours. There are tons of resources on the internet.

What exectly is going on in this game ? Please give more details .