Ok i just made a new unit and i want to give it the ability that it cant be destroyed untill wing man are gone( just like darth vader) I want the wing man to be a-wing and have 2 of them.
I don't know, but I'd recommend looking at the TIE Advanced coding and hero squadron coding. As well as possibly the container coding. The coding of the TIE Advanced itself is in UniqueUnits, I don't know about the squadron. Container is in Containers.
Give this line of code to the main starfighter. Yes So if the main starfighter is a X-wing, it redirects damage to the A-wings and the X-wing won't lose health or be destroyed.:cool: