Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
(2)Race Lorderon 1.2Eng.w3x
Variables
Info
Info
ClearRed
ClearBlue
SpeedRED
SpeedBLUE
SpeedRED2
SpeedBLUE2
Start
Start
Map
Money
DialogButtons
ThreeLaps
FiveLaps
SevenLaps
Regions
Terr1
Terr2
Terr3
Minuses
SlowRed
SlowBlue
SpeedRed
SpeedBlue
MinesRed
MinesBlue
HitRed
HitBlue
HealRed
HealBlue
MovingLock
RedLock
BlueLock
Moving
Start1
one
one one
TwoTwo
Two
Three
Three Three
Four
FourThree
FourFour
Five
Six
Seven
SevenSeven
Eight
Nine
Ten
TenTen
Eleven
Twelve
TwelveTwelve
Thirteen
ThirteenThirteen
Fourteen
FourteenFourteen
Fithtenn
Sixteen
SixteenSixteen
Seventeen
SeventeenSeventeen
Eighteen
EighteenEughteen
Noneteen
Twenty
TwentyTwenty
Tw
Finish
Finish1
Win
RedWin
BlueWin
RedLost
BlueLost
Ниже введите код специфического для карты выбранного сценария. Этот текст будет включен в сценарий карты после декларации переменных и до триггера любого кода.
Name
Type
is_array
initial_value
BlueShadow
unit
No
Effect
effect
No
FiveLaps
button
No
Laps
dialog
No
LapsLimit
integer
Yes
LapsWin
integer
Yes
ReDShadow
unit
No
SevenLaps
button
No
ThreeLaps
button
No
Unit
unit
No
Info
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Quest - Create a Required quest titled What to do? with the description Your task is to kill your opponent's car or pass number of laps first. , using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
Quest - Create a Required quest titled How? with the description Cars themselves moves around the race, your task is to "buy" spells. There is 5 different shops with spells. They |c00ffff00accelerate|r/|c000080ffslow-down|r, and |c00ff0000damage|r/|c0000ff00treat|r, also there a |c00800080mines|r. Choose a tactics, use diffrenet combinations and win! , using icon path ReplaceableTextures\CommandButtons\BTNPillage.blp
Quest - Create a Required quest titled About "spells" with the description There are 5 shops: slowing-down, mines, acceleration, damage and treatment. All objects have 2 properties: |c00ff0000power|r - how much it hurts/treats or speed-up/slow-down, |c0000ff40time|r - how long it work.Slowing-down/acceleration change car's speed, but remember: min speed |c0000ff00100|r, max |c00ff0000500|r and if you try to use slowing-down/acceleration, when speed go out of range, then nothing happen (Example: speed of enemy 120, you use slowing-down -60 or your speed 480 and you use acceleration +60).Place a goblin mine on position of buyer. It damages enemy car, when it to close.Damege/treatment reduce/add car's health. Max hit points - 25. When it become 0 car will die. Car haven't got regeneration, it can feel it's health near springs. , using icon path ReplaceableTextures\CommandButtons\BTNHealingSpray.blp
Quest - Create a Optional quest titled Commands with the description There are some commands in the game. All of them consist of 2 letters. First is command, second - color. There are 2 colors - |c00ff0000Red (r)|r and |c000000ffBlue (b)|r. Commands: |c00ffff00c-|r -- clear inventory (if you need). Only for your car. |c00ffff00s-|r -- displays car's speed.Example: cr, sb. All letters should be small. , using icon path ReplaceableTextures\CommandButtons\BTNSnazzyScroll.blp
Quest - Create a Optional quest titled Advices with the description Bind shops on buttons "1"-"5". Also you can bind cars. Before using acceleration/slowing-down look for car's speed. Some forms of relief slow-down yor car, like water, mountain or lack of good roads. Mines put on crossing of car's ways. Look after your health! , using icon path ReplaceableTextures\CommandButtons\BTNPeasant.blp
Quest - Create a Optional quest titled About version with the description |c00ff0000Race Lorderon 1.2|r. - Balance fixes: |c00ff0000Power|r of slowing-down increased from |c00ffff8025/60/100|r to |c00ffff0035/75/125|r; Changed |c00ff0000power|r and |c0000ff00cost|r of acceleration from |c00ffff8020/60/100|r and |c00ffff803/6/9|r to |c00ffff0030/70/115|r and |c00ffff002/5/8|r accordingly; changed |c00ff0000power|r and |c0000ff00cost|r of mines from |c00ffff805/8/14|r and |c00ffff803/5/9|r to |c00ffff004/10/15|r and |c00ffff002/5/8|r accordingly; changed |c00ff0000power|r and |c0000ff00cost|r of destruction from |c00ffff804/8/13|r and |c00ffff804/6/9|r to |c00ffff005/9/12|r and |c00ffff004/7/9|r accordingly; changed |c00ff0000power|r and |c0000ff00cost|r of treatment from |c00ffff805/11/20|r and |c00ffff803/6/12|r to |c00ffff004/10/13|r and |c00ffff003/8/10|r accordingly; - Increased speed of car's |c0000ff8030|r; - Now car selection cancel after 0,3 sec. - Triggers "repair".Player get moneys after car pass control point (spring). Speed of car 250. , using icon path ReplaceableTextures\CommandButtons\BTNSeigeEngineWithMissles.blp
Quest - Create a Optional quest titled Race Lorderon's History with the description |c00ff0000Race Lorderon 1.2|r. - Balance fixes: |c00ff0000Power|r of slowing-down increased from |c00ffff8025/60/100|r to |c00ffff0035/75/125|r; Changed |c00ff0000power|r and |c0000ff00cost|r of acceleration from |c00ffff8020/60/100|r and |c00ffff803/6/9|r to |c00ffff0030/70/115|r and |c00ffff002/5/8|r accordingly; changed |c00ff0000power|r and |c0000ff00cost|r of mines from |c00ffff805/8/14|r and |c00ffff803/5/9|r to |c00ffff004/10/15|r and |c00ffff002/5/8|r accordingly; changed |c00ff0000power|r and |c0000ff00cost|r of destruction from |c00ffff804/8/13|r and |c00ffff804/6/9|r to |c00ffff005/9/12|r and |c00ffff004/7/9|r accordingly; changed |c00ff0000power|r and |c0000ff00cost|r of treatment from |c00ffff805/11/20|r and |c00ffff803/6/12|r to |c00ffff004/10/13|r and |c00ffff003/8/10|r accordingly; - Increased speed of car's |c0000ff8030|r; - Now car selection cancel after 0,3 sec. - Triggers "repair".|c00ff0000Race Lorderon 1.1|r. - Car's life increased |c00ffff005|r; - Increased |c00ff0000power|r of slowing-down 1 on |c00ffff005|r; - Increased |c0080ff80cost|r of destruction on |c00ffff001|r; - Discreased |c0080ff80cost|r of acceleration 2,3 on |c00ffff001|r. , using icon path ReplaceableTextures\CommandButtons\BTNSeigeEngine.blp
ClearRed
Events
Player - Player 1 (Red) types a chat message containing cr (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Item - Remove (Item carried by ReDShadow in slot 1)
Item - Remove (Item carried by ReDShadow in slot 2)
ClearBlue
Events
Player - Player 2 (Blue) types a chat message containing cb (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Item - Remove (Item carried by BlueShadow in slot 1)
Item - Remove (Item carried by BlueShadow in slot 2)
SpeedRED
Events
Player - Player 1 (Red) types a chat message containing sr (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) for 2.00 seconds the text: (Speed of |c00ff0000ReDShadow|r - |c00ffff00 + ((String((Current movement speed of ReDShadow))) + |r))
SpeedBLUE
Events
Player - Player 1 (Red) types a chat message containing sb (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) for 2.00 seconds the text: (Speed of |c000000ffBlueShadow|r - |c00ffff00 + ((String((Current movement speed of BlueShadow))) + |r))
SpeedRED2
Events
Player - Player 2 (Blue) types a chat message containing sr (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 2 (Blue) for 2.00 seconds the text: (Speed of |c00ff0000ReDShadow|r - |c00ffff00 + ((String((Current movement speed of ReDShadow))) + |r))
SpeedBLUE2
Events
Player - Player 2 (Blue) types a chat message containing sb (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Game - Display to Player Group - Player 2 (Blue) for 2.00 seconds the text: (Speed of |c000000ffBlueShadow|r - |c00ffff00 + ((String((Current movement speed of BlueShadow))) + |r))
Start
Events
Conditions
Actions
Camera - . Apply . gg_cam_Start for Player 1 (Red) over 0 seconds
Wait 0.00 seconds
Camera - . Apply . gg_cam_Start for Player 2 (Blue) over 0 seconds
Wait 0.00 seconds
Cinematic - Fade in over 5.00 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 4.50 seconds
Unit - Pause all units
Wait 0.00 seconds
Game - Display to (All players) the text: |c00ff0000Game starts in 3...|r
Sound - Play BattleNetTick <gen> at 100 % volume, located at (Center of Start <gen>) with Z offset 0
Wait 1.00 seconds
Game - Display to (All players) the text: |c00ffff00Game starts in 2...|r
Sound - Play BattleNetTick <gen> at 100 % volume, located at (Center of Start <gen>) with Z offset 0
Wait 1.00 seconds
Game - Display to (All players) the text: |c0000ff40Game starts in 1...|r
Sound - Play BattleNetTick <gen> at 100 % volume, located at (Center of Start <gen>) with Z offset 0
Wait 1.00 seconds
Game - Display to (All players) the text: |c000000ffGO GO GO ! ! !|r
Animation - Play ReDShadow 's stand-2 animation
Wait 0.00 seconds
Animation - Play BlueShadow 's stand-2 animation
Wait 0.50 seconds
Animation - Reset ReDShadow 's animation
Wait 0.00 seconds
Sound - Play SteamTankWhat1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.10 seconds
Animation - Reset BlueShadow 's animation
Wait 0.00 seconds
Sound - Play SteamTankWhat2 <gen> at 100 % volume, attached to BlueShadow
Wait 0.10 seconds
Sound - Stop the currently playing music theme
Wait 0.00 seconds
Sound - Play PH1 <gen>
Wait 0.00 seconds
Unit - Unpause all units
Wait 0.00 seconds
Unit - Order ReDShadow to Move To . (Center of 1 <gen>)
Wait 0.00 seconds
Sound - Play SteamTankYes1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.10 seconds
Unit - Order BlueShadow to Move To . (Center of 11 <gen>)
Wait 0.00 seconds
Sound - Play SteamTankYes1 <gen> at 100 % volume, attached to BlueShadow
Map
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Wait 0.00 seconds
Cinematic - Fade out over 0.10 seconds using texture Black Mask and color ( 0 %, 0 %, 0 %) with 0 % transparency
Wait 0.00 seconds
Animation - Play ReDShadow 's stand animation
Wait 0.00 seconds
Animation - Play BlueShadow 's stand animation
Game - Display to (All players) for 5.00 seconds the text: |c00ffff00Welcome to the race!|r
Sound - Play NewTournament <gen> at 100 % volume, located at (Center of Start <gen>) with Z offset 0
Wait 5.00 seconds
Set Variable Set ReDShadow = Car 0027 <gen>
Wait 0.00 seconds
Set Variable Set BlueShadow = Car 0028 <gen>
Wait 0.00 seconds
Dialog - Change the title of Laps to |c00ffff00Number of the laps|r
Wait 0.00 seconds
Dialog - Create a dialog button for Laps labelled 3 laps
Wait 0.00 seconds
Set Variable Set ThreeLaps = (Last created dialog Button)
Wait 0.00 seconds
Dialog - Create a dialog button for Laps labelled 5 laps
Wait 0.00 seconds
Set Variable Set FiveLaps = (Last created dialog Button)
Wait 0.00 seconds
Dialog - Create a dialog button for Laps labelled 7 laps
Wait 0.00 seconds
Set Variable Set SevenLaps = (Last created dialog Button)
Wait 0.00 seconds
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Wait 0.00 seconds
Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across (Playable map area)
Wait 0.00 seconds
Environment - Set sky to Lordaeron Winter Sky (Pink)
Wait 0.00 seconds
Game - Set the time of day to 1.00
Wait 0.00 seconds
Game - Turn the day/night cycle Off
Wait 0.00 seconds
Game - Display to Player Group - Player 2 (Blue) the text: |c00ff0000Player 1(red)|r chooses number of the laps
Wait 0.00 seconds
Dialog - Show Laps for Player 1 (Red)
Money
Events
Time - Elapsed game time is 0.10 seconds
Conditions
Actions
Player - Set Player 1 (Red) . Current gold to 5
Wait 0.00 seconds
Player - Set Player 1 (Red) . Current lumber to 0
Wait 0.00 seconds
Player - Set Player 2 (Blue) . Current gold to 5
Wait 0.00 seconds
Player - Set Player 2 (Blue) . Current lumber to 0
ThreeLaps
Events
Dialog - A dialog button is clicked for Laps
Conditions
(Clicked dialog button) Equal to ThreeLaps
Actions
Set Variable Set LapsLimit[1] = "3"
Set Variable Set LapsLimit[2] = "3"
Set Variable Set LapsLimit[3] = "3"
Wait 0.00 seconds
Game - Display to (All players) the text: For win you should pass |c00ec132f3|r laps
Wait 0.00 seconds
Trigger - Run Start <gen> (ignoring conditions)
FiveLaps
Events
Dialog - A dialog button is clicked for Laps
Conditions
(Clicked dialog button) Equal to FiveLaps
Actions
Set Variable Set LapsLimit[1] = "5"
Set Variable Set LapsLimit[2] = "5"
Set Variable Set LapsLimit[3] = "5"
Wait 0.00 seconds
Game - Display to (All players) the text: For win you should pass |c00ec132f5|r laps
Wait 0.00 seconds
Trigger - Run Start <gen> (ignoring conditions)
SevenLaps
Events
Dialog - A dialog button is clicked for Laps
Conditions
(Clicked dialog button) Equal to SevenLaps
Actions
Set Variable Set LapsLimit[1] = "7"
Set Variable Set LapsLimit[2] = "7"
Set Variable Set LapsLimit[3] = "7"
Wait 0.00 seconds
Game - Display to (All players) the text: For win you should pass |c00ec132f7|r laps
Wait 0.00 seconds
Trigger - Run Start <gen> (ignoring conditions)
Terr1
Events
Unit - A unit enters Terr1 <gen>
Conditions
(Current movement speed of (Entering unit)) Greater than or equal to 130.00
Actions
Custom script: local unit Tunit
Set Variable Set Unit = (Entering unit)
Custom script: set Tunit = udg_Unit
Unit - Set Unit movement speed to ((Current movement speed of Unit) - 30.00)
Wait 5.00 seconds
Custom script: set udg_Unit = Tunit
Unit - Set Unit movement speed to ((Current movement speed of Unit) + 30.00)
Terr2
Events
Unit - A unit enters Terr2 <gen>
Conditions
(Current movement speed of (Entering unit)) Greater than or equal to 150.00
Actions
Custom script: local unit Tunit
Set Variable Set Unit = (Entering unit)
Custom script: set Tunit = udg_Unit
Unit - Set Unit movement speed to ((Current movement speed of Unit) - 50.00)
Wait 6.00 seconds
Custom script: set udg_Unit = Tunit
Unit - Set Unit movement speed to ((Current movement speed of Unit) + 50.00)
Terr3
Events
Unit - A unit enters Terr3 <gen>
Conditions
(Current movement speed of (Triggering unit)) Greater than or equal to 135.00
Actions
Custom script: local unit Tunit
Set Variable Set Unit = (Entering unit)
Custom script: set Tunit = udg_Unit
Unit - Set Unit movement speed to ((Current movement speed of Unit) - 35.00)
Wait 10.00 seconds
Custom script: set udg_Unit = Tunit
Unit - Set Unit movement speed to ((Current movement speed of Unit) + 35.00)
SlowRed
Events
Unit - Slowing-down 0016 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to ReDShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Spell of slowing-down 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Greater than or equal to 135.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play FrostNovaTarget1 <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) - 35.00)
Wait 10.00 seconds
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) + 35.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Spell of slowing-down 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Greater than or equal to 175.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\NightElf\EntanglingRoots\EntanglingRootsTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play EntanglingRootsDecay1 <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) - 75.00)
Wait 10.00 seconds
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) + 75.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Spell of slowing-down 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Greater than or equal to 225.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Human\Slow\SlowCaster.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play SlowTarget <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) - 125.00)
Wait 10.00 seconds
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) + 125.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
SlowBlue
Events
Unit - Slowing-down 0029 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to BlueShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Spell of slowing-down 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of ReDShadow) Greater than or equal to 135.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play FrostNovaTarget1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) - 35.00)
Wait 10.00 seconds
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) + 35.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Spell of slowing-down 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of ReDShadow) Greater than or equal to 175.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\NightElf\EntanglingRoots\EntanglingRootsTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play EntanglingRootsDecay1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) - 75.00)
Wait 10.00 seconds
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) + 75.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Spell of slowing-down 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of ReDShadow) Greater than or equal to 225.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Human\Slow\SlowCaster.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play SlowTarget <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) - 125.00)
Wait 10.00 seconds
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) + 125.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
SpeedRed
Events
Unit - Acceleration 0036 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to ReDShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Scroll of acceleration 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Less than or equal to 470.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play SteamTankPissed1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) + 30.00)
Wait 13.00 seconds
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) - 30.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Scroll of acceleration 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of ReDShadow) Less than or equal to 430.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play HolyBolt <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) + 70.00)
Wait 13.00 seconds
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) - 70.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Scroll of acceleration 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of ReDShadow) Less than or equal to 385.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play Tomes <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) + 115.00)
Wait 13.00 seconds
Unit - Set ReDShadow movement speed to ((Current movement speed of ReDShadow) - 115.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
SpeedBlue
Events
Unit - Acceleration 0031 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to BlueShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Scroll of acceleration 1
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Less than or equal to 470.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play SteamTankPissed1 <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) + 30.00)
Wait 13.00 seconds
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) - 30.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Scroll of acceleration 2
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Less than or equal to 430.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play HolyBolt <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) + 70.00)
Wait 13.00 seconds
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) - 70.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Scroll of acceleration 3
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current movement speed of BlueShadow) Less than or equal to 385.00
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Human\ReviveHuman\ReviveHuman.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play Tomes <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) + 115.00)
Wait 13.00 seconds
Unit - Set BlueShadow movement speed to ((Current movement speed of BlueShadow) - 115.00)
Else - Actions
Item - Remove (Sold Item)
Else - Actions
MinesRed
Events
Unit - Miner 0035 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to ReDShadow
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Goblins Mine 1
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Unit - Create 1 . Goblins Mine 1 for Player 1 (Red) at (Position of ReDShadow) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Goblins Mine 2
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Unit - Create 1 . Goblins Mine 2 for Player 1 (Red) at (Position of ReDShadow) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Goblins Mine 3
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Unit - Create 1 . Goblins Mine 3 for Player 1 (Red) at (Position of ReDShadow) facing Default building facing degrees
Else - Actions
MinesBlue
Events
Unit - Miner 0030 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to BlueShadow
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Goblins Mine 1
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Unit - Create 1 . Goblins Mine 1 for Player 2 (Blue) at (Position of BlueShadow) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Goblins Mine 2
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Unit - Create 1 . Goblins Mine 2 for Player 2 (Blue) at (Position of BlueShadow) facing Default building facing degrees
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Goblins Mine 3
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Unit - Create 1 . Goblins Mine 3 for Player 2 (Blue) at (Position of BlueShadow) facing Default building facing degrees
Else - Actions
HitRed
Events
Unit - Damage 0037 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to ReDShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Book of destruction 1
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play ResurrectTarget <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of BlueShadow to ((Life of BlueShadow) - 5.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Book of destruction 2
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play LightningBolt1 <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of BlueShadow to ((Life of BlueShadow) - 9.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Book of destruction 3
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\NightElf\Starfall\StarfallTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play StarfallCaster1 <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of BlueShadow to ((Life of BlueShadow) - 12.00)
Else - Actions
HitBlue
Events
Unit - Damage 0032 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to BlueShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Book of destruction 1
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play ResurrectTarget <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of ReDShadow to ((Life of ReDShadow) - 5.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Book of destruction 2
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Doodads\Cinematic\Lightningbolt\Lightningbolt.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play LightningBolt1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of ReDShadow to ((Life of ReDShadow) - 9.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Book of destruction 3
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\NightElf\Starfall\StarfallTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play StarfallCaster1 <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of ReDShadow to ((Life of ReDShadow) - 12.00)
Else - Actions
HealRed
Events
Unit - Treatment 0000 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to ReDShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Bottle of cure 1
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Human\Heal\HealTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play HealTarget <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of ReDShadow to ((Life of ReDShadow) + 4.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Bottle of cure 2
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Items\AIma\AImaTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play ManaPotion <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of ReDShadow to ((Life of ReDShadow) + 10.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Bottle of cure 3
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 1 (Red) to (Position of ReDShadow) over 0 seconds
Special Effect - Create a special effect at (Position of ReDShadow) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play RestorationPotion <gen> at 100 % volume, attached to ReDShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of ReDShadow to ((Life of ReDShadow) + 13.00)
Else - Actions
HealBlue
Events
Unit - Treatment 0033 <gen> Sells an item (from shop)
Conditions
(Buying unit) Equal to BlueShadow
Actions
Custom script: local effect Teffect
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Bottle of cure 1
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Human\Heal\HealTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play HealTarget <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of BlueShadow to ((Life of BlueShadow) + 4.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Bottle of cure 2
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Items\AIma\AImaTarget.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play ManaPotion <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of BlueShadow to ((Life of BlueShadow) + 10.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Sold Item)) Equal to Bottle of cure 3
Then - Actions
Item - Remove (Sold Item)
Camera - Pan camera for Player 2 (Blue) to (Position of BlueShadow) over 0 seconds
Special Effect - Create a special effect at (Position of BlueShadow) using Abilities\Spells\Items\VampiricPotion\VampPotionCaster.mdl
Set Variable Set Effect = (Last created special effect)
Custom script: set Teffect = udg_Effect
Sound - Play RestorationPotion <gen> at 100 % volume, attached to BlueShadow
Wait 0.50 seconds
Custom script: set udg_Effect = Teffect
Special Effect - Destroy Effect
Unit - Set life of BlueShadow to ((Life of BlueShadow) + 13.00)
Else - Actions
RedLock
Events
Player - Player 1 (Red) Selects a unit
Conditions
((Triggering unit) Equal to BlueShadow) or ((Triggering unit) Equal to ReDShadow)
Actions
Wait 0.30 seconds
Selection - Clear selection for Player 1 (Red) .
BlueLock
Events
Player - Player 2 (Blue) Selects a unit
Conditions
((Triggering unit) Equal to BlueShadow) or ((Triggering unit) Equal to ReDShadow)
Actions
Wait 0.30 seconds
Selection - Clear selection for Player 2 (Blue) .
Start1
Events
Unit - A unit enters Start <gen>
Conditions
Actions
Trigger - Turn off (This trigger)
Camera - . Apply . gg_cam_Start2 for Player 1 (Red) over 0.50 seconds
Camera - . Apply . gg_cam_Start2 for Player 2 (Blue) over 0.50 seconds
Wait 0.49 seconds
Camera - . Apply . gg_cam_Start3 for Player 1 (Red) over 1.00 seconds
Camera - . Apply . gg_cam_Start3 for Player 2 (Blue) over 1.00 seconds
Wait 0.59 seconds
Camera - . Apply . gg_cam_Start4 for Player 1 (Red) over 0.20 seconds
Camera - . Apply . gg_cam_Start4 for Player 2 (Blue) over 0.20 seconds
Wait 2.00 seconds
Camera - Reset camera for Player 1 (Red) to standard game-view over 3.00 seconds
Wait 0.00 seconds
Camera - Reset camera for Player 2 (Blue) to standard game-view over 3.00 seconds
Wait 0.00 seconds
Cinematic - Turn cinematic mode Off for (All players)
one
Events
Unit - A unit enters 1 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of 2 <gen>)
Else - Actions
Do nothing
one one
Events
Unit - A unit enters 11 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of 22 <gen>)
Else - Actions
Do nothing
TwoTwo
Events
Unit - A unit enters 2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 3 <gen>)
Two
Events
Unit - A unit enters 22 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 33 <gen>)
Three
Events
Unit - A unit enters 3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 4 <gen>)
Three Three
Events
Unit - A unit enters 33 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 4 <gen>)
Four
Events
Unit - A unit enters 4 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of 5 <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of 55 <gen>)
FourThree
Events
Unit - A unit enters 5 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 6 <gen>)
FourFour
Events
Unit - A unit enters 55 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 66 <gen>)
Five
Events
Unit - A unit enters 6 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 7 <gen>)
Six
Events
Unit - A unit enters 66 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 7 <gen>)
Seven
Events
Unit - A unit enters 7 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 8 <gen>)
SevenSeven
Events
Unit - A unit enters 8 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 9 <gen>)
Eight
Events
Unit - A unit enters 9 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 10 <gen>)
Wait 0.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Player - Add 10 to Player 1 (Red) . Current gold
Else - Actions
Player - Add 10 to Player 2 (Blue) . Current gold
Nine
Events
Unit - A unit enters 10 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 111 <gen>)
Ten
Events
Unit - A unit enters 111 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 12 <gen>)
TenTen
Events
Unit - A unit enters 12 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 13 <gen>)
Eleven
Events
Unit - A unit enters 13 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of 14 <gen>)
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of 1414 <gen>)
Twelve
Events
Unit - A unit enters 14 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 15 <gen>)
TwelveTwelve
Events
Unit - A unit enters 1414 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 1515 <gen>)
Thirteen
Events
Unit - A unit enters 15 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 151 <gen>)
ThirteenThirteen
Events
Unit - A unit enters 151 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 16 <gen>)
Fourteen
Events
Unit - A unit enters 1515 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 16 <gen>)
FourteenFourteen
Events
Unit - A unit enters 16 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 17 <gen>)
Fithtenn
Events
Unit - A unit enters 17 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 18 <gen>)
Player - Add 10 to Player 1 (Red) . Current gold
Sixteen
Events
Unit - A unit enters 17 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 1818 <gen>)
Player - Add 10 to Player 2 (Blue) . Current gold
SixteenSixteen
Events
Unit - A unit enters 18 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 19 <gen>)
Seventeen
Events
Unit - A unit enters 1818 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 1919 <gen>)
SeventeenSeventeen
Events
Unit - A unit enters 19 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 20 <gen>)
Eighteen
Events
Unit - A unit enters 1919 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 20 <gen>)
EighteenEughteen
Events
Unit - A unit enters 20 <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of 21 <gen>)
Noneteen
Events
Unit - A unit enters 21 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of 222 <gen>)
Player - Add 10 to Player 1 (Red) . Current gold
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of 2222 <gen>)
Player - Add 10 to Player 2 (Blue) . Current gold
Twenty
Events
Unit - A unit enters 222 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 333 <gen>)
TwentyTwenty
Events
Unit - A unit enters 2222 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Order (Triggering unit) to Move To . (Center of 333 <gen>)
Tw
Events
Unit - A unit enters 333 <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Then - Actions
Unit - Order (Triggering unit) to Move To . (Center of 1 <gen>)
Player - Add 15 to Player 1 (Red) . Current gold
Else - Actions
Unit - Order (Triggering unit) to Move To . (Center of 11 <gen>)
Player - Add 15 to Player 2 (Blue) . Current gold
Finish
Events
Unit - A unit enters 333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Set Variable Set LapsLimit[1] = (LapsLimit[1] - 1)
Game - Display to Player Group - Player 1 (Red) the text: (|c00ff8000 + ((String(LapsLimit[1])) + |r laps remaining))
Set Variable Set LapsWin[1] = (LapsWin[1] + 1)
Trigger - Run RedWin <gen> (ignoring conditions)
Finish1
Events
Unit - A unit enters 333 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Set Variable Set LapsLimit[2] = (LapsLimit[2] - 1)
Game - Display to Player Group - Player 2 (Blue) the text: (|c00ff8000 + ((String(LapsLimit[2])) + |r laps remaining))
Set Variable Set LapsWin[2] = (LapsWin[2] + 1)
Trigger - Run BlueWin <gen> (ignoring conditions)
RedWin
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LapsWin[1] Equal to LapsLimit[3]
Then - Actions
Trigger - Turn off BlueWin <gen>
Camera - Lock camera target for Player 1 (Red) to ReDShadow , offset by ( 0 , 0 ) using The unit's rotation
Wait 0.00 seconds
Game - Display to Player Group - Player 1 (Red) the text: |c00e1e100Congratulations, you have won the race.|r
Wait 0.00 seconds
Game - Display to Player Group - Player 2 (Blue) the text: |c00c0c0c0Sorry, you lose the race.|r
Wait 10.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Wait 0.00 seconds
Game - Defeat Player 2 (Blue) with the message: Defeat!
Else - Actions
BlueWin
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
LapsWin[2] Equal to LapsLimit[3]
Then - Actions
Trigger - Turn off RedWin <gen>
Camera - Lock camera target for Player 2 (Blue) to BlueShadow , offset by ( 0 , 0 ) using The unit's rotation
Wait 0.00 seconds
Game - Display to Player Group - Player 2 (Blue) the text: |c00e1e100Congratulations, you have won the race.|r
Wait 0.00 seconds
Game - Display to Player Group - Player 1 (Red) the text: |c00c0c0c0Sorry, you lose the race.|r
Wait 10.00 seconds
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Wait 0.00 seconds
Game - Defeat Player 1 (Red) with the message: Defeat!
Else - Actions
RedLost
Events
Unit - Car 0027 <gen> Dies
Conditions
Actions
Wait 2.00 seconds
Game - Defeat Player 1 (Red) with the message: Your car is dead.
Wait 0.00 seconds
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
BlueLost
Events
Unit - Car 0028 <gen> Dies
Conditions
Actions
Wait 2.00 seconds
Game - Defeat Player 2 (Blue) with the message: Your car is dead.
Wait 0.00 seconds
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.