Need help with learning AI

Blitz3D Forums/Blitz3D Beginners Area/Need help with learning AI

There's a program in the code archives that does exactly what you want (if you want to look).