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
Railroad Raid.w3x
Variables
General
Train Dies
Train Attacked
Ping Train
Init
Train Movement
Enter 002
Enter 003
Enter 004
Enter 005
Enter 006
Enter 007
Enter 008
Enter 009
Enter 010
Enter 011
Enter 012
Enter 013
Enter 014
Enter 015
Enter 016
Enter 017
Enter 018
Enter 019
Enter 020
Enter 021
Enter 022
Enter 023
Enter 024
Enter 025
Enter 026
Enter 027
Enter 028
Enter 029
Enter 030
Enter 031
Enter 032
Enter 033
Enter 034
Enter 035
Enter 036
Enter 037
Enter 038
Enter 039
Enter 040
Enter 041
Enter 042
Enter 043
Enter 044
Enter 045
Enter 046
Enter 047
Enter 048
Enter 049
Enter 050
Enter 051
Enter 052
Enter 053
Enter 054
Enter 055
Enter 056
Enter 057
Enter 058
Enter 059
End
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Reinforcements
location
Yes
TempLoc
location
No
TempLoc2
location
No
WagonOffset
real
No
Train Dies
Events
Unit - Train 0174 <gen> Dies
Unit - Wagon 0169 <gen> Dies
Unit - Wagon 0170 <gen> Dies
Unit - Wagon 0173 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All enemies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Cargo Lost!
Train Attacked
Events
Unit - Train 0174 <gen> Is attacked
Unit - Wagon 0170 <gen> Is attacked
Unit - Wagon 0169 <gen> Is attacked
Unit - Wagon 0173 <gen> Is attacked
Conditions
Actions
Trigger - Turn off (This trigger)
Game - Display to (All allies of Player 1 (Red).) the text: |cff995500The Train is under attack!|r
Set Variable Set TempLoc = (Position of (Attacked unit))
Cinematic - Ping minimap for (All allies of Player 1 (Red).) at TempLoc for 2.00 seconds, using a Warning ping of color ( 100 %, 100 %, 100 %)
Custom script: call RemoveLocation(udg_TempLoc)
Wait 15.00 game-time seconds
Trigger - Turn on (This trigger)
Ping Train
Events
Time - Every 7.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All enemies of Player 1 (Red).) and do (Actions)
Loop - Actions
Player - Add 2 to (Picked player) . Current gold
Set Variable Set TempLoc = (Position of Train 0174 <gen>)
Cinematic - Ping minimap for (All enemies of Player 1 (Red).) at TempLoc for 4.00 seconds, using a Simple ping of color ( 100 %, 100 %, 100 %)
Custom script: call RemoveLocation(udg_TempLoc)
Set Variable Set TempLoc = (Position of Wagon 0173 <gen>)
Cinematic - Ping minimap for (All enemies of Player 1 (Red).) at TempLoc for 4.00 seconds, using a Simple ping of color ( 100 %, 100 %, 100 %)
Custom script: call RemoveLocation(udg_TempLoc)
Init
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set Variable Set WagonOffset = "-32.00"
Unit - Turn collision for Train 0174 <gen> Off .
Unit - Turn collision for Wagon 0170 <gen> Off .
Unit - Turn collision for Wagon 0169 <gen> Off .
Unit - Turn collision for Wagon 0173 <gen> Off .
Set Variable Set TempLoc = (Center of Region_007 <gen>)
Unit - Order Train 0174 <gen> to Move To . TempLoc
Set Variable Set TempLoc = ((Center of Region_005 <gen>) offset by (0, WagonOffset))
Unit - Order Wagon 0169 <gen> to Move To . TempLoc
Set Variable Set TempLoc = ((Center of Region_004 <gen>) offset by (0, WagonOffset))
Unit - Order Wagon 0170 <gen> to Move To . TempLoc
Set Variable Set TempLoc = ((Center of Region_002 <gen>) offset by (0, WagonOffset))
Unit - Order Wagon 0173 <gen> to Move To . TempLoc
Set Variable Set Reinforcements[1] = (Center of Reinforcements_1 <gen>)
Set Variable Set Reinforcements[2] = (Center of Reinforcements_2 <gen>)
Set Variable Set Reinforcements[3] = (Center of Reinforcements_3 <gen>)
Set Variable Set Reinforcements[4] = (Center of Reinforcements_4 <gen>)
Set Variable Set Reinforcements[5] = (Center of Reinforcements_5 <gen>)
Set Variable Set Reinforcements[6] = (Center of Reinforcements_6 <gen>)
Set Variable Set Reinforcements[7] = (Center of Reinforcements_7 <gen>)
Set Variable Set Reinforcements[8] = (Center of Reinforcements_8 <gen>)
Player Group - Pick every player in (All enemies of Player 1 (Red).) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Food cap to 24
Player - Limit training of Rebel Captain to 2 for (Picked player)
Game - Display to (Player group((Picked player))) the text: You are |cff995500severely|r outnumbered! You must use Guerilla Tactics in order to win this. Your opponents deal high amounts of damage, but they have a low rate of fire, so strike quickly and get out before they can get off to many shots. You can outrun them. Also beware of their melee, they deal high damage but attack at the same rate as you so do not engage in melee combat unless you must.
Visibility - Create an initially Enabled visibility modifier for (Picked player) emitting Fog of war across (Playable map area)
Game - Set Lock resource trading to Off
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Game - Display to (Player group((Picked player))) the text: If any Wagon dies, |cff995500you will lose|r. All though you outnumber and outgun your opponents, they have the advantage of the land, and can out run you. They also attack at a higher rate. Melee combat is you forte, you deal high damage but attack at the same rate as your rebel counter parts.
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
((Player((Integer A))) controller) Equal to User
((Player((Integer A))) slot status) Not equal to Is playing
Then - Actions
Unit Group - Pick every unit in (Units owned by (Player((Integer A))).) and do (Actions)
Loop - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Wait 6.00 game-time seconds
Player Group - Pick every player in (All enemies of Player 1 (Red).) and do (Actions)
Loop - Actions
Set Variable Set TempLoc = (Position of City Building 0158 <gen>)
Cinematic - Ping minimap for (All enemies of Player 1 (Red).) at TempLoc for 4.00 seconds, using a Simple ping of color ( 0.00 %, 100 %, 0.00 %)
Custom script: call RemoveLocation(udg_TempLoc)
Set Variable Set TempLoc = (Position of City Building 0032 <gen>)
Cinematic - Ping minimap for (All enemies of Player 1 (Red).) at TempLoc for 4.00 seconds, using a Simple ping of color ( 0.00 %, 100 %, 0.00 %)
Custom script: call RemoveLocation(udg_TempLoc)
Set Variable Set TempLoc = (Position of City Building 0002 <gen>)
Cinematic - Ping minimap for (All enemies of Player 1 (Red).) at TempLoc for 4.00 seconds, using a Simple ping of color ( 0.00 %, 100 %, 0.00 %)
Custom script: call RemoveLocation(udg_TempLoc)
Game - Display to (Player group((Picked player))) the text: The white pings on the map will display the locations of the front and back of the train every 7 seconds. You may recruit additional troops at the green pings.
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Display to (Player group((Picked player))) the text: You will receive additional troops when the train reaches each town.
Enter 002
Events
Unit - A unit enters Region_002 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_003 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_003 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 003
Events
Unit - A unit enters Region_003 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_004 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_004 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 004
Events
Unit - A unit enters Region_004 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_005 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_005 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 005
Events
Unit - A unit enters Region_005 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_006 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_006 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 006
Events
Unit - A unit enters Region_006 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_007 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_007 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 007
Events
Unit - A unit enters Region_007 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_008 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_008 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 008
Events
Unit - A unit enters Region_008 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_009 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_009 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 009
Events
Unit - A unit enters Region_009 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_010 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_010 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 010
Events
Unit - A unit enters Region_010 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_011 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_011 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 011
Events
Unit - A unit enters Region_011 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_012 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_012 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 012
Events
Unit - A unit enters Region_012 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_013 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_013 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 013
Events
Unit - A unit enters Region_013 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_014 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_014 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 014
Events
Unit - A unit enters Region_014 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_015 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_015 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 015
Events
Unit - A unit enters Region_015 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_016 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_016 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 016
Events
Unit - A unit enters Region_016 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_017 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_017 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 017
Events
Unit - A unit enters Region_017 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_018 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_018 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 018
Events
Unit - A unit enters Region_018 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc2 = (Center of Region_020 <gen>)
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to TempLoc2 over 2.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 2 (Blue) controller) Equal to User
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Guard for Player 2 (Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Field Cannon for Player 2 (Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Captain for Player 2 (Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Cinematic - Flash a speech indicator for (Last created unit) of color ( 100 %, 100 %, 100 %) with 0 % transparency
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 9 (Gray) controller) Equal to User
(Player 9 (Gray) slot status) Equal to Is playing
Then - Actions
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Guard for Player 9 (Gray) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Field Cannon for Player 9 (Gray) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Captain for Player 9 (Gray) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Cinematic - Flash a speech indicator for (Last created unit) of color ( 100 %, 100 %, 100 %) with 0 % transparency
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 10 (Light Blue) controller) Equal to User
(Player 10 (Light Blue) slot status) Equal to Is playing
Then - Actions
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Guard for Player 10 (Light Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Field Cannon for Player 10 (Light Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Captain for Player 10 (Light Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Cinematic - Flash a speech indicator for (Last created unit) of color ( 100 %, 100 %, 100 %) with 0 % transparency
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Else - Actions
Cinematic - Turn subtitle display override On
Cinematic - Send transmission to (All allies of Player 1 (Red).) from a Player 1 (Red) . Imperial Captain named Imperial Captain at Reinforcements[5] : Play No sound and display We serve the Empire. . Modify duration: Add 0 seconds and Wait
Set Variable Set TempLoc = (Center of Region_019 <gen>)
Unit - Order Train 0174 <gen> to Move To . TempLoc
Else - Actions
Set Variable Set TempLoc = ((Center of Region_019 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 019
Events
Unit - A unit enters Region_019 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_020 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_020 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 020
Events
Unit - A unit enters Region_020 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_021 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_021 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 021
Events
Unit - A unit enters Region_021 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_022 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_022 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 022
Events
Unit - A unit enters Region_022 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_023 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_023 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 023
Events
Unit - A unit enters Region_023 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_024 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_024 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 024
Events
Unit - A unit enters Region_024 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_025 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_025 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 025
Events
Unit - A unit enters Region_025 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_026 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_026 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 026
Events
Unit - A unit enters Region_026 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_027 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_027 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 027
Events
Unit - A unit enters Region_027 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_028 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_028 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 028
Events
Unit - A unit enters Region_028 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_029 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_029 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 029
Events
Unit - A unit enters Region_029 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_030 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_030 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 030
Events
Unit - A unit enters Region_030 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_031 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_031 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 031
Events
Unit - A unit enters Region_031 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_032 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_032 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 032
Events
Unit - A unit enters Region_032 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_033 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_033 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 033
Events
Unit - A unit enters Region_033 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_034 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_034 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 034
Events
Unit - A unit enters Region_034 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_035 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_035 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 035
Events
Unit - A unit enters Region_035 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_036 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_036 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 036
Events
Unit - A unit enters Region_036 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_037 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_037 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 037
Events
Unit - A unit enters Region_037 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc2 = (Center of Region_039 <gen>)
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Camera - Pan camera for (Picked player) to TempLoc2 over 2.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 2 (Blue) controller) Equal to User
(Player 2 (Blue) slot status) Equal to Is playing
Then - Actions
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TempLoc2 = (Random point in Region_039 <gen>)
Unit - Create 1 . Imperial Guard for Player 2 (Blue) at Reinforcements[(Random integer number between 1 and 4)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_039 <gen>)
Unit - Create 1 . Field Cannon for Player 2 (Blue) at Reinforcements[(Random integer number between 1 and 4)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Captain for Player 2 (Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Cinematic - Flash a speech indicator for (Last created unit) of color ( 100 %, 100 %, 100 %) with 0 % transparency
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 9 (Gray) controller) Equal to User
(Player 9 (Gray) slot status) Equal to Is playing
Then - Actions
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TempLoc2 = (Random point in Region_039 <gen>)
Unit - Create 1 . Imperial Guard for Player 9 (Gray) at Reinforcements[(Random integer number between 1 and 4)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_039 <gen>)
Unit - Create 1 . Field Cannon for Player 9 (Gray) at Reinforcements[(Random integer number between 1 and 4)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Captain for Player 9 (Gray) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Cinematic - Flash a speech indicator for (Last created unit) of color ( 100 %, 100 %, 100 %) with 0 % transparency
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Player 10 (Light Blue) controller) Equal to User
(Player 10 (Light Blue) slot status) Equal to Is playing
Then - Actions
For each (Integer A) from 1 to 8 , do (Actions)
Loop - Actions
Set Variable Set TempLoc2 = (Random point in Region_039 <gen>)
Unit - Create 1 . Imperial Guard for Player 10 (Light Blue) at Reinforcements[(Random integer number between 1 and 4)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_039 <gen>)
Unit - Create 1 . Field Cannon for Player 10 (Light Blue) at Reinforcements[(Random integer number between 1 and 4)] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Set Variable Set TempLoc2 = (Random point in Region_020 <gen>)
Unit - Create 1 . Imperial Captain for Player 10 (Light Blue) at Reinforcements[(Random integer number between 5 and 8)] facing Default building facing degrees
Cinematic - Flash a speech indicator for (Last created unit) of color ( 100 %, 100 %, 100 %) with 0 % transparency
Unit - Order (Last created unit) to Attack-Move To . TempLoc2
Custom script: call RemoveLocation(udg_TempLoc2)
Else - Actions
Cinematic - Turn subtitle display override On
Cinematic - Send transmission to (All allies of Player 1 (Red).) from a Player 1 (Red) . Imperial Guard named Imperial Guard at Reinforcements[1] : Play No sound and display We serve the Empire. . Modify duration: Add 0 seconds and Wait
Set Variable Set TempLoc = (Center of Region_038 <gen>)
Unit - Order Train 0174 <gen> to Move To . TempLoc
Else - Actions
Set Variable Set TempLoc = ((Center of Region_038 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 038
Events
Unit - A unit enters Region_038 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_039 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_039 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 039
Events
Unit - A unit enters Region_039 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_040 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_040 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 040
Events
Unit - A unit enters Region_040 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_041 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_041 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 041
Events
Unit - A unit enters Region_041 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_042 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_042 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 042
Events
Unit - A unit enters Region_042 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_043 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_043 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 043
Events
Unit - A unit enters Region_043 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_044 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_044 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 044
Events
Unit - A unit enters Region_044 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_045 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_045 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 045
Events
Unit - A unit enters Region_045 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_046 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_046 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 046
Events
Unit - A unit enters Region_046 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_047 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_047 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 047
Events
Unit - A unit enters Region_047 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_048 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_048 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 048
Events
Unit - A unit enters Region_048 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_049 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_049 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 049
Events
Unit - A unit enters Region_049 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_050 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_050 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 050
Events
Unit - A unit enters Region_050 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_051 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_051 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 051
Events
Unit - A unit enters Region_051 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_052 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_052 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 052
Events
Unit - A unit enters Region_052 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_053 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_053 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 053
Events
Unit - A unit enters Region_053 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_054 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_054 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 054
Events
Unit - A unit enters Region_054 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_055 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_055 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 055
Events
Unit - A unit enters Region_055 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_056 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_056 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 056
Events
Unit - A unit enters Region_056 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_057 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_057 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 057
Events
Unit - A unit enters Region_057 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_058 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_058 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 058
Events
Unit - A unit enters Region_058 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of Region_059 <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of Region_059 <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
Enter 059
Events
Unit - A unit enters Region_059 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Train 0174 <gen>
(Entering unit) Equal to Wagon 0170 <gen>
(Entering unit) Equal to Wagon 0169 <gen>
(Entering unit) Equal to Wagon 0173 <gen>
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Entering unit) Equal to Train 0174 <gen>
Then - Actions
Set Variable Set TempLoc = (Center of End <gen>)
Else - Actions
Set Variable Set TempLoc = ((Center of End <gen>) offset by (0, WagonOffset))
Unit - Order (Entering unit) to Move To . TempLoc
Custom script: call RemoveLocation(udg_TempLoc)
End
Events
Unit - A unit enters End <gen>
Conditions
(Entering unit) Equal to Train 0174 <gen>
Actions
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Victory (Picked player) ( Show dialogs, Show scores)
Player Group - Pick every player in (All enemies of Player 1 (Red).) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
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.