I am trying to make a trigger for a map that will replace one unit with another after a reserch is done. the units i was using were a footman and a knight. I just cant get my trigger right this is what i have so far.
event
conditions (Researched tech-type) Equal to Iron Forged Swords
actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Footman) and do (Actions)
Loop - Actions
Unit - Replace (Triggering unit) with a Knight using The old unit's relative life and mana
I am pretty sure i need an event but i am not sure what to set it to. any advice would be help full.
event
conditions (Researched tech-type) Equal to Iron Forged Swords
actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Footman) and do (Actions)
Loop - Actions
Unit - Replace (Triggering unit) with a Knight using The old unit's relative life and mana
I am pretty sure i need an event but i am not sure what to set it to. any advice would be help full.