ai will not attack

If Determine Weapon is failing I would place a breakpoint within that task to determine why it is failing. A possible cause could be that there aren't any weapons available for the distance that you are trying to attack.
 
Ok, where is the distance located again, and I seen there were a lot of changes within the update since I have been on
 
Top