Bots AI (navmesh, nearest enemy and enemy in radar) and spawn points.

I saw there some threads about problem with nearest enemy, bot navigation and spawn points. I made something, what can help.

The Always in " Main Empty " is set on 4000, because the bots sometimes arent spawned and the always sensor correct the fails. Also the always sensor spawn the bots when the game start. The problem is probably in random actutator.


AI.blend (748 KB)

Maybe agoose 77 could make it better if he has the time.It seems very complex right now.
It is not staying on the navmesh all the time?What could be causing that?I would like to simply add my own nav mesh but it doesnt work.