You could use Intense-X to realize that project. Saves a lot of time and nerves. It comes with a nice Ai system for enemies, Pathfinding, weapon scripts and much more: www.intense-i.com.