<--- This solved my problem, thank you! <3set bool_group = units in <region> matching (matching unit is in <your_group>)
if number of units in bool_group greater than 0....
set group1 = units in <region> matching (matching unit is in <first_group>)
set group2 = units in <region> matching (matching unit is in <second_group>)
if then else
if number of units in group1 equal to 1 and number of units in group2 equal to 1
then
....do whatever actions
else
Team 1 timer
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Raiders_Units and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(King of the hill <gen> contains (Picked unit)) Equal to False
Then - Actions
Countdown Timer - Pause King_timer[1]
Countdown Timer - Hide King_timer_window[1] for Player 1 (Red)
Countdown Timer - Hide King_timer_window[1] for Player 2 (Blue)
Countdown Timer - Hide King_timer_window[1] for Player 3 (Teal)
Countdown Timer - Hide King_timer_window[1] for Player 4 (Purple)
Countdown Timer - Hide King_timer_window[1] for Player 5 (Yellow)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Elite|r) and (((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Pyromaniac|r) and (((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Sniper|r) and ((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Task Force|r)))
Then - Actions
Countdown Timer - Pause King_timer[1]
Countdown Timer - Hide King_timer_window[1] for Player 1 (Red)
Countdown Timer - Hide King_timer_window[1] for Player 2 (Blue)
Countdown Timer - Hide King_timer_window[1] for Player 3 (Teal)
Countdown Timer - Hide King_timer_window[1] for Player 4 (Purple)
Countdown Timer - Hide King_timer_window[1] for Player 5 (Yellow)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
More_then_one_in_rect Equal to True
Then - Actions
Countdown Timer - Pause King_timer[1]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Has_already_been_in_region[1] Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer_is_dead[1] Equal to False
Then - Actions
Countdown Timer - Resume King_timer[1]
Countdown Timer - Show King_timer_window[1] for Player 1 (Red)
Countdown Timer - Show King_timer_window[1] for Player 2 (Blue)
Countdown Timer - Show King_timer_window[1] for Player 3 (Teal)
Countdown Timer - Show King_timer_window[1] for Player 4 (Purple)
Countdown Timer - Show King_timer_window[1] for Player 5 (Yellow)
Else - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer_is_dead[1] Equal to False
Then - Actions
Countdown Timer - Start King_timer[1] as a One-shot timer that will expire in 60.00 seconds
Countdown Timer - Create a timer window for King_timer[1] with title King of the hill:
Set King_timer_window[1] = (Last created timer window)
Countdown Timer - Show King_timer_window[1] for Player 1 (Red)
Countdown Timer - Show King_timer_window[1] for Player 2 (Blue)
Countdown Timer - Show King_timer_window[1] for Player 3 (Teal)
Countdown Timer - Show King_timer_window[1] for Player 4 (Purple)
Countdown Timer - Show King_timer_window[1] for Player 5 (Yellow)
Countdown Timer - Hide King_timer_window[1] for Player 6 (Orange)
Countdown Timer - Hide King_timer_window[1] for Player 7 (Green)
Countdown Timer - Hide King_timer_window[1] for Player 8 (Pink)
Countdown Timer - Hide King_timer_window[1] for Player 9 (Gray)
Countdown Timer - Hide King_timer_window[1] for Player 10 (Light Blue)
Set Has_already_been_in_region[1] = True
Else - Actions
Do nothing
Team 2 timer
Events
Time - Every 0.70 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Stompeak_Units and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Elite|r) and (((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Pyromaniac|r) and (((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Sniper|r) and ((Unit-type of (Picked unit)) Not equal to |cffFFCC00Space Orc Task Force|r)))
Then - Actions
Countdown Timer - Pause King_timer[2]
Countdown Timer - Hide King_timer_window[2] for Player 1 (Red)
Countdown Timer - Hide King_timer_window[2] for Player 2 (Blue)
Countdown Timer - Hide King_timer_window[2] for Player 3 (Teal)
Countdown Timer - Hide King_timer_window[2] for Player 4 (Purple)
Countdown Timer - Hide King_timer_window[2] for Player 5 (Yellow)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(King of the hill <gen> contains (Picked unit)) Equal to False
Then - Actions
Countdown Timer - Pause King_timer[2]
Countdown Timer - Hide King_timer_window[2] for Player 1 (Red)
Countdown Timer - Hide King_timer_window[2] for Player 2 (Blue)
Countdown Timer - Hide King_timer_window[2] for Player 3 (Teal)
Countdown Timer - Hide King_timer_window[2] for Player 4 (Purple)
Countdown Timer - Hide King_timer_window[2] for Player 5 (Yellow)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
More_then_one_in_rect Equal to True
Then - Actions
Countdown Timer - Pause King_timer[2]
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Has_already_been_in_region[2] Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer_is_dead[2] Equal to False
Then - Actions
Countdown Timer - Resume King_timer[2]
Countdown Timer - Show King_timer_window[2] for Player 6 (Orange)
Countdown Timer - Show King_timer_window[2] for Player 7 (Green)
Countdown Timer - Show King_timer_window[2] for Player 8 (Pink)
Countdown Timer - Show King_timer_window[2] for Player 9 (Gray)
Countdown Timer - Show King_timer_window[2] for Player 10 (Light Blue)
Else - Actions
Do nothing
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Timer_is_dead[2] Equal to False
Then - Actions
Countdown Timer - Start King_timer[2] as a One-shot timer that will expire in 60.00 seconds
Countdown Timer - Create a timer window for King_timer[2] with title King of the hill:
Set King_timer_window[2] = (Last created timer window)
Countdown Timer - Hide King_timer_window[2] for Player 1 (Red)
Countdown Timer - Hide King_timer_window[2] for Player 2 (Blue)
Countdown Timer - Hide King_timer_window[2] for Player 3 (Teal)
Countdown Timer - Hide King_timer_window[2] for Player 4 (Purple)
Countdown Timer - Hide King_timer_window[2] for Player 5 (Yellow)
Countdown Timer - Show King_timer_window[2] for Player 6 (Orange)
Countdown Timer - Show King_timer_window[2] for Player 7 (Green)
Countdown Timer - Show King_timer_window[2] for Player 8 (Pink)
Countdown Timer - Show King_timer_window[2] for Player 9 (Gray)
Countdown Timer - Show King_timer_window[2] for Player 10 (Light Blue)
Set Has_already_been_in_region[2] = True
Else - Actions
Do nothing
Check units in region
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Set Raider_Units_Bool_group = (Units in King of the hill <gen> matching (((Matching unit) is in Raiders_Units) Equal to True))
Set Stompeak_Units_Bool_group = (Units in King of the hill <gen> matching (((Matching unit) is in Stompeak_Units) Equal to True))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Number of units in Raider_Units_Bool_group) Equal to 0) and ((Number of units in Stompeak_Units_Bool_group) Equal to 0)
Then - Actions
Set More_then_one_in_rect = False
Else - Actions
If (((Number of units in Stompeak_Units_Bool_group) Greater than or equal to 1) and ((Number of units in Raider_Units_Bool_group) Greater than or equal to 1)) then do (Set More_then_one_in_rect = True) else do (Do nothing)
Win for team 1
Events
Time - King_timer[1] expires
Conditions
Actions
Set Timer_is_dead[1] = True
Countdown Timer - Destroy King_timer_window[1]
Game - Display to (All players) the text: (The Raiders + Have won king of the hill!)
Trigger - Turn off show all times <gen>
Win for team 2
Events
Time - King_timer[2] expires
Conditions
Actions
Set Timer_is_dead[2] = True
Countdown Timer - Destroy King_timer_window[2]
Game - Display to (All players) the text: (Stompeak + Have won king of the hill!)
Trigger - Turn off show all times <gen>