I am trying to make a battlefield style map, but I can't figure out how to make the game end. It could either end when a player group or team reaches a combined goal of X kills, (or combined resource of 0). Another way would be like the melee win conditions, except that all buildings and units on an entire team must be completely destroyed. Any help is much appreciated.
I guess I should have worded that better. I know how to end the game, but I can't figure out how to set up the conditions / events to end it one of the ways I described. I'm going to do more experimenting, but if anybody has any suggestions, that would be great.