Here I am, helping another person make sense of his AI.. when it hit me, most everyone here probably doesn't realize the GREATNESS of qbasic! Yes, it's old, and slow, and isn't nearly as COOL as DB... BUT.... they have the best tutorials ever created!
You may want to skip the asm tuts, and the art tuts (maybe) but the ones you want are the ones that deal with logic!
here's a great link
http://www.petesqbsite.com/sections/tutorials/othertuts.shtml
This is how to properly do AI/non-ai objects (including players) all in one fell swoop
http://www.petesqbsite.com/sections/tutorials/zines/qbcm/5-object_rpg.html
I read that years ago and it's helped me so much.. If you work it a bit, there's even ways to speed up the technique..
Yes these are qbasic, so you won't be able to just pop it into DB and expect it to work, that's not the point, the point is to study what's going on, so you too can do the cool stuff that they don't tell you in the codebase
This may apply to even experts here so I hope they too see this thread, so please PLEASE when asking questions, check these first! And if you're asked a question, point them here if it applies. The links may just answer your questions!
Yarr join teh New and Improved LoGD!