So, a bit more code glue stuff which might come in handy:
AIProvider
Enables an AI simmilar to creative mode, but also works in bounty hunter mode and can be toggled by code glue. Useful for some more advanced mods. Also has a “ChildrenInheret” booleen which changes wether ships assigned to fly in formation will also have the AI of the mothership.
CommandToggle
Simple code glue toggle which activates when command control in available.