ran this script fine for 4 hours, absolute no issues.
the next day i try to run script again and it just keeps picking up the cannon and attacking ogres with only knifes (even though cannon option selected)
*edit* The problem only happens when you have breaks set