Actually, the trigger up there is a rough draft. The one i implemented in game checks for amount of players, and does victory for both scv/archons with one group and one trigger.
Damn the above triggers are ineffeicient.
Here's a walkthrough for both victory and defeat triggers.
Defeat for scv's:
Make a new global variable called SCV_Group and make it a Unit Group type variable.
Make a trigger called Initializer. Make it like this:
Events -
Time Elapsed - 0.0 Game time.
Actions -
Pick every unit in Playable Map area of type: SCV (Whatever the escapist unit is) and do actions
Actions - Add Picked Unit to SCV_Group
Then make a new trigger called SCV Remover.
Events -
Any Unit Dies
OR -
Conditions - Dying unit is in SCV_Group
Conditions - Dying unit is unit type of Archon
Actions -
If -
SCV_Group = Empty Unit Group
Then - Show Defeat message to enemies of Archon player (You would have to customize this, since i don't know what team or player the archon is).
Else - If -
Unit type of dying unit is Archon
Then -
Defeat Player Owner of Dying Unit
Victory message to enemies of Player Owner of Dying Unit
Remove dying unit from SCV_Group
Actually, the trigger up there is a rough draft. The one i implemented in game checks for amount of players, and does victory for both scv/archons with one group and one trigger.
Events - Time Elapsed - 0.0 Game time. Actions - Pick every unit in Playable Map area of type: SCV (Whatever the escapist unit is) and do actions Actions - Add Picked Unit to SCV_Group
Then make a new trigger called SCV Remover.Events - Any Unit Dies OR - Conditions - Dying unit is in SCV_Group Conditions - Dying unit is unit type of Archon Actions - If - SCV_Group = Empty Unit Group Then - Show Defeat message to enemies of Archon player (You would have to customize this, since i don't know what team or player the archon is). Else - If - Unit type of dying unit is Archon Then - Defeat Player Owner of Dying Unit Victory message to enemies of Player Owner of Dying Unit Remove dying unit from SCV_Group