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
DalaranzonedefenceB2.w3x
Variables
Initialization
Melee Initialization
Fivesecondsin
Gold
GiveGold
Regions
P1Portal1
P1Portal2
P1Portal3
P1Portal4
P2Portal1
P2Portal2
P2Portal3
P2Portal4
SpawnUnits
FootmenP1
FootmenP2
CommandPts
P1CommandPt1
P1CmdPt1Trig2
P1CommandPt2
P1CmdPt2Trig2
P1CommandPt3
P1CmdPt3Trig2
P1CommandPt4
P1CmdPt4Trig2
P2CommandPt1
P2CmdPt1Trig2
P2CommandPt2
P2CmdPt2Trig2
P2CommandPt3
P2CmdPt3Trig2
P2CommandPt4
P2CmdPt4Trig2
Victory
Ownershipall
VictoryP1
VictoryP2
Computer
Movefootmenover
Bugs
Possible problems
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
BooleanArray
boolean
Yes
IntegerVictoryDefeat
integer
No
May alter fog of war to on if game better with it on.
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Player - Set Player 1 (Red) . Food cap to 150
Player - Set Player 1 (Red) . Current gold to 150
Player - Set Player 2 (Blue) . Food cap to 150
Player - Set Player 2 (Blue) . Current gold to 150
Visibility - Disable fog of war
Visibility - Disable black mask
Floating Text - Create floating text that reads Command Point 1 at (Center of Region_008 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 2 at (Center of Region_009 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 3 at (Center of Region_010 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 4 at (Center of Region_011 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 1 at (Center of Region_012 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 2 at (Center of Region_013 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 3 at (Center of Region_014 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Floating Text - Create floating text that reads Command Point 4 at (Center of Region_015 <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Melee Game - Run melee AI scripts (for computer players)
Player - Turn Gives bounty On for Player 1 (Red)
Player - Turn Gives bounty On for Player 2 (Blue)
Fivesecondsin
Events
Time - Elapsed game time is 10.00 seconds
Conditions
Actions
Game - Display to (All players) the text: Your Builders are positioned at your first command point. You have footmen spawning at your top left or right area on the map.
Quest - Create a Optional quest titled Starting: with the description Your Builders are positioned at your first command point. You have footmen spawning at your top left or right area on the map. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Optional quest titled Useful Info: with the description When a command point has been taken by a player, it cannot change ownership for 20 seconds. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Optional quest titled Conditions for winning: with the description To win you need ownership of all the command points. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
GiveGold
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Player - Add 10 to Player 1 (Red) . Current gold
Player - Add 10 to Player 2 (Blue) . Current gold
P1Portal1
Events
Unit - A unit enters Region_008 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_000 <gen>)
Camera - Pan camera for Player 1 (Red) to (Center of Region_000 <gen>) over 1.50 seconds
Cinematic - Ping minimap for (Player group(Player 1 (Red))) at (Center of Region_000 <gen>) for 1 seconds, using a Simple ping of color ( 100 %, 100 %, 100 %)
P1Portal2
Events
Unit - A unit enters Region_009 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_001 <gen>)
Camera - Pan camera for Player 1 (Red) to (Center of Region_001 <gen>) over 1.50 seconds
P1Portal3
Events
Unit - A unit enters Region_010 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_002 <gen>)
Camera - Pan camera for Player 1 (Red) to (Center of Region_002 <gen>) over 1.50 seconds
P1Portal4
Events
Unit - A unit enters Region_011 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_003 <gen>)
Camera - Pan camera for Player 1 (Red) to (Center of Region_003 <gen>) over 1.50 seconds
P2Portal1
Events
Unit - A unit enters Region_012 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_004 <gen>)
Camera - Pan camera for Player 2 (Blue) to (Center of Region_004 <gen>) over 1.50 seconds
P2Portal2
Events
Unit - A unit enters Region_013 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_005 <gen>)
Camera - Pan camera for Player 2 (Blue) to (Center of Region_005 <gen>) over 1.50 seconds
P2Portal3
Events
Unit - A unit enters Region_014 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_006 <gen>)
Camera - Pan camera for Player 2 (Blue) to (Center of Region_006 <gen>) over 1.50 seconds
P2Portal4
Events
Unit - A unit enters Region_015 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_007 <gen>)
Camera - Pan camera for Player 2 (Blue) to (Center of Region_007 <gen>) over 1.50 seconds
FootmenP1
Events
Time - Every 20.00 seconds of game time
Conditions
(Player 1 (Red) Food used) Less than 100
Actions
Unit - Create 1 . Footman for Player 1 (Red) at (Center of Region_016 <gen>) facing Default building facing degrees
FootmenP2
Events
Time - Every 20.00 seconds of game time
Conditions
(Player 2 (Blue) Food used) Less than 100
Actions
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_017 <gen>) facing Default building facing degrees
Person enters the command point region and ownership transfers if player is of opposite team to who controls it presently. Then it is that team's ownership for 20 seconds.
Unit not equal to peasant as they've invulnerable and not capturers.
P1CommandPt1
Events
Unit - A unit enters Region_018 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0013 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0013 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0013 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P1CmdPt1Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P1CmdPt1Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P1CommandPt1 <gen>
P1CommandPt2
Events
Unit - A unit enters Region_019 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0014 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0014 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0014 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P1CmdPt2Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P1CmdPt2Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P1CommandPt2 <gen>
P1CommandPt3
Events
Unit - A unit enters Region_020 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0015 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0015 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0015 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P1CmdPt3Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P1CmdPt3Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P1CommandPt3 <gen>
P1CommandPt4
Events
Unit - A unit enters Region_021 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0016 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0016 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0016 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P1CmdPt4Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P1CmdPt4Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P1CommandPt4 <gen>
P2CommandPt1
Events
Unit - A unit enters Region_022 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0017 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0017 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0017 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P2CmdPt1Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P2CmdPt1Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P2CommandPt1 <gen>
P2CommandPt2
Events
Unit - A unit enters Region_023 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0018 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0018 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0018 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P2CmdPt2Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P2CmdPt2Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P1CommandPt1 <gen>
Trigger - Turn on P2CommandPt2 <gen>
P2CommandPt3
Events
Unit - A unit enters Region_024 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0019 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0019 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0019 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P2CmdPt3Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P2CmdPt3Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P2CommandPt3 <gen>
P2CommandPt4
Events
Unit - A unit enters Region_025 <gen>
Conditions
(Unit-type of (Entering unit)) Not equal to Peasant
Actions
If ((Owner of (Entering unit)) Equal to (Owner of Arcane Vault 0020 <gen>)) then do (Skip remaining actions) else do (Do nothing)
If (((Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)) and ((Owner of (Entering unit)) Equal to Player 2 (Blue))) then do (Change ownership of Arcane Vault 0020 <gen> to Player 2 (Blue) and Change color) else do (Do nothing)
If (((Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)) and ((Owner of (Entering unit)) Equal to Player 1 (Red))) then do (Change ownership of Arcane Vault 0020 <gen> to Player 1 (Red) and Change color) else do (Do nothing)
Trigger - Run P2CmdPt4Trig2 <gen> (checking conditions)
Trigger - Turn off (This trigger)
P2CmdPt4Trig2
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
Wait 20.00 seconds
Trigger - Turn on P2CommandPt4 <gen>
Ownershipall
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 1 (Red)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 1 (Red)
Then - Actions
Trigger - Run VictoryP1 <gen> (checking conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of Arcane Vault 0013 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0014 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0015 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0016 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0017 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0018 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0019 <gen>) Equal to Player 2 (Blue)
(Owner of Arcane Vault 0020 <gen>) Equal to Player 2 (Blue)
Then - Actions
Trigger - Run VictoryP2 <gen> (checking conditions)
Else - Actions
Do nothing
VictoryP1
Events
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Defeat Player 2 (Blue) with the message: Defeat!
VictoryP2
Events
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Defeat Player 1 (Red) with the message: Defeat!
Movefootmenover
Events
Unit - A unit enters Region_017 <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Region_004 <gen>)
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.