After an upgrade is complete I want the building to unload an existing unit in it's cargo and change it's unit type to another type of unit.
For example I have five Civilians loaded into a Command Center and I just finished researching an upgrade. How might I go about changing a single Civilian into an SCV (keeping it's current hp%) and then unloading it? Only one Civilian will be changed and unloaded each time this upgrade is researched.
I would just use an Effect - Instant ability in this case. The ability would use an Issue Order effect to force the unloading of a unit and the Transport ability would order the civilian to morph the moment it's unloaded.
Rollback Post to RevisionRollBack
Assistant Team Leader of "Generic Code" and User of the All-Mighty Data Editor.
Try Mercs of the Dark System, a RTS/MOBA hybrid.