I have them set as default (as an ai encounter) and since were on my team by default i didn't use a script.
Change their team to something else appropriate and add the allegiance function to your script, see if that fixes it. I'm pretty sure broken allegiances are a team-to-team thing, and not unit-to-unit.
Bookmarks