Check out this site. It is a program that gives you soldiers to train to do things using advanced AI, and put milestones after they have learnt someting to make them remember.
For example, shoot them...then punish them for being shot. they will learn to not get shot. Then you put a milestone in .
Iuo. (That's gruntish for I don't know by the way.) Though it is amazing. currently the 'Tamrielic army' can shoot and close in on stuff, go around walls, stick together, follow flags and win battles against the computer. We should set up a mini battle at certain times. PM me if you want a fight.