it's for a zone capture type game mode, basically points get awarded periodically to the team who controls the zone, control of the zone is changed when a unit enters the zone and a timer starts, say 8 seconds, when the timer ends, which ever team has the most units in the zone is awarded control of the zone.
Here is a template for capturing zones.
In the INIT trigger you may change parameters:
1) Set AREA[0] - choose area on the map.
2) temp_unit[0] - set tower-marker which shows who controls the current area.
3)MAX CAPTURE - the current zone can't be captured more than x units. for example i set 4 units it means:
if you have 99 units in the area then capturing process speed will be like the area has only 4 units.
If you have 10 units of player 1 and 9 units of player 2, then 10-9 =1 it means player 1 start to capturing the area with speed of 1 unit.
If you have 10 units of player 1 and 5 units of player 2 then 10-5=5<4 ->4 it means player 1 start to capturing area with 4 units.
4)TIME TO CAPTURE - time of capturing the area. I set 8.
5)UNIT CAPTURING VALUE - the more unit on the area the larger speed. Each unit decreases time of capture I set 0.5 it means if you have 2 units then every second they would decrease time to capture by 0.5x2 = 1 sec so they need to wait 8 sec to capture the point. If you have 4 units then 0.5x4=2 sec. so they need to wait only 4 sec.
THE PROCESS OF CAPTURING:
TOWER IS NEUTRAL - beat THE TIME OF CAPTURE barrier then tower changed owner to your.
TOWER IS YOURS - You can "reinforce" your area by adding addtional timer to the captured area. Max additional timer can't be larger than TIME OF CAPTURE
TOWER IS ENEMY - Wait "reinforced" timer then the tower turns into neutral -> see TOWER IS NEUTRAL paragraph.