Possibly, or maybe there's a chance to peacefully convince them to defect to the human's side. possibly an additional research tree or something?
Yeah, whether actual brainwashing or civilised argumentation is a matter of lore; I was just making sure that you want to use captured units for this.
I don't have an actual code for this right now, but the steps would be:
- Create a new soldier type, name it to example STR_SECTOID.
- Make a new manufacturing project which requires a live Sectoid and has the flag spawnedPersonType, pointing to STR_SECTOID.
This is the gist of it; the rest are details.