I've been working on a map for a while now and have hit a roadblock. To give you guys some background information, my game will have 3 teams, each comprised of one "Fighter" and 2 "Builders". The "fighters" do not have the ability to make or tech units, while the "builders" have access to most of the standard melee units and buildings, and can send their units to the "fighter" to use on behalf of the team. This is done via a trigger that replaces the unit sent with an identical copy at the "Fighter's" base, under their control, and removes the original unit.
The problem is that each team's "Fighter" doesn't have access to any tech/upgrades/research for the units (And I don't want them to either, I want all research to be done exclusively by each team's builders). So lets say "builder" #1 researches the "Iron Forged Swords" tech and sends a footman to the "fighter" on their team. The "fighter" receives the footman, but without the tech (Their attack tech level is still 0). To make things more tedious/complex, each team has 2 builders, both of which could potentially be the same race, researching the same upgrades.
What I need to do is make it so that any research that is completed, by any "Builder" on a team, is carried across for the entire team. So, in the above example, if "Builder" #1 completes the "Iron Forged Swords" tech and sends a footman to red, that footman has the "Iron Forged Swords" upgrade on it. Id like to do this so if both builders on a team are the same race, lets say human, and one researches the "Iron Forged Swords" tech, that the other human builder also has this upgrade so they don't waste their time and money on the same upgrade.
After spending about an hour on various triggers and testing, I realized I have no clue how to do this, everything I've tried has failed outright. Any help is appreciated (I'm bad with triggers so please be explicit with your advice).
The problem is that each team's "Fighter" doesn't have access to any tech/upgrades/research for the units (And I don't want them to either, I want all research to be done exclusively by each team's builders). So lets say "builder" #1 researches the "Iron Forged Swords" tech and sends a footman to the "fighter" on their team. The "fighter" receives the footman, but without the tech (Their attack tech level is still 0). To make things more tedious/complex, each team has 2 builders, both of which could potentially be the same race, researching the same upgrades.
What I need to do is make it so that any research that is completed, by any "Builder" on a team, is carried across for the entire team. So, in the above example, if "Builder" #1 completes the "Iron Forged Swords" tech and sends a footman to red, that footman has the "Iron Forged Swords" upgrade on it. Id like to do this so if both builders on a team are the same race, lets say human, and one researches the "Iron Forged Swords" tech, that the other human builder also has this upgrade so they don't waste their time and money on the same upgrade.
After spending about an hour on various triggers and testing, I realized I have no clue how to do this, everything I've tried has failed outright. Any help is appreciated (I'm bad with triggers so please be explicit with your advice).