If anyone is interested the bug is caused by manually placed (allied) units on Eden, the workaroud is to set every unit to "safe" in the editor. If one scripted AI spots a non-scripted allied AI with "aware" (or beyond) state it will switch to combat mode or aware. I will look into the code as i have the time, i grave digged this script for a mission of mine last week and is very well done, would be a shame to leave it like that 😄