Simple solution: don't let the AI take control of your units As I stated elsewhere, the AI is hardcoded and we can't do nada about it.