I am working on a Builders & Fighters map for SC2 (inspired by similar maps in WC3) and it kind of works. If you don't know how Builders & fighters works, read the next paragraph. If you do, skip it. In Builders & Fighters there are two teams, both of which have 2 builders and 1 fighter. The builders are there to make units for the fighter (builder sends the unit to a specific location and the unit is teleported to the battlefield and given to the fighter) and the fighters will use those units to fight the other team. Otherwise it seems to work fine, but upgrades don't carry over when a unit is transferred from a builder to a fighter. Currently I am doing this by instantly moving the unit (teleporting it) to the battlefield and changing its owner through the "change owner" event. The upgrades researched by the builders don't carry over and I would like it if they did. I thought about instead of simply changing the unit's owner, I thought I could instead remove the builder's control of the unit and give the control to the fighter. This way the owner of the unit would still technically be the builder but only the fighter would be able to use that unit. The thing is, I don't know how to make it work like this. I could not find an event for making a unit uncontrollable by a player and controllable by another. If anyone has any ideas on how to make it work, please tell me. Or if you have any alternative way of making the upgrades carry over, please tell me.
Alright. Keep your current triggers the way they are, then add the following: Event: Unit - Any Unit research progress is Completed Condition: Or -Condition: (Triggering player) == TEAM1BUILDER1 -Condition: (Triggering player) == TEAM1BUILDER2 Action: Tech Tree - Add 1 to (Triggering progress upgrade) upgrade for player TEAM1FIGHTER The trigger will fire whenever any research is completed. However, the trigger will check if the player who researched that upgrade is Team 1's first builder OR Team 1's second builder. Do not forget the Or, it is important. Without the Or, the trigger will never fire because it will require that the research be completed by one player with two different IDs. The action will increase that researched upgrade level by 1 for Team 1's fighter. Most upgrades only have 1 level, but make sure you use the Add rather than Set because Damage/Armor upgrades have more than one level. Duplicate the trigger for team two, replacing players accordingly. Drawbacks: -Let's say Team 1 Builder 1 researches Zealot - Charge, and Team 1 Builder 2 builds zealots and gives them to the fighter. Even though Builder 2 did not research Charge, the zealots will still acquire the ability when they switch to Team 1 Fighter's control. -Solution (Kind of): The triggers can be reworked so that whenever either builder researches something, it is automatically given to both that builder's fighter and other builder. While this doesn't solve the above, it will ensure that both builders on one team end up researching the same upgrade twice. If you want to do this solution, ask and I will show you how.