-
Another.Trigger
-

Events
-


Player - Player 1 (Red) leaves the game
-
-

Conditions
-

Actions
-


Game - Display to (All players) the text: ((Name of (Leaving unit)) + has left the game.)
-
-
-
Victory
-

Events
-


Map initialization
-
-

Conditions
-

Actions
-


Set WinPoints = 0
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




WinPoints Equal to 4
-
-



Then - Actions
-




Game - Victory (Triggering player) (Show dialogs, Show scores)
-
-



Else - Actions
-




Do nothing
-
-
-
-
Also can help me about that - how to create hero back with his full hp/exp and level? t1 hero to region01 and t2 to other region..?!
3.TeamKills
-
Table
-

Events
-


Time - Elapsed game time is 0.00 seconds
-
-

Conditions
-

Actions
-


Leaderboard - Create a leaderboard for (All players) titled Team Kills
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Player 1 (Red) slot status) Equal to Is playing
-




(Player 1 (Red) controller) Equal to User
-




(Player 6 (Orange) slot status) Equal to Is playing
-




(Player 6 (Orange) controller) Equal to User
-
-



Then - Actions
-




Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 3 (Teal) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 4 (Purple) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 5 (Yellow) to (Last created leaderboard) with label The Destroyers and value 0
-




Leaderboard - Add Player 5 (Yellow) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 6 (Orange) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 8 (Pink) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 9 (Gray) to (Last created leaderboard) with label The Guards and value 0
-




Leaderboard - Add Player 10 (Light Blue) to (Last created leaderboard) with label The Guards and value 0
-
-



Else - Actions
-




Leaderboard - Show (Last created leaderboard)
-
-
-
-
-
Update
-

Events
-


Unit - A unit owned by Player 1 (Red) Dies
-


Unit - A unit owned by Player 2 (Blue) Dies
-


Unit - A unit owned by Player 3 (Teal) Dies
-


Unit - A unit owned by Player 4 (Purple) Dies
-


Unit - A unit owned by Player 5 (Yellow) Dies
-


Unit - A unit owned by Player 6 (Orange) Dies
-


Unit - A unit owned by Player 7 (Green) Dies
-


Unit - A unit owned by Player 8 (Pink) Dies
-


Unit - A unit owned by Player 9 (Gray) Dies
-


Unit - A unit owned by Player 10 (Light Blue) Dies
-
-

Conditions
-


((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Equal to True
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




((Dying unit) is A Hero) Equal to True
-
-



Then - Actions
-




Set TeamKills[(Player number of (Owner of (Killing unit)))] = (TeamKills[(Player number of (Owner of (Killing unit)))] + 1)
-
-



Else - Actions
-




Set TeamKills[(Player number of (Owner of (Killing unit)))] = (TeamKills[(Player number of (Owner of (Killing unit)))] + 0)
-




If (TeamKills[0] Equal to 120) then do (Set WinPoints = (WinPoints + 1)) else do (Leaderboard - Show (Last created leaderboard))
-
-
-
-
Also can help me about that - how to create hero back with his full hp/exp and level? t1 hero to region01 and t2 to other region..?!
Last edited:
