[QUOTE=TNR360;177971]I kind of figured out how the game should check who the winner is at the end of the round-
axis flags - 0 1 2 3 4
allied flags- 4 3 2 1 0
so if accum is 4 allies have all the flags
if its 3 allies have 3 and axis have 1
can the game end on a tie? so if its 2 - 2 will it end? or does it wait for another flag to be captured?
how can I get this implemented into script but only checked at the end of the game?[/QUOTE]
The game can only end on tie, if you have set wm_setwinner -1 and you trigger wm_endround. It won’t end when the round expires, if it’s -1, but will end with wm_endround. That’s why there’s the trigger timelimit_hit. Note that it executes only when the wm_setwinner is set 0/1.
You can inc 1 an accum when allied caps and inc -1 if axis cap. Then when the time expires, check if the accum is bigger, equal or smaller than 0 in the trigger timelimit_hit.