- Joined
- Jul 18, 2010
- Messages
- 332
I already know how to start the deathmatch but i don't know how to end it. I've already made a trigger but it doesn't work.
-
Arena Start Trigger
-
Events
-
Time - arenatimer expires
-
-
Conditions
-
Actions
-
Unit - Pause all units
-
Countdown Timer - Pause DungeonBossTimer
-
Trigger - Turn off reviving heroes <gen>
-
Quest - Display to (All players) the Warning message: PvP Match!! Serdin...
-
Wait 7.00 seconds
-
Trigger - Turn off reviving heroes Copy <gen>
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Camera - Set the camera bounds for (Picked player) to Region 080 <gen>
-
-
-
Set player1units = (Units owned by Player 1 (Red) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player1units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 1 (Red) to Region66 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66, facing 0.00 degrees
-
Unit Group - Add (Picked unit) to team1pvpers
-
-
-
Set player2units = (Units owned by Player 2 (Blue) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player2units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 2 (Blue) to Region66_Copy over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy, facing 0.00 degrees
-
Unit Group - Add (Picked unit) to team1pvpers
-
-
-
Set player3units = (Units owned by Player 3 (Teal) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player3units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 3 (Teal) to Region66_Copy_2 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_2, facing 0.00 degrees
-
Unit Group - Add (Picked unit) to team1pvpers
-
-
-
Set player4units = (Units owned by Player 4 (Purple) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player4units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 4 (Purple) to Region66_Copy_10 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_10, facing 0.00 degrees
-
Unit Group - Add (Picked unit) to team1pvpers
-
-
-
Set player5units = (Units owned by Player 5 (Yellow) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player5units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 5 (Yellow) to Region66_Copy_11 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_11, facing 0.00 degrees
-
Unit Group - Add (Picked unit) to team1pvpers
-
-
-
Set player6units = (Units owned by Player 6 (Orange) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player6units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 6 (Orange) to Region66_Copy_3 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_3, facing 180.00 degrees
-
Unit Group - Add (Picked unit) to team2pvpers
-
-
-
Set player7units = (Units owned by Player 7 (Green) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player7units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 7 (Green) to Region66_Copy_4 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_4, facing 180.00 degrees
-
Unit Group - Add (Picked unit) to team2pvpers
-
-
-
Set player8units = (Units owned by Player 8 (Pink) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player8units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 8 (Pink) to Region66_Copy_5 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_5, facing 180.00 degrees
-
Unit Group - Add (Picked unit) to team2pvpers
-
-
-
Set player9units = (Units owned by Player 9 (Gray) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player9units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 9 (Gray) to Region66_Copy_12 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_12, facing 180.00 degrees
-
Unit Group - Add (Picked unit) to team2pvpers
-
-
-
Set player10units = (Units owned by Player 10 (Light Blue) matching (((((Matching unit) is A Hero) Equal to True) or (((Matching unit) is An Ancient) Equal to True)) or ((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Mechanical) Equal to False))))
-
Unit Group - Pick every unit in player10units and do (Actions)
-
Loop - Actions
-
Camera - Pan camera for Player 10 (Light Blue) to Region66_Copy_13 over 0.20 seconds
-
Unit - Move (Picked unit) instantly to Region66_Copy_13, facing 180.00 degrees
-
Unit Group - Add (Picked unit) to team2pvpers
-
-
-
Custom script: call DestroyGroup(udg_player1units)
-
Custom script: call DestroyGroup(udg_player2units)
-
Custom script: call DestroyGroup(udg_player3units)
-
Custom script: call DestroyGroup(udg_player4units)
-
Custom script: call DestroyGroup(udg_player5units)
-
Custom script: call DestroyGroup(udg_player6units)
-
Custom script: call DestroyGroup(udg_player7units)
-
Custom script: call DestroyGroup(udg_player8units)
-
Custom script: call DestroyGroup(udg_player9units)
-
Custom script: call DestroyGroup(udg_player10units)
-
Quest - Display to (All players) the Warning message: FIGHT!!
-
Sound - Play Switch <gen>
-
Unit - Unpause all units
-
-
-
Arena End Trigger
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Dying unit) is in team1pvpers) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in team1pvpers) Equal to 0
-
-
Then - Actions
-
Unit - Pause all units
-
Wait 3.00 seconds
-
Quest - Display to (All players) the Warning message: Winner: Kanaavan Te...
-
Player Group - Pick every player in team2 and do (Actions)
-
Loop - Actions
-
Player - Add 2500 to (Picked player) Current gold
-
-
-
Wait 3.00 seconds
-
Unit Group - Pick every unit in team2units and do (Actions)
-
Loop - Actions
-
Unit - Move (Picked unit) instantly to Region7
-
-
-
Countdown Timer - Start arenatimer as a One-shot timer that will expire in 300.00 seconds
-
Unit - Unpause all units
-
Trigger - Turn on reviving heroes <gen>
-
Trigger - Turn on reviving heroes Copy <gen>
-
Custom script: call DestroyGroup(udg_team1pvpers)
-
Countdown Timer - Resume DungeonBossTimer
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Camera - Set the camera bounds for (Picked player) to (Entire map)
-
-
-
-
Else - Actions
-
-
-
-
Arena End Trigger Copy
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Dying unit) is in team2pvpers) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in team2pvpers) Equal to 0
-
-
Then - Actions
-
Unit - Pause all units
-
Wait 3.00 seconds
-
Quest - Display to (All players) the Warning message: Winner: Serdin Con...
-
Player Group - Pick every player in team1 and do (Actions)
-
Loop - Actions
-
Player - Add 2500 to (Picked player) Current gold
-
-
-
Wait 3.00 seconds
-
Unit Group - Pick every unit in team1units and do (Actions)
-
Loop - Actions
-
Unit - Move (Picked unit) instantly to Region8
-
-
-
Countdown Timer - Start arenatimer as a One-shot timer that will expire in 300.00 seconds
-
Unit - Unpause all units
-
Trigger - Turn on reviving heroes <gen>
-
Trigger - Turn on reviving heroes Copy <gen>
-
Custom script: call DestroyGroup(udg_team2pvpers)
-
Countdown Timer - Resume DungeonBossTimer
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Camera - Set the camera bounds for (Picked player) to (Entire map)
-
-
-
-
Else - Actions
-
-
-