Events
Conditions
Actions
Set Unit[1] = (Random unit from (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True))))) [B]// Random 1 unit trên map là hero (alive) và thuộc ally của Player 1[/B]
Set Unit[2] = (Random unit from (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of Player 7 (Green)) Equal to True))))) [B]// Random 1 unit trên map là hero (alive) và thuộc ally của Player 7[/B]
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Set Point[(Integer A)] = (Position of Unit[(Integer A)])[B]//Set vị trí của unit[/B]
Unit - Pause Unit[(Integer A)]
Unit - Make Unit[(Integer A)] Invulnerable
Wait 2.00 seconds
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Unit - Set mana of Unit[(Integer A)] to 100.00%[B]//Set hp lên 100%[/B]
Unit - Set life of Unit[(Integer A)] to 100.00%[B]//Set mana lên 100%[/B]
Unit - Make Unit[(Integer A)] Vulnerable
Unit - Move Unit[1] instantly to (Center of Team1 <gen>), facing (Center of Team2 <gen>)[B]//Di chuyển Unit đến area[/B]
Unit - Move Unit[2] instantly to (Center of Team2 <gen>), facing (Center of Team1 <gen>)[B]//Di chuyển Unit đến area[/B]
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to (Center of Battle Arena <gen>) over 0.00 seconds[B]//Dịch chuyển camera đến area[/B]
Camera - Set the camera bounds for (Picked player) to Battle Arena <gen>[B]//Thu tầm nhìn camera vào area[/B]
Cinematic - Disable user control for (All players)
[I][B][COLOR="Green"]======Đếm thời gian bắt đầu trong area======[/COLOR][/B][/I]
[I]Floating Text - Create floating text that reads 3 at (Center of Battle Arena <gen>) with Z offset 0.00, using font size 20.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
Wait 1.00 seconds
Floating Text - Create floating text that reads 2 at (Center of Battle Arena <gen>) with Z offset 0.00, using font size 20.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
Wait 1.00 seconds
Floating Text - Create floating text that reads 1 at (Center of Battle Arena <gen>) with Z offset 0.00, using font size 20.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
Wait 1.00 seconds
Floating Text - Create floating text that reads 0 at (Center of Battle Arena <gen>) with Z offset 0.00, using font size 20.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds[/B]
[COLOR="olive"][B]==============================[/B][/COLOR]
Wait 1.00 seconds
For each (Integer A) from 1 to 2, do (Actions)
Loop - Actions
Unit - Unpause Unit[(Integer A)]
Cinematic - Enable user control for (All players)
Trigger - Turn on [B]Event one check[/B] <gen>