ChrispiZ, the crashes only happen when I changd aspects of allyfight to get the bot to shoot enemies and follow the player.
Every time the bot comes to the player and goes into the wait state it crashes on anin dist "wait"
Then to avoid that , no matter what I do, it reverts back to shooting the player.
I dont think I can do anything with it but I do think the solution is to change the 'identifiers to recognise 'player' as the one to follow unless 'player' shoots it.
Its too good to let up on, so I'm going to keep pluging at it in my spare time.
Cheers.