I've been working on and off on code that tracks mobs around a player. I am gearing this code for a very slow computer, so that tracking is done like every 2 seconds. I believe a routine like this would be the core to any chanter program. Throw the closest 8 mobs into an array, and have arrays match...
Im trying this script out on a lvl 16 Troll Beastlord. It seems to disregard the camp coordinates I put into it at the @@STARTINGLOCS section. It will pick a random direction away from the loc I give and starts running, usually with disastrous consequences. I am testing this out in Nektolous Forest....