I need someone to help me fix this:
What I want done is IF Player_Kills is equal to or greater than Win_Points_Cap THEN whoever is an ally of Player 1 Red or Player 6 Orange, it gives a game message saying, "The West Team (Red's Team, 5 players) or The East Team (Orange's Team, 5 players) has won the game!"
But it doesn't do that at all. I don't know if I have my GUI out of order or what, but I need someone to help me arrange it so it is in proper order.
Everything else works just fine BEFORE the condition IF player_kills equal to or greater than Win_Points_Cap
Thank You to whoever helps.
-
Victory Update 5 v 5
-
Events
- Unit - A unit Dies
-
Conditions
- (((Owner of (Triggering unit)) controller) Equal to User) and (((Triggering unit) is A Hero) Equal to True)
-
Actions
- Set Player_Kills[(Player number of (Owner of (Killing unit)))] = (Player_Kills[(Player number of (Owner of (Killing unit)))] + 1)
- Set Player_Deaths[(Player number of (Owner of (Triggering unit)))] = (Player_Deaths[(Player number of (Owner of (Triggering unit)))] + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Triggering unit)) is an ally of Player 1 (Red)) Equal to True
-
Then - Actions
- Set Force1_Deaths = (Force1_Deaths + 1)
- Set Force2_Kills = (Force2_Kills + 1)
- Multiboard - Set the text for Multiboard_5v5 item in column 3, row 2 to (String(Force1_Deaths))
- Multiboard - Set the text for Multiboard_5v5 item in column 2, row 3 to (String(Force2_Kills))
-
Else - Actions
- Set Force2_Deaths = (Force2_Deaths + 1)
- Set Force1_Kills = (Force1_Kills + 1)
- Multiboard - Set the text for Multiboard_5v5 item in column 3, row 3 to (String(Force2_Deaths))
- Multiboard - Set the text for Multiboard_5v5 item in column 2, row 2 to (String(Force1_Kills))
-
If - Conditions
- Set Temp_String = (|cffff00005|r |cffFFFFFFvs |cff3C7AFF5|r - |cffffdeadOP|r - Win at |cff82e776 + ((String(Win_Points_Cap)) + ( Kills|r - ( |cffFF1D1D + ((String(Force1_Kills)) + (|r ) / ( |cff3C7AFF + ((String(Force2_Kills)) + |r )))))))
- Multiboard - Change the title of Multiboard_5v5 to Temp_String
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Killing unit)) controller) Equal to User
- ((Owner of (Killing unit)) slot status) Equal to Is playing
-
Then - Actions
- Multiboard - Set the text for Multiboard_5v5 item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to (Color[(Player number of (Owner of (Killing unit)))] + ((String(Player_Kills[(Player number of (Owner of (Killing unit)))])) + |r))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Triggering unit)) controller) Equal to User
- ((Owner of (Triggering unit)) slot status) Equal to Is playing
-
Then - Actions
- Multiboard - Set the text for Multiboard_5v5 item in column 3, row Multiboard_Spots[(Player number of (Owner of (Triggering unit)))] to (Color[(Player number of (Owner of (Triggering unit)))] + ((String(Player_Deaths[(Player number of (Owner of (Triggering unit)))])) + |r))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Or - Any (Conditions) are true
-
Conditions
- Player_Kills[(Player number of (Owner of (Killing unit)))] Greater than or equal to Win_Points_Cap
-
Conditions
-
Or - Any (Conditions) are true
-
Then - Actions
- Set Force1 = (All allies of Player 1 (Red))
- Set Force2 = (All allies of Player 6 (Orange))
- Set Player_Wins[(Integer A)] = (Owner of (Killing unit))
- Trigger - Turn off Coin Earned <gen>
- Trigger - Turn off Observing Players <gen>
- Trigger - Run Dialog Box <gen> (ignoring conditions)
- Multiboard - Destroy Multiboard_5v5
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Player_Wins[(Player number of (Triggering player))] is an ally of Player 1 (Red)) Equal to True
-
Then - Actions
-
Player Group - Pick every player in Force1 and do (Actions)
- Loop - Actions
- Game - Display to (All players) for 15.00 seconds the text: The |cffFF1D1DWEST|...
- Game - Display to (All players) for 15.00 seconds the text:
-
Player Group - Pick every player in Force1 and do (Actions)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Player_Wins[(Player number of (Triggering player))] is an ally of Player 6 (Orange)) Equal to True
-
Then - Actions
-
Player Group - Pick every player in Force2 and do (Actions)
- Loop - Actions
- Game - Display to (All players) for 15.00 seconds the text: The |cff3C7AFFEAST|...
- Game - Display to (All players) for 15.00 seconds the text:
-
Player Group - Pick every player in Force2 and do (Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
Events
But it doesn't do that at all. I don't know if I have my GUI out of order or what, but I need someone to help me arrange it so it is in proper order.
Everything else works just fine BEFORE the condition IF player_kills equal to or greater than Win_Points_Cap
Thank You to whoever helps.