1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  5. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

War of the Ring II (AZ-1.2b).w3m
Variables
Initialization
Initialization
Income
Hero Items
Add Wood
Gondor unused start
Shire unused start
Isengard unused start
Rohan unused start
Mordor unused start
Dwarves unused start
Rivendell unused start
Moria unused start
Minas Morgul unused start
Corsair unused start
Lorien unused start
Harad unused start
Help Menu
Help Menu
Destiny
Gondor Rohan Alliance
Shire Dwarf Alliance
Isengard Moria Alliance
Mordor Minas Morgul Alliance
Rivendell and Lorien Alliance
Corsair and Harad Alliance
Dialog Box
Middle Earth Add
Divided Alliance Add
Choose Middle Earth
Choose Divided Alliance
Destiny Board
Reinforcements Timer
Reinforcements Timer
ScoreBoard
Create
Update
Update Not Here
Updating Kills
Gondor
GondorArmy
Gondor Units
Gondor Units 1
Gondor Units 2
Gondor Units 3
Gondor Units 4
Revive Aragorn
Revive Faramir
Aragorn Levelup
Faramir Levelup
Aragorn Death
Faramir Death
Shire
ShireArmy
Shire Units
Shire Units 1
Shire Units 2
Shire Units 3
Shire Units 4
Revive Frodo
Revive Gandalf
Frodo Levelup
Gandalf Levelup
Frodo Death
Gandalf Death
Isengard
IsengardArmy
Isengard Units
Isengard Units 1
Isengard Units 2
Isengard Units 3
Isengard Units 4
Revive Saruman
Revive Uruk Chief
Saruman Levelup
Uruk Chief Levelup
Saruman Death
Uruk Chief Death
Rohan
RohanArmy
Rohan Units
Rohan Units 1
Rohan Units 2
Rohan Units 3
Rohan Units 4
Revive Theoden
Revive Eomer
Revive Eowyn
Theoden Levelup
Eomer Levelup
Eowyn Levelup
Theoden Death
Eomer Death
Eowyn Death
Mordor
MordorArmy
Mordor Units
Mordor Units 1
Mordor Units 2
Mordor Units 3
Mordor Units 4
Revive Sauron
Sauron Levelup
Sauron Death
Dwarves
DwarvesArmy
Dwarves Units
Dwarves Units 1
Dwarves Units 2
Dwarves Units 3
Dwarves Units 4
Revive Gimli
Revive Dain
Dain Levelup
Gimli Levelup
Dain Death
Gimli Death
Rivendell
RivendellArmy
Rivendale Units
Elves Units 1 Copy 2
Elves Units 2 Copy 2
Elves Units 3 Copy 2
Elves Units 4 Copy 2
Revive Elrond
Revive Legolas
Elrond Levelup
Legolas Levelup
Elrond Death
Legolas Death
Moria
MoriaArmy
Moria Units
Moria Units 1
Moria Units 2
Moria Units 3
Moria Units 4
Revive Water Watcher
Water Watcher Levelup
Water Watcher Death
Revive Durin Bane
Durin Bane Levelup
Durin Bane Death
Minas Morgul
Minas Morgul Army
Minas Morgul Units
Minas Morgul Units 1
Minas Morgul Units 2
Minas Morgul Units 3
Minas Morgul Units 4
Revive Nazgul King
Nazgul King Levelup
Nazgul King Death
Revive Shelob
Shelob Levelup
Shelob Death
Nazgul Lord Death
Corsair
Corsair Army
Corsair Units
Corsair Units 1
Corsair Units 2
Corsair Units 3
Corsair Units 4
Revive Heter Jeg Resten
Heter Levelup
Heter death
Revive Linveil
Linveil Levelup
Linveil death
Revive Raukodraug
Raukodraug Levelup
Raukodraug death
Lorien
LorienArmy
Lorien Units
Lorien Units 1
Lorien Units 2
Lorien Units 3
Lorien Units 4
Revive Galadriel
Galadriel Levelup
Galadriel Death
Revive Celeborn
Celeborn Levelup
Celeborn Death
Harad
HaradArmy
Harad Units
Harad Units 1
Harad Units 2
Harad Units 3
Harad Units 4
Revive Kintupak
Kintupak Levelup
Kintupak Death
Revive Exar
Exar Levelup
Exar Death
Losing conditions
Gondor leaves Divided
Gondor leaves Battle
Shire leaves Divided
Shire leaves Battle
Orthanc leaves Divided
Orthanc leaves Battle
Rohan leaves Divided
Rohan leaves Battle
Mordor leaves Divided
Mordor leaves Battle
Dwarves leaves Divided
Dwarves leaves Battle
Elves leaves Divided
Elves leaves Battle
Moria leaves Divided
Moria leaves Battle
Minas Morgul leaves Divided
Minas Morgul leaves Battle
Corsair leaves Divided
Corsair leaves Battle
Lorien leaves Divided
Lorien leaves Battle
Harad leaves Divided
Harad leaves Battle
Misc
Victory Middle Earth Evil
Victory Middle Earth Good
VictoryTrigger Good
VictoryTrigger Evil
Victory Divided Alliance Gondor Rohan
Victory Divided Alliance Shire Dwarves
Victory Divided Alliance Isengard Moria
Victory Divided Alliance Mordor Minas Morgul
Victory Divided Alliance Rivendell Lorien
Victory Divided Alliance Harad Corsair
VictoryTrigger Gondor Rohan
VictoryTrigger Shire Dwarves
VictoryTrigger Isengard Moria
VictoryTrigger Mordor Minas Morgul
VictoryTrigger Rivendell Lorien
VictoryTrigger Harad Corsair
Gondor Dies
Shire Dies
Isengard Dies
Rohan Dies
Mordor Dies
Dwarves Dies
Rivendell Dies
Moria Dies
Minas Morgul Dies
Corsair Dies
Lorien Dies
Harad Dies
Gate Opener
Gate Open
Gate Close
Spawner System
Leaver1
Spawner1Spawn
Spawner1Spawn Copy
Spawner1
Leaver2
Spawner2Spawn
Spawner2Spawn Copy
Spawner2
Leaver3
Spawner3Spawn
Spawner3Spawn Copy
Spawner3
Leaver4
Spawner4Spawn
Spawner4Spawn Copy
Spawner4
Leaver5
Spawner5Spawn
Spawner5Spawn Copy
Spawner5
Leaver6
Spawner6Spawn
Spawner6Spawn Copy
Spawner6

		
Name Type Is Array Initial Value
BattleForMiddleEarth button No
Choosing timer No
CorsairArmy integer No 1
Divided integer No 0
DividedAlliances button No
Dwarves boolean No true
DwarvesArmy integer No 1
ElvesArmy integer No 1
GameType dialog No
Gondor boolean No true
GondorArmy integer No 1
GondorMelee integer No 0
Harad boolean No true
HaradArmy integer No 1
Isengard boolean No true
IsengardArmy integer No 1
Kills integer Yes 0
LorienArmy integer No 1
Lothlorien boolean No true
MiddleEarth integer No 0
MinasMogul boolean No true
MinasMorgulArmy integer No 1
Mordor boolean No true
MordorArmy integer No 1
Moria boolean No true
MoriaArmy integer No 1
PlayDividedAlliances boolean No false
Reinforcements timer No
Rivendale boolean No true
Rohan boolean No true
RohanArmy integer No 1
Shire boolean No true
ShireArmy integer No 1
spawner1 player No
spawner2 player No
spawner3 player No
spawner4 player No
spawner5 player No
spawner6 player No
Umbar boolean No true
-------------------------------------------------------
Map: War of the Ring II
Author: AzuranZara (US West)
Name: Andes Tang
Email: atang@nanokiero.com
--------------------------------------------------------

If you wish to use this map as the basis of a new one, please leave credit to me in your opening screen. Otherwise this map was made with the intention to make other great maps, so have fun!
Initialization
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Game - Turn the day/night cycle On
    Game - Set the time of day to 6.00
    Game - Set time of day speed to 100% of the default speed
    Player - Turn Gives bounty On for Player 1 (Red)
    Player - Turn Gives bounty On for Player 2 (Blue)
    Player - Turn Gives bounty On for Player 3 (Teal)
    Player - Turn Gives bounty On for Player 4 (Purple)
    Player - Turn Gives bounty On for Player 5 (Yellow)
    Player - Turn Gives bounty On for Player 6 (Orange)
    Player - Turn Gives bounty On for Player 7 (Green)
    Player - Turn Gives bounty On for Player 8 (Pink)
    Player - Turn Gives bounty On for Player 9 (Gray)
    Player - Turn Gives bounty On for Player 10 (Light Blue)
    Player - Turn Gives bounty On for Player 11 (Dark Green)
    Player - Turn Gives bounty On for Player 12 (Brown)
    Player - Change color of Player 1 (Red) to Red, Changing color of existing units
    Player - Change color of Player 2 (Blue) to Blue, Changing color of existing units
    Player - Change color of Player 3 (Teal) to Teal, Changing color of existing units
    Player - Change color of Player 4 (Purple) to Purple, Changing color of existing units
    Player - Change color of Player 5 (Yellow) to Yellow, Changing color of existing units
    Player - Change color of Player 6 (Orange) to Orange, Changing color of existing units
    Player - Change color of Player 7 (Green) to Green, Changing color of existing units
    Player - Change color of Player 8 (Pink) to Pink, Changing color of existing units
    Player - Change color of Player 9 (Gray) to Gray, Changing color of existing units
    Player - Change color of Player 10 (Light Blue) to Light Blue, Changing color of existing units
    Player - Change color of Player 11 (Dark Green) to Dark Green, Changing color of existing units
    Player - Change color of Player 12 (Brown) to Brown, Changing color of existing units
    Set VariableSet Kills[(Player number of Player 1 (Red))] = 0
    Set VariableSet Kills[(Player number of Player 2 (Blue))] = 0
    Set VariableSet Kills[(Player number of Player 3 (Teal))] = 0
    Set VariableSet Kills[(Player number of Player 4 (Purple))] = 0
    Set VariableSet Kills[(Player number of Player 5 (Yellow))] = 0
    Set VariableSet Kills[(Player number of Player 6 (Orange))] = 0
    Set VariableSet Kills[(Player number of Player 7 (Green))] = 0
    Set VariableSet Kills[(Player number of Player 8 (Pink))] = 0
    Set VariableSet Kills[(Player number of Player 9 (Gray))] = 0
    Set VariableSet Kills[(Player number of Player 10 (Light Blue))] = 0
    Set VariableSet Kills[(Player number of Player 11 (Dark Green))] = 0
    Set VariableSet Kills[(Player number of Player 12 (Brown))] = 0
    Unit - Set mana of Heir of Elendil 0304 <gen> to 400.00
    Unit - Set mana of Lord of Lorien 0495 <gen> to 400.00
    Unit - Set mana of Curunir of Valinor 0306 <gen> to 400.00
    Unit - Set mana of Son of Earendil 0299 <gen> to 400.00
    Unit - Set mana of Shield Maiden of Rohan 0303 <gen> to 400.00
    Unit - Set mana of Steward of Gondor 0308 <gen> to 400.00
    Unit - Set mana of The Ringbearer 0305 <gen> to 400.00
    Unit - Set mana of Daughter of Finarfin 0298 <gen> to 400.00
    Unit - Set mana of Captain of the Corsairs 0483 <gen> to 400.00
    Unit - Set mana of King Under the Mountain 0288 <gen> to 400.00
    Unit - Set mana of Son of Thranduil 0300 <gen> to 400.00
    Unit - Set mana of Master of the Dark Arts 0496 <gen> to 400.00
    Unit - Set mana of Lord of the Mark 0301 <gen> to 400.00
    Unit - Set mana of Uruk Chief 0357 <gen> to 400.00
    Unit - Set mana of Marshal of the Mark 0302 <gen> to 400.00
    Unit - Set mana of Nazgul King 0485 <gen> to 400.00
    Unit - Set mana of Gandalf 0307 <gen> to 400.00
    Unit - Set mana of Spawn of Ungoliant 0488 <gen> to 400.00
    Unit - Set mana of Haradrim Chieftain 0497 <gen> to 400.00
    Unit - Set mana of Lord of the Rings 0484 <gen> to 400.00
    Unit - Set mana of Son of Gloin 0289 <gen> to 400.00
    Unit - Set mana of Water Watcher 0494 <gen> to 400.00
    Unit - Set mana of Mumakil Tamer 0540 <gen> to 400.00
    Unit - Set mana of Lord of Near Harad 0539 <gen> to 400.00
    Destructible - Set max life of Demonic Gate 1154 <gen> to 5000.00
    Destructible - Set life of Demonic Gate 1154 <gen> to 100%
    Destructible - Set max life of Demonic Gate 1156 <gen> to 5000.00
    Destructible - Set life of Demonic Gate 1156 <gen> to 100%
    Destructible - Set max life of Demonic Gate 1160 <gen> to 5000.00
    Destructible - Set life of Demonic Gate 1160 <gen> to 100%
    Unit - Hide Circle of Power 0515 <gen>
    Unit - Hide Circle of Power 0516 <gen>
    Unit - Hide Circle of Power 0517 <gen>
    Unit - Hide Circle of Power 0518 <gen>
    Unit - Hide Circle of Power 0519 <gen>
    Unit - Hide Circle of Power 0520 <gen>
    Trigger - Run Gondor_unused_start <gen> (checking conditions)
    Trigger - Run Shire_unused_start <gen> (checking conditions)
    Trigger - Run Isengard_unused_start <gen> (checking conditions)
    Trigger - Run Rohan_unused_start <gen> (checking conditions)
    Trigger - Run Mordor_unused_start <gen> (checking conditions)
    Trigger - Run Dwarves_unused_start <gen> (checking conditions)
    Trigger - Run Rivendell_unused_start <gen> (checking conditions)
    Trigger - Run Moria_unused_start <gen> (checking conditions)
    Trigger - Run Minas_Morgul_unused_start <gen> (checking conditions)
    Trigger - Run Corsair_unused_start <gen> (checking conditions)
    Trigger - Run Lorien_unused_start <gen> (checking conditions)
    Game - Display to (All players) the text: |c009B0000[Battle for Middle Earth]:|r The Forces of Light battles the Forces of Sauron for domination of Middle Earth.
    Game - Display to (All players) the text: |c009B0000[Divided Alliances]:|r The alliances in Middle Earth has been shattered, now each of the warring factions attempts to take over. Includes area control element.
    Trigger - Run Dialog_Box <gen> (ignoring conditions)
Income
  Events
    Time - Every 60.00 seconds of game time
  Conditions
  Actions
    Player - Add 700 to Player 1 (Red).Current gold
    Player - Add 700 to Player 2 (Blue).Current gold
    Player - Add 1000 to Player 3 (Teal).Current gold
    Player - Add 700 to Player 4 (Purple).Current gold
    Player - Add 800 to Player 5 (Yellow).Current gold
    Player - Add 700 to Player 6 (Orange).Current gold
    Player - Add 700 to Player 7 (Green).Current gold
    Player - Add 600 to Player 8 (Pink).Current gold
    Player - Add 600 to Player 9 (Gray).Current gold
    Player - Add 600 to Player 10 (Light Blue).Current gold
    Player - Add 700 to Player 11 (Dark Green).Current gold
    Player - Add 600 to Player 12 (Brown).Current gold
Hero Items
  Events
    Map initialization
  Conditions
  Actions
    Hero - Create The One Ring and give it to The Ringbearer 0305 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to The Ringbearer 0305 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Narya and give it to Gandalf 0307 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Gandalf 0307 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Nenya and give it to Daughter of Finarfin 0298 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Daughter of Finarfin 0298 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Lord of Lorien 0495 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Son of Thranduil 0300 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Vilya and give it to Son of Earendil 0299 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Son of Earendil 0299 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Narsil and give it to Heir of Elendil 0304 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Heir of Elendil 0304 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Steward of Gondor 0308 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Curunir of Valinor 0306 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Uruk Chief 0357 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Lord of the Mark 0301 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Marshal of the Mark 0302 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Shield Maiden of Rohan 0303 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Haradrim Chieftain 0497 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Captain of the Corsairs 0483 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Master of the Dark Arts 0496 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Lord of the Rings 0484 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Nazgul King 0485 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Water Watcher 0494 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to King Under the Mountain 0288 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Son of Gloin 0289 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Spawn of Ungoliant 0488 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Balrog 0522 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Lord of Near Harad 0539 <gen>
    Item - Make (Last created item) Undroppable
    Hero - Create Ankh of Reincarnation and give it to Mumakil Tamer 0540 <gen>
    Item - Make (Last created item) Undroppable
Add Wood
  Events
    Unit - A unit owned by Player 1 (Red).Dies
    Unit - A unit owned by Player 2 (Blue).Dies
    Unit - A unit owned by Player 3 (Teal).Dies
    Unit - A unit owned by Player 4 (Purple).Dies
    Unit - A unit owned by Player 5 (Yellow).Dies
    Unit - A unit owned by Player 6 (Orange).Dies
    Unit - A unit owned by Player 7 (Green).Dies
    Unit - A unit owned by Player 8 (Pink).Dies
    Unit - A unit owned by Player 9 (Gray).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
    Unit - A unit owned by Player 11 (Dark Green).Dies
    Unit - A unit owned by Player 12 (Brown).Dies
  Conditions
  Actions
    Player - Add 40 to (Owner of (Killing unit)).Current lumber
Gondor unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 1 (Red) slot status) Equal to Is unused) or ((Player 1 (Red) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Gondor_leaves_Battle <gen> (checking conditions)
    Trigger - Run Gondor_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Shire unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 2 (Blue) slot status) Equal to Is unused) or ((Player 2 (Blue) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Shire_leaves_Battle <gen> (checking conditions)
    Trigger - Run Shire_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Isengard unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 3 (Teal) slot status) Equal to Is unused) or ((Player 3 (Teal) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Orthanc_leaves_Battle <gen> (checking conditions)
    Trigger - Run Orthanc_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Rohan unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 4 (Purple) slot status) Equal to Is unused) or ((Player 4 (Purple) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Rohan_leaves_Battle <gen> (checking conditions)
    Trigger - Run Rohan_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Mordor unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 5 (Yellow) slot status) Equal to Is unused) or ((Player 5 (Yellow) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Mordor_leaves_Battle <gen> (checking conditions)
    Trigger - Run Mordor_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Dwarves unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 6 (Orange) slot status) Equal to Is unused) or ((Player 6 (Orange) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Dwarves_leaves_Battle <gen> (checking conditions)
    Trigger - Run Dwarves_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Rivendell unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 7 (Green) slot status) Equal to Is unused) or ((Player 7 (Green) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Elves_leaves_Battle <gen> (checking conditions)
    Trigger - Run Elves_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Moria unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 8 (Pink) slot status) Equal to Is unused) or ((Player 8 (Pink) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Moria_leaves_Battle <gen> (checking conditions)
    Trigger - Run Moria_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Minas Morgul unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 9 (Gray) slot status) Equal to Is unused) or ((Player 9 (Gray) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Minas_Morgul_leaves_Battle <gen> (checking conditions)
    Trigger - Run Minas_Morgul_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Corsair unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 10 (Light Blue) slot status) Equal to Is unused) or ((Player 10 (Light Blue) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Corsair_leaves_Battle <gen> (checking conditions)
    Trigger - Run Corsair_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Lorien unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 11 (Dark Green) slot status) Equal to Is unused) or ((Player 11 (Dark Green) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Lorien_leaves_Battle <gen> (checking conditions)
    Trigger - Run Lorien_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Harad unused start
  Events
    Time - Every 10.00 seconds of game time
  Conditions
    ((Player 12 (Brown) slot status) Equal to Is unused) or ((Player 12 (Brown) slot status) Equal to Has left the game)
  Actions
    Trigger - Run Harad_leaves_Battle <gen> (checking conditions)
    Trigger - Run Harad_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Help Menu
  Events
    Map initialization
  Conditions
  Actions
    Quest - Create a Required quest titled GameTypes with the description - There are two gametypes in this particular map; Battle for Middle Earth and Divided Alliances- In Battle for Middle Earth the alliances will be based on Good versus Evil as per that of the Lord of the Rings series.- In Divided Alliances, I've made some arbitrary teams in which they vie for domination of Middle Earth.- Divided Alliances also adds the new element of area control to intensify conflicts between the teams in their domination for Middle Earth.The Teams:- Gondor (Red) & Rohan (Purple)- Shire (Blue) & Dwarves (Orange)- Isengard (Teal) & Moria (Pink)- Mordor (Yellow) & Minas Morgul (Gray)- Riviendell (Green) & Lorien (Dark Green)- Corsair (Light Blue) & Harad (Brown), using icon path ReplaceableTextures\CommandButtons\BTNSobiMask.blp
    Quest - Create a Required quest titled Winning Conditions with the description - You kill off your enemies by destroying their primary building (the biggest one)- Destroy all those that isn't on your side and your team will win.- But watch out as they will be doing the same to your side., using icon path ReplaceableTextures\CommandButtons\BTNHeartOfSearinox.blp
    Quest - Create a Required quest titled Income & Troops with the description - You get gold every minute and reinforcements every two minutes- You also get bounty (gold and wood) from killing enemy troops, using icon path ReplaceableTextures\CommandButtons\BTNSpellShieldAmulet.blp
    Quest - Create a Required quest titled Heroes with the description - The heroes gain an akh at (level 3, 6, and 10), the only heroes that don't get akhs at those levels are the Nine, except the Nazgul King- Remember to accompany your heroes with me, a hero stuck deep in enemy territory is as good as dead., using icon path ReplaceableTextures\CommandButtons\BTNTomeBrown.blp
    Quest - Create a Required quest titled Upgrading with the description - Remember to upgrade, it makes a big difference in your troops- Upgrading needs wood, you get wood from killing the enemy- Whenever your wood counter reaches 4000, it will upgrade ur military immediately. - There are 3 military upgrades, so if you are totally upgraded for your military remember to share your wood with the other team members, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
    Quest - Create a Required quest titled Black Gates of Mordor with the description - Only Mordor can open the black gates by typing '-open'- It will only open for the Forces of Evil, so the Good will either have to wait for Evil to open the gate or destroy it.- The Gate each have 5000hp, so evil could very well put tons of ranged units on the cliffs and make quick work of incoming Forces of the Light., using icon path ReplaceableTextures\CommandButtons\BTNWandOfCyclone.blp
    Quest - Create a Optional quest titled Map & Author with the description War of the Ring II: Version 1.2bDated: June 18th, 2006By: AzuranZara (US West)Email: atang@nanokiero.com, using icon path ReplaceableTextures\CommandButtons\BTNDarkSummoning.blp
    Quest - Create a Optional quest titled Versions & Additions with the description War of the Ring I: Divided Alliances1.1 - 1.6 (RoC): Contains a game and map loosely based on the world of Middle Earth, packs in the action of footman wars into the heroes and units we love from the Lord of the Rings.1.7 (tFt): Frozen Throne port, collaborated with Moronicizer (US West)War of the Ring II: Middle Earth1.0: Implemented a new map that better reflects on the Land of Middle Earth. Added new races, Corsairs, Lorien, and Minas Morgul.1.1: Implemented both Divided Alliances & Battle for Middle Earth gametypes for variety, with spawner system. With a total of 43 buildable units and 6 spawner units. With 20 unique heroes.1.2: Terrain changes & Unit Balancing., using icon path ReplaceableTextures\CommandButtons\BTNCloakOfFlames.blp
Gondor Rohan Alliance
  Events
  Conditions
  Actions
    Player - Make Player 1 (Red) treat Player 2 (Blue) as an Enemy
    Player - Make Player 1 (Red) treat Player 3 (Teal) as an Enemy
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally with shared vision
    Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Enemy
    Player - Make Player 1 (Red) treat Player 7 (Green) as an Enemy
    Player - Make Player 1 (Red) treat Player 8 (Pink) as an Enemy
    Player - Make Player 1 (Red) treat Player 9 (Gray) as an Enemy
    Player - Make Player 1 (Red) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 1 (Red) treat Player 12 (Brown) as an Enemy
    Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Player 4 (Purple) treat Player 2 (Blue) as an Enemy
    Player - Make Player 4 (Purple) treat Player 3 (Teal) as an Enemy
    Player - Make Player 4 (Purple) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Enemy
    Player - Make Player 4 (Purple) treat Player 7 (Green) as an Enemy
    Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Enemy
    Player - Make Player 4 (Purple) treat Player 9 (Gray) as an Enemy
    Player - Make Player 4 (Purple) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 4 (Purple) treat Player 12 (Brown) as an Enemy
Shire Dwarf Alliance
  Events
  Conditions
  Actions
    Player - Make Player 2 (Blue) treat Player 1 (Red) as an Enemy
    Player - Make Player 2 (Blue) treat Player 3 (Teal) as an Enemy
    Player - Make Player 2 (Blue) treat Player 4 (Purple) as an Enemy
    Player - Make Player 2 (Blue) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally with shared vision
    Player - Make Player 2 (Blue) treat Player 7 (Green) as an Enemy
    Player - Make Player 2 (Blue) treat Player 8 (Pink) as an Enemy
    Player - Make Player 2 (Blue) treat Player 9 (Gray) as an Enemy
    Player - Make Player 2 (Blue) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 2 (Blue) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 2 (Blue) treat Player 12 (Brown) as an Enemy
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Enemy
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 3 (Teal) as an Enemy
    Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Enemy
    Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 6 (Orange) treat Player 7 (Green) as an Enemy
    Player - Make Player 6 (Orange) treat Player 8 (Pink) as an Enemy
    Player - Make Player 6 (Orange) treat Player 9 (Gray) as an Enemy
    Player - Make Player 6 (Orange) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 6 (Orange) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 6 (Orange) treat Player 12 (Brown) as an Enemy
Isengard Moria Alliance
  Events
  Conditions
  Actions
    Player - Make Player 3 (Teal) treat Player 1 (Red) as an Enemy
    Player - Make Player 3 (Teal) treat Player 2 (Blue) as an Enemy
    Player - Make Player 3 (Teal) treat Player 4 (Purple) as an Enemy
    Player - Make Player 3 (Teal) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 3 (Teal) treat Player 6 (Orange) as an Enemy
    Player - Make Player 3 (Teal) treat Player 7 (Green) as an Enemy
    Player - Make Player 3 (Teal) treat Player 9 (Gray) as an Enemy
    Player - Make Player 3 (Teal) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 3 (Teal) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 3 (Teal) treat Player 12 (Brown) as an Enemy
    Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Ally with shared vision
    Player - Make Player 8 (Pink) treat Player 1 (Red) as an Enemy
    Player - Make Player 8 (Pink) treat Player 2 (Blue) as an Enemy
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Ally with shared vision
    Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Enemy
    Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 8 (Pink) treat Player 6 (Orange) as an Enemy
    Player - Make Player 8 (Pink) treat Player 7 (Green) as an Enemy
    Player - Make Player 8 (Pink) treat Player 9 (Gray) as an Enemy
    Player - Make Player 8 (Pink) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 8 (Pink) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 8 (Pink) treat Player 12 (Brown) as an Enemy
Mordor Minas Morgul Alliance
  Events
  Conditions
  Actions
    Player - Make Player 5 (Yellow) treat Player 1 (Red) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 2 (Blue) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 3 (Teal) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 4 (Purple) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 7 (Green) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 8 (Pink) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 9 (Gray) as an Ally with shared vision
    Player - Make Player 5 (Yellow) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 12 (Brown) as an Enemy
    Player - Make Player 9 (Gray) treat Player 1 (Red) as an Enemy
    Player - Make Player 9 (Gray) treat Player 2 (Blue) as an Enemy
    Player - Make Player 9 (Gray) treat Player 3 (Teal) as an Enemy
    Player - Make Player 9 (Gray) treat Player 4 (Purple) as an Enemy
    Player - Make Player 9 (Gray) treat Player 5 (Yellow) as an Ally with shared vision
    Player - Make Player 9 (Gray) treat Player 6 (Orange) as an Enemy
    Player - Make Player 9 (Gray) treat Player 7 (Green) as an Enemy
    Player - Make Player 9 (Gray) treat Player 8 (Pink) as an Enemy
    Player - Make Player 9 (Gray) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 9 (Gray) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 9 (Gray) treat Player 12 (Brown) as an Enemy
Rivendell and Lorien Alliance
  Events
  Conditions
  Actions
    Player - Make Player 7 (Green) treat Player 1 (Red) as an Enemy
    Player - Make Player 7 (Green) treat Player 2 (Blue) as an Enemy
    Player - Make Player 7 (Green) treat Player 3 (Teal) as an Enemy
    Player - Make Player 7 (Green) treat Player 4 (Purple) as an Enemy
    Player - Make Player 7 (Green) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 7 (Green) treat Player 6 (Orange) as an Enemy
    Player - Make Player 7 (Green) treat Player 8 (Pink) as an Enemy
    Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Ally with shared vision
    Player - Make Player 7 (Green) treat Player 9 (Gray) as an Enemy
    Player - Make Player 7 (Green) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 7 (Green) treat Player 12 (Brown) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 2 (Blue) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 3 (Teal) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 6 (Orange) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Ally with shared vision
    Player - Make Player 11 (Dark Green) treat Player 8 (Pink) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 9 (Gray) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 12 (Brown) as an Enemy
Corsair and Harad Alliance
  Events
  Conditions
  Actions
    Player - Make Player 10 (Light Blue) treat Player 1 (Red) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 2 (Blue) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 3 (Teal) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 4 (Purple) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 6 (Orange) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 7 (Green) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 8 (Pink) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 9 (Gray) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Ally with shared vision
    Player - Make Player 12 (Brown) treat Player 1 (Red) as an Enemy
    Player - Make Player 12 (Brown) treat Player 2 (Blue) as an Enemy
    Player - Make Player 12 (Brown) treat Player 3 (Teal) as an Enemy
    Player - Make Player 12 (Brown) treat Player 4 (Purple) as an Enemy
    Player - Make Player 12 (Brown) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 12 (Brown) treat Player 6 (Orange) as an Enemy
    Player - Make Player 12 (Brown) treat Player 7 (Green) as an Enemy
    Player - Make Player 12 (Brown) treat Player 8 (Pink) as an Enemy
    Player - Make Player 12 (Brown) treat Player 9 (Gray) as an Enemy
    Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 12 (Brown) treat Player 12 (Brown) as an Ally with shared vision
Dialog Box
  Events
  Conditions
  Actions
    Countdown Timer - Start Choosing as a One-shot timer that will expire in 30 seconds
    Countdown Timer - Create a timer window for (Last started timer) with title Time to Choose Your Destiny
    Countdown Timer - Show (Last created timer window)
    Dialog - Change the title of GameType to Choose Your Destiny
    Dialog - Create a dialog button for GameType labelled Battle for Middle Earth
    Set VariableSet BattleForMiddleEarth = (Last created dialog Button)
    Dialog - Create a dialog button for GameType labelled Divided Alliances
    Set VariableSet DividedAlliances = (Last created dialog Button)
    Dialog - Show GameType for Player 1 (Red)
    Dialog - Show GameType for Player 2 (Blue)
    Dialog - Show GameType for Player 3 (Teal)
    Dialog - Show GameType for Player 4 (Purple)
    Dialog - Show GameType for Player 5 (Yellow)
    Dialog - Show GameType for Player 6 (Orange)
    Dialog - Show GameType for Player 7 (Green)
    Dialog - Show GameType for Player 8 (Pink)
    Dialog - Show GameType for Player 9 (Gray)
    Dialog - Show GameType for Player 10 (Light Blue)
    Dialog - Show GameType for Player 11 (Dark Green)
    Dialog - Show GameType for Player 12 (Brown)
    Trigger - Run Destiny_Board <gen> (checking conditions)
Middle Earth Add
  Events
    Dialog - A dialog button is clicked for GameType
  Conditions
    (Clicked dialog button) Equal to BattleForMiddleEarth
  Actions
    Set VariableSet MiddleEarth = (MiddleEarth + 1)
    Leaderboard - Change the value for Neutral Hostile in (Last created leaderboard) to MiddleEarth
Divided Alliance Add
  Events
    Dialog - A dialog button is clicked for GameType
  Conditions
    (Clicked dialog button) Equal to DividedAlliances
  Actions
    Set VariableSet Divided = (Divided + 1)
    Leaderboard - Change the value for Neutral Victim in (Last created leaderboard) to Divided
Choose Middle Earth
  Events
    Time - Elapsed game time is 30.00 seconds
  Conditions
    MiddleEarth Greater than or equal to Divided
  Actions
    Leaderboard - Destroy (Last created leaderboard)
    Unit - Remove Circle of Power 0515 <gen> from the game
    Unit - Remove Circle of Power 0516 <gen> from the game
    Unit - Remove Circle of Power 0517 <gen> from the game
    Unit - Remove Circle of Power 0519 <gen> from the game
    Unit - Remove Circle of Power 0518 <gen> from the game
    Unit - Remove Circle of Power 0520 <gen> from the game
    Countdown Timer - Destroy (Last created timer window)
    Set VariableSet PlayDividedAlliances = False
    Trigger - Turn off Dialog_Box <gen>
    Trigger - Turn off Middle_Earth_Add <gen>
    Trigger - Turn off Divided_Alliance_Add <gen>
    Trigger - Turn off Victory_Divided_Alliance_Gondor_Rohan <gen>
    Trigger - Turn off Victory_Divided_Alliance_Isengard_Moria <gen>
    Trigger - Turn off Victory_Divided_Alliance_Mordor_Minas_Morgul <gen>
    Trigger - Turn off Victory_Divided_Alliance_Rivendell_Lorien <gen>
    Trigger - Turn off Victory_Divided_Alliance_Shire_Dwarves <gen>
    Trigger - Turn off Victory_Divided_Alliance_Shire_Dwarves <gen>
    Game - Display to (All players) the text: |c009B0000[Narrator]:|r This is the Great Battle of the Third Age of Middle Earth.
    Wait 5.00 seconds
    Game - Display to (All players) for 10.00 seconds the text: |c009B0000[Narrator]:|r If you require help with regard to how to play this map, please refer to the quests (F9) for the help menu.
    Unit - Remove Spawn of Ungoliant 0488 <gen> from the game
    Trigger - Turn off (This trigger)
Choose Divided Alliance
  Events
    Time - Elapsed game time is 30.00 seconds
  Conditions
    Divided Greater than or equal to MiddleEarth
  Actions
    Leaderboard - Destroy (Last created leaderboard)
    Countdown Timer - Destroy (Last created timer window)
    Unit - Remove Nazgul Lord 0486 <gen> from the game
    Unit - Remove Nazgul Lord 0487 <gen> from the game
    Unit - Remove Nazgul Lord 0489 <gen> from the game
    Unit - Remove Nazgul Lord 0490 <gen> from the game
    Unit - Remove Nazgul Lord 0491 <gen> from the game
    Unit - Remove Nazgul Lord 0492 <gen> from the game
    Unit - Remove Nazgul Lord 0493 <gen> from the game
    Unit - Remove Nazgul Lord 0521 <gen> from the game
    Trigger - Turn off Dialog_Box <gen>
    Trigger - Turn off Middle_Earth_Add <gen>
    Trigger - Turn off Divided_Alliance_Add <gen>
    Trigger - Turn off Victory_Middle_Earth_Evil <gen>
    Trigger - Turn off Victory_Middle_Earth_Good <gen>
    Game - Display to (All players) the text: |c009B0000[Narrator]:|r The Land of Middle Earth is now Divided
    Game - Display to Player Group - Player 1 (Red) the text: |c009B0000[Gondor & Rohan Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 2 (Blue) the text: |c009B0000[Shire & Dwarven Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 3 (Teal) the text: |c009B0000[Isengard & Moria Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 4 (Purple) the text: |c009B0000[Gondor & Rohan Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 5 (Yellow) the text: |c009B0000[Mordor & Minas Morgul Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 6 (Orange) the text: |c009B0000[Shire & Dwarven Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 7 (Green) the text: |c009B0000[Rivendell & Lorien Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 8 (Pink) the text: |c009B0000[Isengard & Moria Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 9 (Gray) the text: |c009B0000[Mordor & Minas Morgul Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 10 (Light Blue) the text: |c009B0000[Corsair & Harad Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 11 (Dark Green) the text: |c009B0000[Rivendell & Lorien Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Game - Display to Player Group - Player 12 (Brown) the text: |c009B0000[Corsair & Harad Alliance]:|r Please collaborate with your partner as to your strategic planning to take over Middle Earth.
    Set VariableSet PlayDividedAlliances = True
    Leaderboard - Change the label for Player 1 (Red) in (Last created leaderboard) to - Gondor
    Leaderboard - Change the label for Player 2 (Blue) in (Last created leaderboard) to - Shire
    Leaderboard - Change the label for Player 3 (Teal) in (Last created leaderboard) to - Isengard
    Leaderboard - Change the label for Player 4 (Purple) in (Last created leaderboard) to - Rohan
    Leaderboard - Change the label for Player 5 (Yellow) in (Last created leaderboard) to - Mordor
    Leaderboard - Change the label for Player 6 (Orange) in (Last created leaderboard) to - Dwarves
    Leaderboard - Change the label for Player 7 (Green) in (Last created leaderboard) to - Rivendell
    Leaderboard - Change the label for Player 8 (Pink) in (Last created leaderboard) to - Moria
    Leaderboard - Change the label for Player 9 (Gray) in (Last created leaderboard) to - Minas Morgul
    Leaderboard - Change the label for Player 10 (Light Blue) in (Last created leaderboard) to - Corsairs
    Leaderboard - Change the label for Player 11 (Dark Green) in (Last created leaderboard) to - Lorien
    Leaderboard - Change the label for Player 12 (Brown) in (Last created leaderboard) to - Harad
    Trigger - Run Gondor_Rohan_Alliance <gen> (ignoring conditions)
    Trigger - Run Shire_Dwarf_Alliance <gen> (ignoring conditions)
    Trigger - Run Isengard_Moria_Alliance <gen> (ignoring conditions)
    Trigger - Run Mordor_Minas_Morgul_Alliance <gen> (ignoring conditions)
    Trigger - Run Rivendell_and_Lorien_Alliance <gen> (ignoring conditions)
    Trigger - Run Corsair_and_Harad_Alliance <gen> (ignoring conditions)
    Unit - Unhide Circle of Power 0515 <gen>
    Unit - Unhide Circle of Power 0516 <gen>
    Unit - Unhide Circle of Power 0517 <gen>
    Unit - Unhide Circle of Power 0518 <gen>
    Unit - Unhide Circle of Power 0519 <gen>
    Unit - Unhide Circle of Power 0520 <gen>
    Wait 5.00 seconds
    Game - Display to (All players) for 10.00 seconds the text: |c009B0000[Narrator]:|r If you require help with regard to how to play this map, please refer to the quests (F9) for the help menu.
    Trigger - Turn off (This trigger)
Destiny Board
  Events
  Conditions
  Actions
    Leaderboard - Create a leaderboard for (All players) titled Choose Your Destiny:
    Leaderboard - Add Neutral Hostile to (Last created leaderboard) with label Battle for Middle Earth and value 0
    Leaderboard - Add Neutral Victim to (Last created leaderboard) with label Divided Alliance and value 0
    Leaderboard - Show (Last created leaderboard)
Reinforcements Timer
  Events
    Time - Elapsed game time is 120.00 seconds
  Conditions
  Actions
    Countdown Timer - Start Reinforcements as a Repeating timer that will expire in 120.00 seconds
    Countdown Timer - Create a timer window for (Last started timer) with title Reinforcements:
    Countdown Timer - Show (Last created timer window)
Create
  Events
    Time - Elapsed game time is 120.00 seconds
  Conditions
  Actions
    Leaderboard - Create a leaderboard for (All players) titled War of the Ring II: (Kills)
    If (Gondor Equal to True) then do (Add Player 1 (Red) to (Last created leaderboard) with label - Gondor (Good) and value 0) else do (Do nothing)
    If (Shire Equal to True) then do (Add Player 2 (Blue) to (Last created leaderboard) with label - Shire (Good) and value 0) else do (Do nothing)
    If (Isengard Equal to True) then do (Add Player 3 (Teal) to (Last created leaderboard) with label - Isengard (Evil) and value 0) else do (Do nothing)
    If (Rohan Equal to True) then do (Add Player 4 (Purple) to (Last created leaderboard) with label - Rohan (Good) and value 0) else do (Do nothing)
    If (Mordor Equal to True) then do (Add Player 5 (Yellow) to (Last created leaderboard) with label - Mordor (Evil) and value 0) else do (Do nothing)
    If (Dwarves Equal to True) then do (Add Player 6 (Orange) to (Last created leaderboard) with label - Dwarves (Good) and value 0) else do (Do nothing)
    If (Rivendale Equal to True) then do (Add Player 7 (Green) to (Last created leaderboard) with label - Rivendell (Good) and value 0) else do (Do nothing)
    If (Moria Equal to True) then do (Add Player 8 (Pink) to (Last created leaderboard) with label - Moria (Evil) and value 0) else do (Do nothing)
    If (MinasMogul Equal to True) then do (Add Player 9 (Gray) to (Last created leaderboard) with label - Minas Morgul (Evil) and value 0) else do (Do nothing)
    If (Umbar Equal to True) then do (Add Player 10 (Light Blue) to (Last created leaderboard) with label - Corsairs (Evil) and value 0) else do (Do nothing)
    If (Lothlorien Equal to True) then do (Add Player 11 (Dark Green) to (Last created leaderboard) with label - Lorien (Good) and value 0) else do (Do nothing)
    If (Harad Equal to True) then do (Add Player 12 (Brown) to (Last created leaderboard) with label - Harad (Evil) and value 0) else do (Do nothing)
    Leaderboard - Show (Last created leaderboard)
Update
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Wait 2 seconds
    If (Gondor Equal to False) then do (Change the label for Player 1 (Red) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Shire Equal to False) then do (Change the label for Player 2 (Blue) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Isengard Equal to False) then do (Change the label for Player 3 (Teal) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Rohan Equal to False) then do (Change the label for Player 4 (Purple) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Mordor Equal to False) then do (Change the label for Player 5 (Yellow) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Dwarves Equal to False) then do (Change the label for Player 6 (Orange) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Rivendale Equal to False) then do (Change the label for Player 7 (Green) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Moria Equal to False) then do (Change the label for Player 8 (Pink) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (MinasMogul Equal to False) then do (Change the label for Player 9 (Gray) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Umbar Equal to False) then do (Change the label for Player 10 (Light Blue) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Lothlorien Equal to False) then do (Change the label for Player 11 (Dark Green) in (Last created leaderboard) to Gone) else do (Do nothing)
    If (Harad Equal to False) then do (Change the label for Player 12 (Brown) in (Last created leaderboard) to Gone) else do (Do nothing)
Update Not Here
  Events
    Time - Elapsed game time is 5.00 seconds
  Conditions
  Actions
    Wait 2 seconds
    If ((Player 1 (Red) slot status) Equal to Is unused) then do (Remove Player 1 (Red) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 2 (Blue) slot status) Equal to Is unused) then do (Remove Player 2 (Blue) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 3 (Teal) slot status) Equal to Is unused) then do (Remove Player 3 (Teal) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 4 (Purple) slot status) Equal to Is unused) then do (Remove Player 4 (Purple) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 5 (Yellow) slot status) Equal to Is unused) then do (Remove Player 5 (Yellow) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 6 (Orange) slot status) Equal to Is unused) then do (Remove Player 6 (Orange) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 7 (Green) slot status) Equal to Is unused) then do (Remove Player 7 (Green) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 8 (Pink) slot status) Equal to Is unused) then do (Remove Player 8 (Pink) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 9 (Gray) slot status) Equal to Is unused) then do (Remove Player 9 (Gray) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 10 (Light Blue) slot status) Equal to Is unused) then do (Remove Player 10 (Light Blue) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 11 (Dark Green) slot status) Equal to Is unused) then do (Remove Player 11 (Dark Green) from (Last created leaderboard).) else do (Do nothing)
    If ((Player 12 (Brown) slot status) Equal to Is unused) then do (Remove Player 12 (Brown) from (Last created leaderboard).) else do (Do nothing)
Updating Kills
  Events
    Unit - A unit owned by Player 1 (Red).Dies
    Unit - A unit owned by Player 2 (Blue).Dies
    Unit - A unit owned by Player 3 (Teal).Dies
    Unit - A unit owned by Player 4 (Purple).Dies
    Unit - A unit owned by Player 5 (Yellow).Dies
    Unit - A unit owned by Player 6 (Orange).Dies
    Unit - A unit owned by Player 7 (Green).Dies
    Unit - A unit owned by Player 8 (Pink).Dies
    Unit - A unit owned by Player 9 (Gray).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
    Unit - A unit owned by Player 11 (Dark Green).Dies
    Unit - A unit owned by Player 12 (Brown).Dies
  Conditions
    (Owner of (Triggering unit)) Not equal to (Owner of (Killing unit))
  Actions
    Set VariableSet Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
    Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to (Kills[(Player number of (Owner of (Killing unit)))] + 1)
    Leaderboard - Sort (Last created leaderboard) by Value in Descending order
GondorArmy
  Events
    Player - Player 1 (Red)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (GondorArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 1 (Red).Current lumber
    Set VariableSet GondorArmy = (GondorArmy + 1)
Gondor Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Gondor Equal to True
  Actions
    If (GondorArmy Equal to 1) then do (Run Gondor_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (GondorArmy Equal to 2) then do (Run Gondor_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (GondorArmy Equal to 3) then do (Run Gondor_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (GondorArmy Equal to 4) then do (Run Gondor_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Gondor Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Human Footman for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
Gondor Units 2
  Events
  Conditions
  Actions
    Unit - Create 1 Gondorian Guard for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 3 Human Footman for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
Gondor Units 3
  Events
  Conditions
  Actions
    Unit - Create 3 Gondorian Guard for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 1 Ancestral Guardian for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
Gondor Units 4
  Events
  Conditions
  Actions
    Unit - Create 3 Gondorian Guard for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 3 Human Javelineer for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
    Unit - Create 2 Ancestral Guardian for Player 1 (Red) at (Center of GondorSpawn <gen>) facing (Random point in GondorSpawn <gen>)
Revive Aragorn
  Events
    Unit - Heir of Elendil 0304 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Faramir
  Events
    Unit - Steward of Gondor 0308 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Aragorn Levelup
  Events
    Unit - Heir of Elendil 0304 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Faramir Levelup
  Events
    Unit - Steward of Gondor 0308 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Aragorn Death
  Events
    Unit - Heir of Elendil 0304 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Elessar, King of Gondor, Heir of Elendil the Faithful, has fallen. The people of Gondor mourn for their dead king throught revenge upon the dark lord.
Faramir Death
  Events
    Unit - Steward of Gondor 0308 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Faramir, steward of Gondor, has fallen like his brother Boromir in battle. The people of Gondor seek vengeance...
ShireArmy
  Events
    Player - Player 2 (Blue)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (ShireArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 2 (Blue).Current lumber
    Set VariableSet ShireArmy = (ShireArmy + 1)
Shire Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Shire Equal to True
  Actions
    If (ShireArmy Equal to 1) then do (Run Shire_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (ShireArmy Equal to 2) then do (Run Shire_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (ShireArmy Equal to 3) then do (Run Shire_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (ShireArmy Equal to 4) then do (Run Shire_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Shire Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Hobbit Warrior for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 4 Hobbit Stone Thrower for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
Shire Units 2
  Events
  Conditions
  Actions
    Unit - Create 1 Shire Nurse for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 3 Hobbit Warrior for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 4 Hobbit Stone Thrower for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
Shire Units 3
  Events
  Conditions
  Actions
    Unit - Create 2 Shire Nurse for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 1 Hobbit Artillery Team for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 2 Hobbit Warrior for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 3 Hobbit Stone Thrower for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
Shire Units 4
  Events
  Conditions
  Actions
    Unit - Create 2 Shire Nurse for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 2 Hobbit Artillery Team for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 2 Hobbit Warrior for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
    Unit - Create 2 Hobbit Stone Thrower for Player 2 (Blue) at (Center of ShireSpawn <gen>) facing (Random point in ShireSpawn <gen>)
Revive Frodo
  Events
    Unit - The Ringbearer 0305 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Gandalf
  Events
    Unit - Gandalf 0307 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Frodo Levelup
  Events
    Unit - The Ringbearer 0305 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Gandalf Levelup
  Events
    Unit - Gandalf 0307 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Frodo Death
  Events
    Unit - The Ringbearer 0305 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Frodo Baggins, the ring-bearer, has been slain. The burden of the one ring has been lifted from his soul....
Gandalf Death
  Events
    Unit - Gandalf 0307 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Olorin has departed from middle earth, no longer to provide guidance to those who remain in middle earth. Who now can rally the forces of light?
IsengardArmy
  Events
    Player - Player 3 (Teal)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (IsengardArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 3 (Teal).Current lumber
    Set VariableSet IsengardArmy = (IsengardArmy + 1)
Isengard Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Isengard Equal to True
  Actions
    If (IsengardArmy Equal to 1) then do (Run Isengard_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (IsengardArmy Equal to 2) then do (Run Isengard_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (IsengardArmy Equal to 3) then do (Run Isengard_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (IsengardArmy Equal to 4) then do (Run Isengard_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Isengard Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Uruk-Hai for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
Isengard Units 2
  Events
  Conditions
  Actions
    Unit - Create 4 Elite Uruk-Hai for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
Isengard Units 3
  Events
  Conditions
  Actions
    Unit - Create 4 Elite Uruk-Hai for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
    Unit - Create 2 Black Mage for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
    Unit - Create 2 Brood of Ungoliant for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
Isengard Units 4
  Events
  Conditions
  Actions
    Unit - Create 3 Uruk Rider for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
    Unit - Create 2 Black Mage for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
    Unit - Create 3 Brood of Ungoliant for Player 3 (Teal) at (Center of IsengardSpawn <gen>) facing (Random point in IsengardSpawn <gen>)
Revive Saruman
  Events
    Unit - Curunir of Valinor 0306 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Uruk Chief
  Events
    Unit - Uruk Chief 0357 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Saruman Levelup
  Events
    Unit - Curunir of Valinor 0306 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Uruk Chief Levelup
  Events
    Unit - Uruk Chief 0357 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Saruman Death
  Events
    Unit - Curunir of Valinor 0306 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Curunir the traitor has paid the ultimate price for his treachery. His soul has departed to the halls of Mandos where he will be judged by the lords of the west.
Uruk Chief Death
  Events
    Unit - Uruk Chief 0357 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Lurtz, Uruk Chief of Isengard has fallen, now the Uruks will never be able to recover from his loss.
RohanArmy
  Events
    Player - Player 4 (Purple)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (RohanArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 4 (Purple).Current lumber
    Set VariableSet RohanArmy = (RohanArmy + 1)
Rohan Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Rohan Equal to True
  Actions
    If (RohanArmy Equal to 1) then do (Run Rohan_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (RohanArmy Equal to 2) then do (Run Rohan_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (RohanArmy Equal to 3) then do (Run Rohan_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (RohanArmy Equal to 4) then do (Run Rohan_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Rohan Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Human Footman for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
Rohan Units 2
  Events
  Conditions
  Actions
    Unit - Create 2 Human Footman for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 2 Rohirrm for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
Rohan Units 3
  Events
  Conditions
  Actions
    Unit - Create 1 Human Footman for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 1 Wose for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 2 Rohirrm for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
Rohan Units 4
  Events
  Conditions
  Actions
    Unit - Create 2 Archer of Rohan for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 2 Rohirrm for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 2 Wose for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
    Unit - Create 2 Human Javelineer for Player 4 (Purple) at (Center of RohanSpawn <gen>) facing (Random point in RohanSpawn <gen>)
Revive Theoden
  Events
    Unit - Lord of the Mark 0301 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Eomer
  Events
    Unit - Marshal of the Mark 0302 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Eowyn
  Events
    Unit - Shield Maiden of Rohan 0303 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Theoden Levelup
  Events
    Unit - Lord of the Mark 0301 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Eomer Levelup
  Events
    Unit - Marshal of the Mark 0302 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Eowyn Levelup
  Events
    Unit - Shield Maiden of Rohan 0303 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Theoden Death
  Events
    Unit - Lord of the Mark 0301 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Theoden, Lord of the Mark, has been slain in battle in a blaze of glory.
Eomer Death
  Events
    Unit - Marshal of the Mark 0302 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Eomer, marshal of the mark, has died fighting for his country.
Eowyn Death
  Events
    Unit - Shield Maiden of Rohan 0303 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Eowyn, Lady of Rohan, has died by the hands of evil, bravest of the daughters of men.
MordorArmy
  Events
    Player - Player 5 (Yellow)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (MordorArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 5 (Yellow).Current lumber
    Set VariableSet MordorArmy = (MordorArmy + 1)
Mordor Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Mordor Equal to True
  Actions
    If (MordorArmy Equal to 1) then do (Run Mordor_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (MordorArmy Equal to 2) then do (Run Mordor_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (MordorArmy Equal to 3) then do (Run Mordor_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (MordorArmy Equal to 4) then do (Run Mordor_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Mordor Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Orc Warrior for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
Mordor Units 2
  Events
  Conditions
  Actions
    Unit - Create 3 Orc Warrior for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 1 Necromancer for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 2 Black Numenorean for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 2 Orc Spearthrower for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
Mordor Units 3
  Events
  Conditions
  Actions
    Unit - Create 2 Vampire for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 2 Necromancer for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 2 Black Numenorean for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 2 Orc Spearthrower for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
Mordor Units 4
  Events
  Conditions
  Actions
    Unit - Create 3 Vampire for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 2 Necromancer for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
    Unit - Create 3 Black Numenorean for Player 5 (Yellow) at (Center of MordorSpawn <gen>) facing (Random point in MordorSpawn <gen>)
Revive Sauron
  Events
    Unit - Lord of the Rings 0484 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Sauron Levelup
  Events
    Unit - Lord of the Rings 0484 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Sauron Death
  Events
    Unit - Lord of the Rings 0484 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The Dark Lord has been vanquished, and a great and ancient evil has been banished to the void. But until the very foundations of the dark tower have been thrown down, his minions will fight on. . .
DwarvesArmy
  Events
    Player - Player 6 (Orange)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (DwarvesArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 6 (Orange).Current lumber
    Set VariableSet DwarvesArmy = (DwarvesArmy + 1)
Dwarves Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Dwarves Equal to True
  Actions
    If (DwarvesArmy Equal to 1) then do (Run Dwarves_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (DwarvesArmy Equal to 2) then do (Run Dwarves_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (DwarvesArmy Equal to 3) then do (Run Dwarves_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (DwarvesArmy Equal to 4) then do (Run Dwarves_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Dwarves Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Dwarven Warrior for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 4 Dwarven Rifleman for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
Dwarves Units 2
  Events
  Conditions
  Actions
    Unit - Create 3 Dwarven Warrior for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 4 Dwarven Rifleman for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 1 Dwarven Warlord for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
Dwarves Units 3
  Events
  Conditions
  Actions
    Unit - Create 3 Dwarven Warrior for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 3 Dwarven Rifleman for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 1 Dwarven War Tank for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 1 Dwarven Warlord for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
Dwarves Units 4
  Events
  Conditions
  Actions
    Unit - Create 2 Dwarven Warrior for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 2 Dwarven Rifleman for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 2 Dwarven War Tank for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
    Unit - Create 2 Dwarven Axe Captain for Player 6 (Orange) at (Center of DwarvesSpawn <gen>) facing (Random point in DwarvesSpawn <gen>)
Revive Gimli
  Events
    Unit - Son of Gloin 0289 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Dain
  Events
    Unit - King Under the Mountain 0288 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Dain Levelup
  Events
    Unit - King Under the Mountain 0288 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Gimli Levelup
  Events
    Unit - Son of Gloin 0289 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Dain Death
  Events
    Unit - King Under the Mountain 0288 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The King Under the Mountain has died. His last stand will be legendary for ages to come, if there is anyone to tell of it. . .
Gimli Death
  Events
    Unit - Son of Gloin 0289 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Gimli, son of Gloin, member of the fellowship, has died defending his people.
RivendellArmy
  Events
    Player - Player 7 (Green)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (ElvesArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 7 (Green).Current lumber
    Set VariableSet ElvesArmy = (ElvesArmy + 1)
Rivendale Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Rivendale Equal to True
  Actions
    If (ElvesArmy Equal to 1) then do (Run Elves_Units_1_Copy_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (ElvesArmy Equal to 2) then do (Run Elves_Units_2_Copy_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (ElvesArmy Equal to 3) then do (Run Elves_Units_3_Copy_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (ElvesArmy Equal to 4) then do (Run Elves_Units_4_Copy_2 <gen> (ignoring conditions)) else do (Do nothing)
Elves Units 1 Copy 2
  Events
  Conditions
  Actions
    Unit - Create 4 Elven Swordsman for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 4 Elven Archer for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
Elves Units 2 Copy 2
  Events
  Conditions
  Actions
    Unit - Create 4 Elven Swordsman for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 3 Elven Archer for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 1 Elven Ranger for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
Elves Units 3 Copy 2
  Events
  Conditions
  Actions
    Unit - Create 3 Elven Swordsman for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 2 Elven Archer for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 2 Elven Ranger for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 1 Silvan Elf for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
Elves Units 4 Copy 2
  Events
  Conditions
  Actions
    Unit - Create 4 Elven Ranger for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 1 Elven Wolf Guard for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
    Unit - Create 3 Silvan Elf for Player 7 (Green) at (Center of RivendellSpawn <gen>) facing (Random point in RivendellSpawn <gen>)
Revive Elrond
  Events
    Unit - Son of Earendil 0299 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Revive Legolas
  Events
    Unit - Son of Thranduil 0300 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Elrond Levelup
  Events
    Unit - Son of Earendil 0299 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Legolas Levelup
  Events
    Unit - Son of Thranduil 0300 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Elrond Death
  Events
    Unit - Son of Earendil 0299 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Elrond, of the line of Beren and Luthien, has finally departed to the halls of Mandos.
Legolas Death
  Events
    Unit - Son of Thranduil 0300 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Legolas, Son of Thranduil, has been sent to the halls of Mandos, never to see again the woodsof his birth.
MoriaArmy
  Events
    Player - Player 8 (Pink)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (MoriaArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 8 (Pink).Current lumber
    Set VariableSet MoriaArmy = (MoriaArmy + 1)
Moria Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Moria Equal to True
  Actions
    If (MoriaArmy Equal to 1) then do (Run Moria_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (MoriaArmy Equal to 2) then do (Run Moria_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (MoriaArmy Equal to 3) then do (Run Moria_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (MoriaArmy Equal to 4) then do (Run Moria_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Moria Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Orc Warrior for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
Moria Units 2
  Events
  Conditions
  Actions
    Unit - Create 2 Orc Warrior for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 2 Skeleton Warrior for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
Moria Units 3
  Events
  Conditions
  Actions
    Unit - Create 3 Orc Spearthrower for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 4 Skeleton Warrior for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 1 Skeleton Archer for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
Moria Units 4
  Events
  Conditions
  Actions
    Unit - Create 5 Skeleton Warrior for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 3 Skeleton Archer for Player 8 (Pink) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
Revive Water Watcher
  Events
    Unit - Water Watcher 0494 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Water Watcher Levelup
  Events
    Unit - Water Watcher 0494 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Water Watcher Death
  Events
    Unit - Water Watcher 0494 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The water watcher at the gates of Moria has died, clearing the way for the purging of Khazad-Dhum.
Revive Durin Bane
  Events
    Unit - Balrog 0522 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Durin Bane Levelup
  Events
    Unit - Balrog 0522 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Durin Bane Death
  Events
    Unit - Balrog 0522 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Durin's Bane has met a fiery end.
Minas Morgul Army
  Events
    Player - Player 9 (Gray)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (MinasMorgulArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 9 (Gray).Current lumber
    Set VariableSet MinasMorgulArmy = (MinasMorgulArmy + 1)
Minas Morgul Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    MinasMogul Equal to True
  Actions
    If (MinasMorgulArmy Equal to 1) then do (Run Minas_Morgul__Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (MinasMorgulArmy Equal to 2) then do (Run Minas_Morgul__Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (MinasMorgulArmy Equal to 3) then do (Run Minas_Morgul__Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (MinasMorgulArmy Equal to 4) then do (Run Minas_Morgul__Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Minas Morgul Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Orc Warrior for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
Minas Morgul Units 2
  Events
  Conditions
  Actions
    Unit - Create 2 Orc Warrior for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 2 Skeleton Warrior for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
    Unit - Create 4 Orc Spearthrower for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
Minas Morgul Units 3
  Events
  Conditions
  Actions
    Unit - Create 3 Orc Spearthrower for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
    Unit - Create 4 Skeleton Warrior for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
    Unit - Create 2 Black Numenorean for Player 9 (Gray) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
Minas Morgul Units 4
  Events
  Conditions
  Actions
    Unit - Create 4 Skeleton Warrior for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
    Unit - Create 2 Black Numenorean for Player 9 (Gray) at (Center of MoriaSpawn <gen>) facing (Random point in MoriaSpawn <gen>)
    Unit - Create 3 Orc Spearthrower for Player 9 (Gray) at (Center of MinasMogulSpawn <gen>) facing (Random point in MinasMogulSpawn <gen>)
Revive Nazgul King
  Events
    Unit - Nazgul King 0485 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Nazgul King Levelup
  Events
    Unit - Nazgul King 0485 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Nazgul King Death
  Events
    Unit - Nazgul King 0485 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The emissary of Sauron has been slain by the forces of good.
Revive Shelob
  Events
    Unit - Spawn of Ungoliant 0488 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Shelob Levelup
  Events
    Unit - Spawn of Ungoliant 0488 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Shelob Death
  Events
    Unit - Spawn of Ungoliant 0488 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Shelob, Spawn of Ungoliant has been smite down by the hammer of the light.
Nazgul Lord Death
  Events
    Unit - Nazgul Lord 0491 <gen> Dies
    Unit - Nazgul Lord 0486 <gen> Dies
    Unit - Nazgul Lord 0487 <gen> Dies
    Unit - Nazgul Lord 0493 <gen> Dies
    Unit - Nazgul Lord 0492 <gen> Dies
    Unit - Nazgul Lord 0489 <gen> Dies
    Unit - Nazgul Lord 0521 <gen> Dies
  Conditions
  Actions
    Game - Display to (All players) the text: One of the Nine Nazgul Lords has been defeated.
Corsair Army
  Events
    Player - Player 10 (Light Blue)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (CorsairArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 10 (Light Blue).Current lumber
    Set VariableSet CorsairArmy = (CorsairArmy + 1)
Corsair Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Umbar Equal to True
  Actions
    If (CorsairArmy Equal to 1) then do (Run Corsair_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (CorsairArmy Equal to 2) then do (Run Corsair_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (CorsairArmy Equal to 3) then do (Run Corsair_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (CorsairArmy Equal to 4) then do (Run Corsair_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Corsair Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Human Footman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
Corsair Units 2
  Events
  Conditions
  Actions
    Unit - Create 1 Umbar Swordsman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 3 Human Footman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
Corsair Units 3
  Events
  Conditions
  Actions
    Unit - Create 3 Umbar Swordsman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 2 Human Footman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 3 Human Javelineer for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 1 Umbar Marksman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
Corsair Units 4
  Events
  Conditions
  Actions
    Unit - Create 4 Umbar Swordsman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
    Unit - Create 2 Umbar Marksman for Player 10 (Light Blue) at (Center of UmbarSpawn <gen>) facing (Random point in UmbarSpawn <gen>)
Revive Heter Jeg Resten
  Events
    Unit - Captain of the Corsairs 0483 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Heter Levelup
  Events
    Unit - Captain of the Corsairs 0483 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Heter death
  Events
    Unit - Captain of the Corsairs 0483 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The captain of the corsairs has fallen in battle.
Revive Linveil
  Events
    Unit - Master of the Dark Arts 0496 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Linveil Levelup
  Events
    Unit - Master of the Dark Arts 0496 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Linveil death
  Events
    Unit - Master of the Dark Arts 0496 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Linveil, the Haradrim adjunctant to the Corsairs has fallen to the powers of the light.
Revive Raukodraug
  Events
    Unit - Haradrim Chieftain 0497 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Raukodraug Levelup
  Events
    Unit - Haradrim Chieftain 0497 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Raukodraug death
  Events
    Unit - Haradrim Chieftain 0497 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The master blade master Raukodraug has surcome to the overwhelming might of Light's Hammer.
LorienArmy
  Events
    Player - Player 11 (Dark Green)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (LorienArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 11 (Dark Green).Current lumber
    Set VariableSet LorienArmy = (LorienArmy + 1)
Lorien Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Lothlorien Equal to True
  Actions
    If (LorienArmy Equal to 1) then do (Run Lorien_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (LorienArmy Equal to 2) then do (Run Lorien_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (LorienArmy Equal to 3) then do (Run Lorien_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (LorienArmy Equal to 4) then do (Run Lorien_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Lorien Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Elven Swordsman for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 4 Elven Archer for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
Lorien Units 2
  Events
  Conditions
  Actions
    Unit - Create 4 Elven Swordsman for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 3 Elven Archer for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 1 Elven Ranger for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
Lorien Units 3
  Events
  Conditions
  Actions
    Unit - Create 3 Elven Swordsman for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 2 Elven Archer for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 2 Elven Ranger for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 1 Silvan Elf for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
Lorien Units 4
  Events
  Conditions
  Actions
    Unit - Create 4 Elven Ranger for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 1 Elven Wolf Guard for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
    Unit - Create 3 Silvan Elf for Player 11 (Dark Green) at (Center of LorienSpawn <gen>) facing (Random point in LorienSpawn <gen>)
Revive Galadriel
  Events
    Unit - Daughter of Finarfin 0298 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Galadriel Levelup
  Events
    Unit - Daughter of Finarfin 0298 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Galadriel Death
  Events
    Unit - Daughter of Finarfin 0298 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The Lady of Lorien, Galadriel has died. her soul will fly to Mandos to be with her kin.
Revive Celeborn
  Events
    Unit - Lord of Lorien 0495 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Celeborn Levelup
  Events
    Unit - Lord of Lorien 0495 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Celeborn Death
  Events
    Unit - Lord of Lorien 0495 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: The Lord of Lorien has fallen to the blows of Evil. Is there no hope in the Land of Middle Earth?
HaradArmy
  Events
    Player - Player 12 (Brown)'s Current lumber becomes Greater than or equal to 4000.00
  Conditions
  Actions
    If (LorienArmy Equal to 4) then do (Skip remaining actions) else do (Do nothing)
    Player - Add -4000 to Player 12 (Brown).Current lumber
    Set VariableSet HaradArmy = (HaradArmy + 1)
Harad Units
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    Harad Equal to True
  Actions
    If (HaradArmy Equal to 1) then do (Run Harad_Units_1 <gen> (ignoring conditions)) else do (Do nothing)
    If (HaradArmy Equal to 2) then do (Run Harad_Units_2 <gen> (ignoring conditions)) else do (Do nothing)
    If (HaradArmy Equal to 3) then do (Run Harad_Units_3 <gen> (ignoring conditions)) else do (Do nothing)
    If (HaradArmy Equal to 4) then do (Run Harad_Units_4 <gen> (ignoring conditions)) else do (Do nothing)
Harad Units 1
  Events
  Conditions
  Actions
    Unit - Create 4 Human Footman for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 4 Human Javelineer for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
Harad Units 2
  Events
  Conditions
  Actions
    Unit - Create 4 Human Footman for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 3 Human Javelineer for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 1 Black Mage for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
Harad Units 3
  Events
  Conditions
  Actions
    Unit - Create 2 Human Footman for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 2 Black Numenorean for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 4 Black Mage for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
Harad Units 4
  Events
  Conditions
  Actions
    Unit - Create 4 Black Numenorean for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 2 Black Mage for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
    Unit - Create 2 Harad Shaman for Player 12 (Brown) at (Center of HaradSpawn <gen>) facing (Random point in HaradSpawn <gen>)
Revive Kintupak
  Events
    Unit - Mumakil Tamer 0540 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Kintupak Levelup
  Events
    Unit - Mumakil Tamer 0540 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Kintupak Death
  Events
    Unit - Mumakil Tamer 0540 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Kintupak and Chi Chi has been brought down like animals. Is there any hope that the mumakil shall run freely through the lands of Middle Earth?
Revive Exar
  Events
    Unit - Lord of Near Harad 0539 <gen> Finishes reviving
  Conditions
  Actions
    Unit - Set life of (Triggering unit) to 100%
    Unit - Set mana of (Triggering unit) to 100%
Exar Levelup
  Events
    Unit - Lord of Near Harad 0539 <gen> Gains a level
  Conditions
  Actions
    If ((Hero level of (Triggering unit)) Equal to 3) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 6) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
    If ((Hero level of (Triggering unit)) Equal to 10) then do (Create Ankh of Reincarnation and give it to (Triggering unit)) else do (Do nothing)
Exar Death
  Events
    Unit - Lord of Near Harad 0539 <gen> Dies
  Conditions
    (((Triggering unit) has (Last created item)) Equal to False) and (((Triggering unit) is dead) Equal to True)
  Actions
    Game - Display to (All players) the text: Exar Kun has been smite down who now will lead the Haradrim to their ultimate victory?
Gondor leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Gondor leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally with shared vision and full shared units
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Player - Make Player 1 (Red) treat Player 7 (Green) as an Ally with shared vision and full shared units
    Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Shire leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Shire leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision and full shared units
    Player - Make Player 2 (Blue) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Player - Make Player 2 (Blue) treat Player 7 (Green) as an Ally with shared vision and full shared units
    Player - Make Player 2 (Blue) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Orthanc leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Orthanc leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 3 (Teal) treat Player 5 (Yellow) as an Ally with shared vision and full shared units
    Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Ally with shared vision and full shared units
    Player - Make Player 3 (Teal) treat Player 9 (Gray) as an Ally with shared vision and full shared units
    Player - Make Player 3 (Teal) treat Player 10 (Light Blue) as an Ally with shared vision and full shared units
    Player - Make Player 3 (Teal) treat Player 12 (Brown) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Rohan leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Rohan leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally with shared vision and full shared units
    Player - Make Player 4 (Purple) treat Player 2 (Blue) as an Ally with shared vision and full shared units
    Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Player - Make Player 4 (Purple) treat Player 7 (Green) as an Ally with shared vision and full shared units
    Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Mordor leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 5 (Yellow) treat Player 9 (Gray) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Mordor leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 5 (Yellow) treat Player 3 (Teal) as an Ally with shared vision and full shared units
    Player - Make Player 5 (Yellow) treat Player 8 (Pink) as an Ally with shared vision and full shared units
    Player - Make Player 5 (Yellow) treat Player 9 (Gray) as an Ally with shared vision and full shared units
    Player - Make Player 5 (Yellow) treat Player 10 (Light Blue) as an Ally with shared vision and full shared units
    Player - Make Player 5 (Yellow) treat Player 12 (Brown) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Dwarves leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Dwarves leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision and full shared units
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally with shared vision and full shared units
    Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 6 (Orange) treat Player 7 (Green) as an Ally with shared vision and full shared units
    Player - Make Player 6 (Orange) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Elves leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Elves leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 7 (Green) treat Player 1 (Red) as an Ally with shared vision and full shared units
    Player - Make Player 7 (Green) treat Player 2 (Blue) as an Ally with shared vision and full shared units
    Player - Make Player 7 (Green) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 7 (Green) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Moria leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Moria leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Ally with shared vision and full shared units
    Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Ally with shared vision and full shared units
    Player - Make Player 8 (Pink) treat Player 9 (Gray) as an Ally with shared vision and full shared units
    Player - Make Player 8 (Pink) treat Player 10 (Light Blue) as an Ally with shared vision and full shared units
    Player - Make Player 8 (Pink) treat Player 12 (Brown) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Minas Morgul leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 9 (Gray) treat Player 5 (Yellow) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Minas Morgul leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 9 (Gray) treat Player 3 (Teal) as an Ally with shared vision and full shared units
    Player - Make Player 9 (Gray) treat Player 5 (Yellow) as an Ally with shared vision and full shared units
    Player - Make Player 9 (Gray) treat Player 8 (Pink) as an Ally with shared vision and full shared units
    Player - Make Player 9 (Gray) treat Player 10 (Light Blue) as an Ally with shared vision and full shared units
    Player - Make Player 9 (Gray) treat Player 12 (Brown) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Corsair leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Corsair leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 10 (Light Blue) treat Player 3 (Teal) as an Ally with shared vision and full shared units
    Player - Make Player 10 (Light Blue) treat Player 5 (Yellow) as an Ally with shared vision and full shared units
    Player - Make Player 10 (Light Blue) treat Player 8 (Pink) as an Ally with shared vision and full shared units
    Player - Make Player 10 (Light Blue) treat Player 9 (Gray) as an Ally with shared vision and full shared units
    Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Lorien leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Lorien leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Ally with shared vision and full shared units
    Player - Make Player 11 (Dark Green) treat Player 2 (Blue) as an Ally with shared vision and full shared units
    Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 11 (Dark Green) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Harad leaves Divided
  Events
  Conditions
    PlayDividedAlliances Equal to True
  Actions
    Player - For Player 12 (Brown), turn Full shared units On toward Player 10 (Light Blue)
    Trigger - Turn off (This trigger)
Harad leaves Battle
  Events
  Conditions
    PlayDividedAlliances Equal to False
  Actions
    Player - Make Player 12 (Brown) treat Player 3 (Teal) as an Ally with shared vision and full shared units
    Player - Make Player 12 (Brown) treat Player 5 (Yellow) as an Ally with shared vision and full shared units
    Player - Make Player 12 (Brown) treat Player 8 (Pink) as an Ally with shared vision and full shared units
    Player - Make Player 12 (Brown) treat Player 9 (Gray) as an Ally with shared vision and full shared units
    Player - Make Player 12 (Brown) treat Player 10 (Light Blue) as an Ally with shared vision and full shared units
    Trigger - Turn off (This trigger)
Victory Middle Earth Evil
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    PlayDividedAlliances Equal to False
    (The Shire 0018 <gen> is dead) Equal to True
    (Rivendell 0002 <gen> is dead) Equal to True
    (Lorien 0019 <gen> is dead) Equal to True
    (Erebor 0020 <gen> is dead) Equal to True
    (Edoras 0063 <gen> is dead) Equal to True
    (Minas Tirith 0003 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Evil <gen> (ignoring conditions)
Victory Middle Earth Good
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    PlayDividedAlliances Equal to False
    (Orthanc 0001 <gen> is dead) Equal to True
    (Umbar 0426 <gen> is dead) Equal to True
    (Moria 0026 <gen> is dead) Equal to True
    (Minas Morgul 0094 <gen> is dead) Equal to True
    (Barad Dur 0027 <gen> is dead) Equal to True
    (Near Harad 0531 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Good <gen> (ignoring conditions)
VictoryTrigger Good
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Forces of Light have triumphed and has laid claim to all of middle earth. They have earned themselves endless years of peace and freedom.|r
    Wait 10.00 seconds
    Game - Victory Player 1 (Red) (Show dialogs, Show scores)
    Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
    Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
    Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
    Game - Victory Player 7 (Green) (Show dialogs, Show scores)
    Game - Victory Player 11 (Dark Green) (Show dialogs, Show scores)
    Game - Defeat Player 3 (Teal) with the message: Defeat!
    Game - Defeat Player 5 (Yellow) with the message: Defeat!
    Game - Defeat Player 8 (Pink) with the message: Defeat!
    Game - Defeat Player 9 (Gray) with the message: Defeat!
    Game - Defeat Player 10 (Light Blue) with the message: Defeat!
    Game - Defeat Player 12 (Brown) with the message: Defeat!
    Trigger - Turn off (This trigger)
VictoryTrigger Evil
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Forces of Darkness have prevailed over the land of Middle-Earth. All signs of anything pure have been lost, and all refuges against the Red Eye have been crushed. It is the end of the age of Men and Elves.|r
    Wait 10.00 seconds
    Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
    Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
    Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
    Game - Victory Player 9 (Gray) (Show dialogs, Show scores)
    Game - Victory Player 10 (Light Blue) (Show dialogs, Show scores)
    Game - Victory Player 12 (Brown) (Show dialogs, Show scores)
    Game - Defeat Player 1 (Red) with the message: Defeat!
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 4 (Purple) with the message: Defeat!
    Game - Defeat Player 6 (Orange) with the message: Defeat!
    Game - Defeat Player 7 (Green) with the message: Defeat!
    Game - Defeat Player 11 (Dark Green) with the message: Defeat!
    Trigger - Turn off (This trigger)
Victory Divided Alliance Gondor Rohan
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    PlayDividedAlliances Equal to True
    (The Shire 0018 <gen> is dead) Equal to True
    (Orthanc 0001 <gen> is dead) Equal to True
    (Rivendell 0002 <gen> is dead) Equal to True
    (Erebor 0020 <gen> is dead) Equal to True
    (Lorien 0019 <gen> is dead) Equal to True
    (Umbar 0426 <gen> is dead) Equal to True
    (Moria 0026 <gen> is dead) Equal to True
    (Minas Morgul 0094 <gen> is dead) Equal to True
    (Barad Dur 0027 <gen> is dead) Equal to True
    (Near Harad 0531 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Gondor_Rohan <gen> (ignoring conditions)
    Trigger - Turn off (This trigger)
Victory Divided Alliance Shire Dwarves
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    PlayDividedAlliances Equal to True
    (Rivendell 0002 <gen> is dead) Equal to True
    (Lorien 0019 <gen> is dead) Equal to True
    (Edoras 0063 <gen> is dead) Equal to True
    (Minas Tirith 0003 <gen> is dead) Equal to True
    (Orthanc 0001 <gen> is dead) Equal to True
    (Umbar 0426 <gen> is dead) Equal to True
    (Moria 0026 <gen> is dead) Equal to True
    (Minas Morgul 0094 <gen> is dead) Equal to True
    (Barad Dur 0027 <gen> is dead) Equal to True
    (Near Harad 0531 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Shire_Dwarves <gen> (ignoring conditions)
    Trigger - Turn off (This trigger)
Victory Divided Alliance Isengard Moria
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    PlayDividedAlliances Equal to True
    (The Shire 0018 <gen> is dead) Equal to True
    (Rivendell 0002 <gen> is dead) Equal to True
    (Lorien 0019 <gen> is dead) Equal to True
    (Erebor 0020 <gen> is dead) Equal to True
    (Edoras 0063 <gen> is dead) Equal to True
    (Minas Tirith 0003 <gen> is dead) Equal to True
    (Minas Morgul 0094 <gen> is dead) Equal to True
    (Umbar 0426 <gen> is dead) Equal to True
    (Barad Dur 0027 <gen> is dead) Equal to True
    (Near Harad 0531 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Isengard_Moria <gen> (ignoring conditions)
    Trigger - Turn off (This trigger)
Victory Divided Alliance Mordor Minas Morgul
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    PlayDividedAlliances Equal to True
    (The Shire 0018 <gen> is dead) Equal to True
    (Rivendell 0002 <gen> is dead) Equal to True
    (Lorien 0019 <gen> is dead) Equal to True
    (Erebor 0020 <gen> is dead) Equal to True
    (Edoras 0063 <gen> is dead) Equal to True
    (Minas Tirith 0003 <gen> is dead) Equal to True
    (Moria 0026 <gen> is dead) Equal to True
    (Orthanc 0001 <gen> is dead) Equal to True
    (Umbar 0426 <gen> is dead) Equal to True
    (Near Harad 0531 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Mordor_Minas_Morgul <gen> (ignoring conditions)
    Trigger - Turn off (This trigger)
Victory Divided Alliance Rivendell Lorien
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    (The Shire 0018 <gen> is dead) Equal to True
    (Erebor 0020 <gen> is dead) Equal to True
    (Edoras 0063 <gen> is dead) Equal to True
    (Minas Tirith 0003 <gen> is dead) Equal to True
    (Orthanc 0001 <gen> is dead) Equal to True
    (Umbar 0426 <gen> is dead) Equal to True
    (Moria 0026 <gen> is dead) Equal to True
    (Minas Morgul 0094 <gen> is dead) Equal to True
    (Barad Dur 0027 <gen> is dead) Equal to True
    (Near Harad 0531 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Rivendell_Lorien <gen> (ignoring conditions)
    Trigger - Turn off (This trigger)
Victory Divided Alliance Harad Corsair
  Events
    Time - Every 5.00 seconds of game time
  Conditions
    (The Shire 0018 <gen> is dead) Equal to True
    (Erebor 0020 <gen> is dead) Equal to True
    (Edoras 0063 <gen> is dead) Equal to True
    (Minas Tirith 0003 <gen> is dead) Equal to True
    (Orthanc 0001 <gen> is dead) Equal to True
    (Rivendell 0002 <gen> is dead) Equal to True
    (Moria 0026 <gen> is dead) Equal to True
    (Minas Morgul 0094 <gen> is dead) Equal to True
    (Barad Dur 0027 <gen> is dead) Equal to True
    (Lorien 0019 <gen> is dead) Equal to True
  Actions
    Trigger - Run VictoryTrigger_Harad_Corsair <gen> (ignoring conditions)
    Trigger - Turn off (This trigger)
VictoryTrigger Gondor Rohan
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The combined might of Gondor and Rohan has taken over all of Middle Earth. May their future empire prosper.|r
    Wait 10.00 seconds
    Game - Victory Player 1 (Red) (Show dialogs, Show scores)
    Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
    Game - Defeat Player 5 (Yellow) with the message: Defeat!
    Game - Defeat Player 6 (Orange) with the message: Defeat!
    Game - Defeat Player 7 (Green) with the message: Defeat!
    Game - Defeat Player 8 (Pink) with the message: Defeat!
    Game - Defeat Player 9 (Gray) with the message: Defeat!
    Game - Defeat Player 10 (Light Blue) with the message: Defeat!
    Game - Defeat Player 11 (Dark Green) with the message: Defeat!
    Game - Defeat Player 12 (Brown) with the message: Defeat!
    Trigger - Turn off (This trigger)
VictoryTrigger Shire Dwarves
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Mighty Hobbits and Dwarves have finally laid claim to all of Middle Earth. Now they may continue to prosper without the influence of the other races.|r
    Wait 10.00 seconds
    Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
    Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
    Game - Defeat Player 1 (Red) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
    Game - Defeat Player 4 (Purple) with the message: Defeat!
    Game - Defeat Player 5 (Yellow) with the message: Defeat!
    Game - Defeat Player 7 (Green) with the message: Defeat!
    Game - Defeat Player 8 (Pink) with the message: Defeat!
    Game - Defeat Player 9 (Gray) with the message: Defeat!
    Game - Defeat Player 10 (Light Blue) with the message: Defeat!
    Game - Defeat Player 11 (Dark Green) with the message: Defeat!
    Game - Defeat Player 12 (Brown) with the message: Defeat!
    Trigger - Turn off (This trigger)
VictoryTrigger Isengard Moria
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Cunning Saruman and his Moria allies have plowed down all opposition in Middle Earth. May their subjugation of all the races be a long and fruitful one.|r
    Wait 10.00 seconds
    Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
    Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
    Game - Defeat Player 1 (Red) with the message: Defeat!
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 4 (Purple) with the message: Defeat!
    Game - Defeat Player 5 (Yellow) with the message: Defeat!
    Game - Defeat Player 6 (Orange) with the message: Defeat!
    Game - Defeat Player 7 (Green) with the message: Defeat!
    Game - Defeat Player 9 (Gray) with the message: Defeat!
    Game - Defeat Player 10 (Light Blue) with the message: Defeat!
    Game - Defeat Player 11 (Dark Green) with the message: Defeat!
    Game - Defeat Player 12 (Brown) with the message: Defeat!
    Trigger - Turn off (This trigger)
VictoryTrigger Mordor Minas Morgul
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Darkness of Sauron has enveloped all of Middle Earth, it is the end of the living.|r
    Wait 10.00 seconds
    Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
    Game - Victory Player 9 (Gray) (Show dialogs, Show scores)
    Game - Defeat Player 1 (Red) with the message: Defeat!
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
    Game - Defeat Player 4 (Purple) with the message: Defeat!
    Game - Defeat Player 6 (Orange) with the message: Defeat!
    Game - Defeat Player 7 (Green) with the message: Defeat!
    Game - Defeat Player 8 (Pink) with the message: Defeat!
    Game - Defeat Player 10 (Light Blue) with the message: Defeat!
    Game - Defeat Player 11 (Dark Green) with the message: Defeat!
    Game - Defeat Player 12 (Brown) with the message: Defeat!
    Trigger - Turn off (This trigger)
VictoryTrigger Rivendell Lorien
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Forces of Light have triumphed and has laid claim to all of middle earth. They have earned themselves endless years of peace and freedom.|r
    Wait 10.00 seconds
    Game - Victory Player 7 (Green) (Show dialogs, Show scores)
    Game - Victory Player 11 (Dark Green) (Show dialogs, Show scores)
    Game - Defeat Player 1 (Red) with the message: Defeat!
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
    Game - Defeat Player 4 (Purple) with the message: Defeat!
    Game - Defeat Player 5 (Yellow) with the message: Defeat!
    Game - Defeat Player 6 (Orange) with the message: Defeat!
    Game - Defeat Player 8 (Pink) with the message: Defeat!
    Game - Defeat Player 9 (Gray) with the message: Defeat!
    Game - Defeat Player 10 (Light Blue) with the message: Defeat!
    Game - Defeat Player 12 (Brown) with the message: Defeat!
    Trigger - Turn off (This trigger)
VictoryTrigger Harad Corsair
  Events
  Conditions
  Actions
    Game - Display to (All players) the text: |c009B0000The Forces of Light have triumphed and has laid claim to all of middle earth. They have earned themselves endless years of peace and freedom.|r
    Wait 10.00 seconds
    Game - Victory Player 10 (Light Blue) (Show dialogs, Show scores)
    Game - Victory Player 12 (Brown) (Show dialogs, Show scores)
    Game - Defeat Player 1 (Red) with the message: Defeat!
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
    Game - Defeat Player 4 (Purple) with the message: Defeat!
    Game - Defeat Player 5 (Yellow) with the message: Defeat!
    Game - Defeat Player 6 (Orange) with the message: Defeat!
    Game - Defeat Player 7 (Green) with the message: Defeat!
    Game - Defeat Player 8 (Pink) with the message: Defeat!
    Game - Defeat Player 9 (Gray) with the message: Defeat!
    Game - Defeat Player 11 (Dark Green) with the message: Defeat!
    Trigger - Turn off (This trigger)
Gondor Dies
  Events
    Unit - Minas Tirith 0003 <gen> Dies
  Conditions
  Actions
    Set VariableSet Gondor = False
    Trigger - Run Gondor_leaves_Battle <gen> (checking conditions)
    Trigger - Run Gondor_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Shire Dies
  Events
    Unit - The Shire 0018 <gen> Dies
  Conditions
  Actions
    Set VariableSet Shire = False
    Trigger - Run Shire_leaves_Battle <gen> (checking conditions)
    Trigger - Run Shire_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Isengard Dies
  Events
    Unit - Orthanc 0001 <gen> Dies
  Conditions
  Actions
    Set VariableSet Isengard = False
    Trigger - Run Orthanc_leaves_Battle <gen> (checking conditions)
    Trigger - Run Orthanc_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Rohan Dies
  Events
    Unit - Edoras 0063 <gen> Dies
  Conditions
  Actions
    Set VariableSet Rohan = False
    Trigger - Run Rohan_leaves_Battle <gen> (checking conditions)
    Trigger - Run Rohan_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Mordor Dies
  Events
    Unit - Barad Dur 0027 <gen> Dies
  Conditions
  Actions
    Set VariableSet Mordor = False
    Trigger - Run Mordor_leaves_Battle <gen> (checking conditions)
    Trigger - Run Mordor_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Dwarves Dies
  Events
    Unit - Erebor 0020 <gen> Dies
  Conditions
  Actions
    Set VariableSet Dwarves = False
    Trigger - Run Dwarves_leaves_Battle <gen> (checking conditions)
    Trigger - Run Dwarves_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Rivendell Dies
  Events
    Unit - Rivendell 0002 <gen> Dies
  Conditions
  Actions
    Set VariableSet Rivendale = False
    Trigger - Run Elves_leaves_Battle <gen> (checking conditions)
    Trigger - Run Elves_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Moria Dies
  Events
    Unit - Moria 0026 <gen> Dies
  Conditions
  Actions
    Set VariableSet Moria = False
    Trigger - Run Moria_leaves_Battle <gen> (checking conditions)
    Trigger - Run Moria_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Minas Morgul Dies
  Events
    Unit - Minas Morgul 0094 <gen> Dies
  Conditions
  Actions
    Set VariableSet MinasMogul = False
    Trigger - Run Minas_Morgul_leaves_Battle <gen> (checking conditions)
    Trigger - Run Minas_Morgul_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Corsair Dies
  Events
    Unit - Umbar 0426 <gen> Dies
  Conditions
  Actions
    Set VariableSet Umbar = False
    Trigger - Run Corsair_leaves_Battle <gen> (checking conditions)
    Trigger - Run Corsair_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Lorien Dies
  Events
    Unit - Lorien 0019 <gen> Dies
  Conditions
  Actions
    Set VariableSet Lothlorien = False
    Trigger - Run Lorien_leaves_Battle <gen> (checking conditions)
    Trigger - Run Lorien_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Harad Dies
  Events
    Unit - Near Harad 0531 <gen> Dies
  Conditions
  Actions
    Set VariableSet Harad = False
    Trigger - Run Harad_leaves_Battle <gen> (checking conditions)
    Trigger - Run Harad_leaves_Divided <gen> (checking conditions)
    Trigger - Turn off (This trigger)
Gate Open
  Events
    Player - Player 5 (Yellow) types a chat message containing -open (stringnoformat) as An exact match
  Conditions
  Actions
    Destructible - Open Demonic Gate 1154 <gen>
    Destructible - Open Demonic Gate 1160 <gen>
    Destructible - Open Demonic Gate 1156 <gen>
Gate Close
  Events
    Player - Player 5 (Yellow) types a chat message containing -close (stringnoformat) as An exact match
  Conditions
  Actions
    Destructible - Close Demonic Gate 1154 <gen>
    Destructible - Close Demonic Gate 1160 <gen>
    Destructible - Close Demonic Gate 1156 <gen>
Leaver1
  Events
  Conditions
    spawner1 Equal to (Triggering player)
  Actions
    Unit - Change ownership of Circle of Power 0515 <gen> to Neutral Passive and Change color
Spawner1Spawn
  Events
    Time - Every 60.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner1 controller) Equal to User)
  Actions
    Player - Add 200 to spawner1.Current gold
Spawner1Spawn Copy
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner1 controller) Equal to User)
  Actions
    Unit - Create 2 Elven Guide for spawner1 at (Center of Spawner1 <gen>) facing (Random point in Spawner1 <gen>)
Spawner1
  Events
    Unit - A unit enters Spawner1 <gen>
  Conditions
  Actions
    Unit - Change ownership of Circle of Power 0515 <gen> to (Owner of (Triggering unit)) and Change color
    Set VariableSet spawner1 = (Owner of (Triggering unit))
Leaver2
  Events
  Conditions
    spawner2 Equal to (Triggering player)
  Actions
    Unit - Change ownership of Circle of Power 0516 <gen> to Neutral Passive and Change color
Spawner2Spawn
  Events
    Time - Every 60.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner2 controller) Equal to User)
  Actions
    Player - Add 200 to spawner2.Current gold
Spawner2Spawn Copy
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner2 controller) Equal to User)
  Actions
    Unit - Create 2 Huorn for spawner2 at (Center of Spawner2 <gen>) facing (Random point in Spawner2 <gen>)
Spawner2
  Events
    Unit - A unit enters Spawner2 <gen>
  Conditions
  Actions
    Unit - Change ownership of Circle of Power 0516 <gen> to (Owner of (Triggering unit)) and Change color
    Set VariableSet spawner2 = (Owner of (Triggering unit))
Leaver3
  Events
  Conditions
    spawner3 Equal to (Triggering player)
  Actions
    Unit - Change ownership of Circle of Power 0517 <gen> to Neutral Passive and Change color
Spawner3Spawn
  Events
    Time - Every 60.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner3 controller) Equal to User)
  Actions
    Player - Add 200 to spawner3.Current gold
Spawner3Spawn Copy
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner3 controller) Equal to User)
  Actions
    Unit - Create 2 Damned for spawner3 at (Center of Spawner3 <gen>) facing (Random point in Spawner3 <gen>)
Spawner3
  Events
    Unit - A unit enters Spawner3 <gen>
  Conditions
  Actions
    Unit - Change ownership of Circle of Power 0517 <gen> to (Owner of (Triggering unit)) and Change color
    Set VariableSet spawner3 = (Owner of (Triggering unit))
Leaver4
  Events
  Conditions
    spawner4 Equal to (Triggering player)
  Actions
    Unit - Change ownership of Circle of Power 0518 <gen> to Neutral Passive and Change color
Spawner4Spawn
  Events
    Time - Every 60.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner4 controller) Equal to User)
  Actions
    Player - Add 200 to spawner4.Current gold
Spawner4Spawn Copy
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner4 controller) Equal to User)
  Actions
    Unit - Create 2 Beorning for spawner4 at (Center of Spawner4 <gen>) facing (Random point in Spawner4 <gen>)
Spawner4
  Events
    Unit - A unit enters Spawner4 <gen>
  Conditions
  Actions
    Unit - Change ownership of Circle of Power 0519 <gen> to (Owner of (Triggering unit)) and Change color
    Set VariableSet spawner4 = (Owner of (Triggering unit))
Leaver5
  Events
  Conditions
    spawner5 Equal to (Triggering player)
  Actions
    Unit - Change ownership of Circle of Power 0519 <gen> to Neutral Passive and Change color
Spawner5Spawn
  Events
    Time - Every 60.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner5 controller) Equal to User)
  Actions
    Player - Add 200 to spawner5.Current gold
Spawner5Spawn Copy
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner5 controller) Equal to User)
  Actions
    Unit - Create 2 Haradrim Raider for spawner5 at (Center of Spawner5 <gen>) facing (Random point in Spawner5 <gen>)
Spawner5
  Events
    Unit - A unit enters Spawner5 <gen>
  Conditions
  Actions
    Unit - Change ownership of Circle of Power 0518 <gen> to (Owner of (Triggering unit)) and Change color
    Set VariableSet spawner5 = (Owner of (Triggering unit))
Leaver6
  Events
  Conditions
    spawner6 Equal to (Triggering player)
  Actions
    Unit - Change ownership of Circle of Power 0520 <gen> to Neutral Passive and Change color
Spawner6Spawn
  Events
    Time - Every 60.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner6 controller) Equal to User)
  Actions
    Player - Add 200 to spawner6.Current gold
Spawner6Spawn Copy
  Events
    Time - Every 120.00 seconds of game time
  Conditions
    (PlayDividedAlliances Equal to True) and ((spawner6 controller) Equal to User)
  Actions
    Unit - Create 2 Human Ranger for spawner6 at (Center of Spawner6 <gen>) facing (Random point in Spawner6 <gen>)
Spawner6
  Events
    Unit - A unit enters Spawner6 <gen>
  Conditions
  Actions
    Unit - Change ownership of Circle of Power 0520 <gen> to (Owner of (Triggering unit)) and Change color
    Set VariableSet spawner6 = (Owner of (Triggering unit))