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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  5. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  6. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  7. The 13th Music Contest Poll is up! Vote for the best tracks in this symphony of frost and flame.
    Dismiss Notice
  8. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  9. 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

Сo-Op Campaign Human 05 v0.2 .w3x
Variables
Modificators
Choose Modificator
Cult of the Damned
Spawn Homunculus
Spawn Elite Abomination
Custom - Undead Unit In-Game Sounds
Necromancer - Raise Dead
PNecromancer Raise Dead
GNecromancer Raise Dead
Necromancer - Cripple
PNecromancer Cripple
GNecromancer Cripple
Liches
PLich Frost Nova
GLich Frost Nova
PLich Frost Armor
GLich Frost Armor
PLich Dark Ritual
GLich Dark Ritual
Custom - Arthas
Arthas Return Start
Arthas Patrol
Suicide AI Копировать
Suicide AI
SuicideExtra Attack
Custom - Choose Commander and Race
Choose Blue NE
Choose Blue High Elves
Choose Blue Human
Choose Blue Orcs
Choose Grey Human
Choose Grey NE
Choose Grey High Elves
Choose Grey Orcs
WESTRING_VARIABLESCATEGORY
Map Initillization
Choise CrossbowMan
Defeat on
Setup Insane Копировать
Blue Player Units
Grey Player Units
Map Initilization
Heartglen AI
SetupBreadcrumbs
SetupBreadcrumbs Single
SetupFormations
SetupCaravan
SetupCaravan Single Wagon
SetupCaravan Single Guard
SetupHerathglenVillagers
SetupPlayers
Setup Sounds
SetupQuest
SetupQuest Grey
Difficulty Hard
Remove AI Units
Words
Tirion
Tirion Copy
Starting Cinematic
Cinematic Pre
Intro Cancelled
Militia
Militia Line A
Militia Line B
Militia Line C
Militia A
Militia B
Militia C
Militia Repeat A
Militia Repeat B
Militia Repeat C
Start Mission
Mission Begins
Jaina Items Drop
Start AI
Zombies are Dead
Main Quest Discovered
Hearthglen
First Attack Wave 01 QUE
First Attack Wave 01
Sheep
Arthas Exp Cap
Captain Exp Cap
ArthasHopeless QUE
ArthasHopeless
Timer Warning 10 QUE
Timer Warning 10
Corruption Outside Hearthglen
Outside Farmer 01
Outside Farmer 02
Outside Farmer 03
Outside Famer 01 Zombie
Malganis Corruption
Dark Conversion Outside Farm
Crate Item
xxxxxxxxxxxxxxxx
Roaming Villagers A
01Roaming Villager A
01Roaming Villager Aa
01Roaming Villager B
01Roaming Villager Bb
01Villager Retreat A
01Villager Retreat B
01Remove Villager 01
01Remove Villager 02
Roaming Villagers B
02Roaming Villager A
02Roaming Villager B
02Roaming Villager C
02Villager Retreat A
02Remove Villager 01
Roaming Villagers C
03Roaming Villager A
03Roaming Villager B
03Roaming Villager C
03Villager Retreat A
03Remove Villager 01
Roaming Villagers D
04Roaming Villager A
04Roaming Villager B
04Roaming Villager C
04Villager Retreat A
04Remove Villager 01
Roaming Villagers E
05Roaming Villager A
05Roaming Villager B
05Villager Retreat A
05Remove Villager 01
Roaming Villagers F
06Roaming Villager A
06Roaming Villager B
06Roaming Villager C
06Roaming Villager D
06Roaming Villager E
06Villager Retreat A
06Villager Retreat B
06Remove Villager 01
06Remove Villager 02
xxxxxxxxxxxxxxxx
Caravan Behavior
Reorient Formation
Reorient Formation Single
Caravan Orders Pause
Caravan Orders Resume
Caravan Orders
Caravan Orders Single Wagon
Caravan Orders Single Guard
Caravan Unit Dies
Guard Attacked
Guard Catches Up
Guard Catches Up Single
Wagons Reach Breadcrumb
Target Next Breadcrumb
Caravan
Caravan To Town1
Caravan To Town2
Caravan To Town3
Caravan To Town4
Caravan Attacked QUE
Caravan Attacked
Caravan Wagon Dies QUE
Caravan Wagon Dies
Caravan Removal
Town Portal Hint QUE
Town Portal Hint
Corrupt Farm 01
Corruption01 QUE
Corruption01
Dark Conversion Farm 01
Caravan Side Quest
Share Vision Last Town
Ghouls01
Attack01
Create Plague 01
Create Plague One 01
Destroy Plague 01
Destroy Plague One 01
Corrupt Farm 02
Corruption02 QUE
Corruption02
Dark Conversion Farm 02
DialogueFarm02
Ghouls02
Attack02
Create Plague 02
Create Plague One 02
Destroy Plague 02
Destroy Plague One 02
Corrupt Farm 03
Corruption03 QUE
Corruption03
Dark Conversion Farm 03
DialogueFarm03
Ghouls03
Attack03
Create Plague 03
Create Plague One 03
Destroy Plague 03
Destroy Plague One 03
Corrupt Farm 04
Corruption04 QUE
Corruption04
Dark Conversion Farm 04
DialogueFarm04
Ghouls04
Attack04
Blight
Create Plague 04
Create Plague One 04
Destroy Plague 04
Destroy Plague One 04
xxxxxxxxxxxxxxxx
Free Villager
Free Villager
Free Vill Dialogue01 Que
Free Vill Dialogue02 Que
Free Villager Remove
Troop Farm 05
Villagers Greeting QUE
Villagers Greeting
Villagers in House
Remove Villager01
Remove Villager02
Dead Villagers No Troops
Villager Reinforcement01
Villager Reinforcement02
Fountain of Life
Ogres QUE
Ogres
xxxxxxxxxxxxxxxx
Green AI
UnlimitedGoldGreen
UnlimitedLumberGreen
UnlimitedGoldGreen Copy
UnlimitedLumberGreen Copy
Orange AI
Orange AI Attack Wave
OrangeTown
ResourcesOrange
UnlimitedGoldOrange
UnlimitedLumberOrange
Purple AI
UnlimitedGoldPurple
UnlimitedLumberPurple
UnlimitedGoldPurple Copy
UnlimitedLumberPurple Copy
xxxxxxxxxxxxxxxx
Victory Defeat
Victory1
Victory2
Defeat
DefeatCustom
Ending Cinematic
Victory Cancel
Ending Start
FootmanFightSounds
Ending Cinematic C
Ending Cinematic D
Extra Triggers
Mana Char
Strength of the Sun Start
Strength of the Sun End
Sun Empowerement
Sun Empowerement End
Setup Insane
Computer Upkeep
Player Limits
Item Drop Bonuses
Timer Trigger
Skip Cinematic
Leaves Game
Gametext
Init Gametext
Startgame New
Startgame Text
Startgame Text 2
Startgame Text 3
Town Hall -> Keep
Tech 2 Levels -> Tech 1 Levels

		
Name Type Is Array Initial Value
A integervar No
AbominationFodder unit No
AbominationFodderB unit No
AbominationFodderC unit No
AbominationFodderD unit No
AbominationFodderE unit No
AbominationFodderF unit No
Arthas unit No
ArthasPoint location No
BonusesFound integer No
BonusesTotal integer No
BreadcrumbAllowed integer No
BreadcrumbAngleArray real Yes
BreadcrumbCurrent integer No
BreadcrumbIntro integer No
BreadcrumbReached integer No
BreadcrumbStopExit integer No
BreadcrumbStopTown1 integer No
BreadcrumbStopTown2 integer No
BreadcrumbStopTown3 integer No
BreadcrumbStopTown4 integer No
BreadcrumbTotal integer No
Buttons button Yes
Buttonst button Yes
CameraPosition location No
CampaignScore integer No
Captain unit No
CaravanCorruptionPulse timer No
CaravanGuardFirst integer No
CaravanGuardLast integer No
CARAVANISDEADBOOLEAN boolean No false
CaravanOrderPulse timer No
CaravanTestPulse timer No
CaravanTown1Timer timer No
CaravanTown2Timer timer No
CaravanTown3Timer timer No
CaravanTown4Timer timer No
CaravanUnitArray unit Yes
CaravanWagonFirst integer No
CaravanWagonLast integer No
Cinematic boolean No true
Code string No
CorruptVillager01 location No
CorruptVillager02 location No
CorruptVillager03 location No
CorruptVillager04 location No
CorruptVillager05 location No
CorruptVillager06 location No
CorruptVillager07 location No
CorruptVillagerGroup1 group No
EndingCancelled boolean No false
EnoughPlayers boolean No
ExchangeFail1 boolean No
ExchangeFail2 boolean No
ExchangeFail3 boolean No
ExchangeSuccess boolean No
Exchanging1 boolean No
Exchanging2 boolean No
Extra integer No
ExtraTotal integer No
Farm01CorruptedGroup group No
Farm02CorruptedGroup group No
Farm03CorruptedGroup group No
Farm04CorruptedGroup group No
Farm051 fogmodifier No
Farm052 fogmodifier No
Farm05Group1 group No
Farm05Quest effect No
Farmers01 group No
Farmers02 group No
Farmers03 group No
Farmers04 group No
FinalInventory string Yes
FinalRank string No
Foot1 unit No
Foot2 unit No
Foot3 unit No
Foot4 unit No
Foot5 unit No
Foot6 unit No
Foot7 unit No
Footman1 unit No
Footman2 unit No
FormationAngleArray real Yes
FormationDistanceArray real Yes
FormationRegionArray rect Yes
FormationTotal integer No
FountainVisibility1 fogmodifier No
FountainVisibility2 fogmodifier No
FreeVillager unit No UnitNull
FreeVillagerTalktoMe effect No
GameOver boolean No
GAMEOVER boolean No false
GameSelection boolean No true
GhoulAttackArthas unit No
GrainCaravanQuest quest No
GuardCallForHelpDist real No 600.00
HearthglenQuest quest No
HopelessTimer timer No
INSANEMODE boolean No
IntroCancelled boolean No false
ItemSpawn rect Yes
Jaina unit No
LastCaravanDeath location No
LevelOfAbility integer Yes
MalGanis01 unit No
MalGanis02 unit No
MalGanis03 unit No
MalGanis04 unit No
MalGanis05 unit No
MalGanis06 unit No
MalGanis07 unit No
MalGanis08 unit No
MalGanisOutside01 unit No
MalGanisOutside02 unit No
MalGanisOutside03 unit No
Militia group No
MilitiaStop boolean No false
MissionNumber integer No
NewVote1 boolean No
NewVote2 boolean No
OrangeAIAttackWave timer No
OutsideFarmGroup group No
PlagueCloudsA effect Yes
PlagueCloudsB effect Yes
PlagueCloudsC effect Yes
PlagueCloudsD effect Yes
Player1 player No Player01
Player2 player No Player08
pointcheck location No
pointx location No
pointy location No
Priest1 unit No
RandomReal real No
RankInteger integer No
Reinforcement boolean No false
ReorientAngle real No
REQCaravanquest questitem No
Requirement_Region rect No
RequirementUnitType unitcode Yes
ResearchMax integer No
ResearchString string Yes
ResearchType techcode Yes
ResourceDropBuildings group No
Rifle1 unit No
Rifle2 unit No
Rifle3 unit No
Rifleman1 unit No
RoamingVillagersA group No
RoamingVillagersB group No
RoamingVillagersC group No
RoamingVillagersD group No
RoamingVillagersE group No
RoamingVillagersF group No
Save integer Yes
SaveCount integer No
SaveLoad_Abilities abilcode Yes
SaveLoad_Abilities_LastIndex integer No
SaveLoad_Alphabet string No
SaveLoad_CaseSensitive boolean No
SaveLoad_Compress integer Yes
SaveLoad_Heroes unitcode Yes
SaveLoad_Heroes_LastIndex integer No
SaveLoad_Initialized boolean No
SaveLoad_Items itemcode Yes
SaveLoad_Items_LastIndex integer No
SaveLoad_TotalGrades integer Yes
SaveLoad_TotalTime integer No
SaveLoad_Uncompress integer Yes
SaveLoad_UsePlayername boolean No
ScoreBonuses integer No
ScoreExtra integer No
ScoreLimit integer Yes
ScoreMax integer No
ScoreSubquests integer No
ScoreTime integer No
Sergeant unit No
SheepItem unit No
SheepPoint location No
SkipVote1 boolean No
SkipVote2 boolean No
SpawnedItem item Yes
SpeedOfGuards real No 150.00
SpeedOfWagons real No 150.00
SubquestsComplete integer No
SubquestsTotal integer No
SuicideTimer timer No
SumRank integer No
TechHash hashtable No
TeleportUnit unit No
temp_unit unit No
TempAngle real No
TempBoolean boolean No
TempInteger integer No
TempItem item No
TempItemType itemcode No
TempLastAngle real No
TempLastIndex integer No
TempMaxAngle real No
TempMinAngle real No
TempNextAngle real No
TempNextIndex integer No
TempPGroup force No
TempPGroup2 force No
TempPlayer player No
TempPoint location No
TempUGroup group No
TempUnit unit No
TempUnitType unitcode No
TempX real No
TempY real No
TheCaravanGuards group No
TheCaravanWagons group No
TimeHours integer No
TimeMax real No
TimeMin real No
TimeMins integer No
Timer30Minute timer No
TimeRange real No
TimerWarning timer No
TimeSeconds integer No
TimeSecondsTotal integer No
TimeTakenString string No
tipEu boolean No
TotalVision real No
TownHall unit Yes
TownPortal item No
UnitGroup group No
Uther unit No
UtherKnights1 group No
Validate boolean No
Villager01 unit No
Villager02 unit No
Villager03 unit No
Villager04 unit No
Villager05 unit No
Villager06 unit No
Villager07 unit No
Villager08 unit No
Villager09 unit No
Villager10 unit No
Villager11 unit No
Villager12 unit No
Villager13 unit No
Villager14 unit No
Villager15 unit No
Villager16 unit No
Villager17 unit No
Villager18 unit No
Villager19 unit No
VillageVis1 fogmodifier No
VillageVis2 fogmodifier No
Win dialog No
WinDizel dialog No
zBreadcrumbArray location Yes
zReorientTarget location No
Choose Modificator
  Events
  Conditions
  Actions
    Set VariableSet RandomReal = (Random real number between 0.00 and 100.00)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        RandomReal Less than or equal to 35.00
      Then - Actions
        For each (Integer A) from 1 to 6, do (Actions)
          Loop - Actions
            Trigger - Turn on Spawn_Homunculus <gen>
            Quest - Display to Player Group - Player 2 (Blue) the Warning message: |c00FF0000WARNING|r - The army of the Undead got a modifier of the amplification - |cff00ff00Additional Attrocity|r
            Quest - Display to Player Group - Player 9 (Gray) the Warning message: |c00FF0000WARNING|r - The army of the Undead got a modifier of the amplification - |cff00ff00Additional Attrocity|r
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            RandomReal Greater than 35.00
            RandomReal Less than or equal to 70.00
          Then - Actions
            Trigger - Turn on Spawn_Elite_Abomination <gen>
            Quest - Display to Player Group - Player 2 (Blue) the Warning message: |c00FF0000WARNING|r - The army of the Undead got a modifier of the amplification - |cff00ff00Additional Abomination|r
            Quest - Display to Player Group - Player 9 (Gray) the Warning message: |c00FF0000WARNING|r - The army of the Undead got a modifier of the amplification - |cff00ff00Additional Abomination|r
          Else - Actions
Spawn Homunculus
  Events
    Time - Every 90.00 seconds of game time
  Conditions
  Actions
    Unit - Create 1.Attrocity [Undead Scourge] for Player 13 (Maroon) at (Center of Cult_Spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of 06Jaina_Ending_C <gen>)
    Unit - Create 1.Attrocity [Undead Scourge] for Player 13 (Maroon) at (Center of Cult_Spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of 06Jaina_Ending_C <gen>)
    Unit - Create 1.Attrocity [Undead Scourge] for Player 13 (Maroon) at (Center of Cult_Spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of 06Jaina_Ending_C <gen>)
    Unit - Create 1.Attrocity [Undead Scourge] for Player 13 (Maroon) at (Center of Cult_Spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of 06Jaina_Ending_C <gen>)
Spawn Elite Abomination
  Events
    Time - Every 90.00 seconds of game time
  Conditions
  Actions
    Unit - Create 1.Elite Abomination for Player 13 (Maroon) at (Center of Cult_Spawn_2 <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of 06Jaina_Ending_C <gen>)
    Unit - Create 1.Elite Abomination for Player 13 (Maroon) at (Center of Cult_Spawn_2 <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of 06Jaina_Ending_C <gen>)
PNecromancer Raise Dead
  Events
    Unit - A unit owned by Player 4 (Purple).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to Raise Dead
        (Unit-type of (Casting unit)) Equal to Necromancer
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach NecromancerYesAttack2 <gen> to (Casting unit)
    Sound - Play NecromancerYesAttack2 <gen>
    Trigger - Turn on (This trigger)
GNecromancer Raise Dead
  Events
    Unit - A unit owned by Player 7 (Green).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to Raise Dead
        (Unit-type of (Casting unit)) Equal to Necromancer
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach NecromancerYesAttack2 <gen> to (Casting unit)
    Sound - Play NecromancerYesAttack2 <gen>
    Trigger - Turn on (This trigger)
PNecromancer Cripple
  Events
    Unit - A unit owned by Player 4 (Purple).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to Cripple
        (Unit-type of (Casting unit)) Equal to Necromancer
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach NecromancerYesAttack3 <gen> to (Casting unit)
    Sound - Play NecromancerYesAttack3 <gen>
    Trigger - Turn on (This trigger)
GNecromancer Cripple
  Events
    Unit - A unit owned by Player 7 (Green).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to Cripple
        (Unit-type of (Casting unit)) Equal to Necromancer
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach NecromancerYesAttack3 <gen> to (Casting unit)
    Sound - Play NecromancerYesAttack3 <gen>
    Trigger - Turn on (This trigger)
PLich Frost Nova
  Events
    Unit - A unit owned by Player 4 (Purple).Begins casting an ability
  Conditions
    (Ability being cast) Equal to Frost Nova
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach HeroLichYesAttack3 <gen> to Lich 0022 <gen>
    Sound - Play HeroLichYesAttack3 <gen>
    Trigger - Turn on (This trigger)
GLich Frost Nova
  Events
    Unit - A unit owned by Player 7 (Green).Begins casting an ability
  Conditions
    (Ability being cast) Equal to Frost Nova
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach HeroLichYesAttack3 <gen> to Lich 0059 <gen>
    Sound - Play HeroLichYesAttack3 <gen>
    Trigger - Turn on (This trigger)
PLich Frost Armor
  Events
    Unit - A unit owned by Player 4 (Purple).Begins casting an ability
  Conditions
    (Ability being cast) Equal to Frost Armor
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach HeroLichYesAttack2 <gen> to Lich 0022 <gen>
    Sound - Play HeroLichYesAttack2 <gen>
    Trigger - Turn on (This trigger)
GLich Frost Armor
  Events
    Unit - A unit owned by Player 7 (Green).Begins casting an ability
  Conditions
    (Ability being cast) Equal to Frost Armor
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach HeroLichYesAttack2 <gen> to Lich 0059 <gen>
    Sound - Play HeroLichYesAttack2 <gen>
    Trigger - Turn on (This trigger)
PLich Dark Ritual
  Events
    Unit - A unit owned by Player 4 (Purple).Begins casting an ability
  Conditions
    (Ability being cast) Equal to Dark Ritual
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach HeroLichYesAttack1 <gen> to Lich 0022 <gen>
    Sound - Play HeroLichYesAttack1 <gen>
    Trigger - Turn on (This trigger)
GLich Dark Ritual
  Events
    Unit - A unit owned by Player 7 (Green).Begins casting an ability
  Conditions
    (Ability being cast) Equal to Dark Ritual
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach HeroLichYesAttack1 <gen> to Lich 0059 <gen>
    Sound - Play HeroLichYesAttack1 <gen>
    Trigger - Turn on (This trigger)
Arthas Return Start
  Events
    Unit - Paladin 0188 <gen> Dies
  Conditions
    GameOver Equal to False
  Actions
    Animation - Play Resurrection Stone 0190 <gen>'s stand work (animationname) animation
    Wait 60.00 seconds
    Hero - Instantly revive Paladin 0188 <gen> at (Center of _______________323 <gen>), Show revival graphics
    Wait 0.50 seconds
    Trigger - Run Arthas_Patrol <gen> (ignoring conditions)
Arthas Patrol
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    If (GameOver Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Paladin 0188 <gen> to Attack-Move To.(Center of Arthas_Stand <gen>)
Suicide AI
  Events
    Time - SuicideTimer expires
  Conditions
  Actions
    Player - Set the current research level of Rume (techcode) to 3 for Player 7 (Green)
    Player - Set the current research level of Rume (techcode) to 3 for Player 4 (Purple)
    Player - Set the current research level of Ruar (techcode) to 3 for Player 4 (Purple)
    Player - Set the current research level of Ruar (techcode) to 3 for Player 7 (Green)
    Player - Set the current research level of Rubu (techcode) to 1 for Player 7 (Green)
    Trigger - Run SuicideExtra_Attack <gen> (checking conditions)
SuicideExtra Attack
  Events
  Conditions
  Actions
    Wait 20.00 seconds
    Unit - Create 12.Ghoul for Player 7 (Green) at (Center of _______________319 <gen>) facing Default building facing degrees
    Unit - Create 5.Abomination for Player 7 (Green) at (Center of _______________319 <gen>) facing Default building facing degrees
    Unit - Create 12.Ghoul for Player 4 (Purple) at (Center of LakeLoop02 <gen>) facing Default building facing degrees
Choose Blue NE
  Events
    Unit - A unit enters Tyrend_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 2 (Blue)
  Actions
    Unit - Kill Wisp 0129 <gen>
    Hero - Create Necklace of Elune and give it to Paladin 0031 <gen>
    Trigger - Turn off Choose_Grey_NE <gen>
    Trigger - Run Blue_Player_Units <gen> (checking conditions)
    Player - Set Player 2 (Blue).Current gold to 450
    Unit - Remove Priestess of the Moon 0118 <gen> from the game
    Unit - Remove Circle of Power 0026 <gen> from the game
    Unit - Replace Guard Tower 0066 <gen> with a Ancient Protector using The old unit's relative life and mana
    Unit - Replace Guard Tower 0020 <gen> with a Ancient Protector using The old unit's relative life and mana
    Unit - Replace Barracks 0044 <gen> with a Ancient of War using The old unit's relative life and mana
    Unit - Replace Farm 0047 <gen> with a Moon Well using The old unit's relative life and mana
    Unit - Replace Farm 0086 <gen> with a Moon Well using The old unit's relative life and mana
    Unit - Replace Footman 0023 <gen> with a Archer using The old unit's relative life and mana
    Unit - Replace Footman 0168 <gen> with a Archer using The old unit's relative life and mana
    Unit - Replace Rifleman 0078 <gen> with a Huntress using The old unit's relative life and mana
    Unit - Replace Guard Tower 0167 <gen> with a Ancient Protector using The old unit's relative life and mana
    Unit - Replace Keep 0042 <gen> with a Tree of Ages using The old unit's relative life and mana
    Unit - Replace Altar of Kings 0019 <gen> with a Altar of Elders using The old unit's relative life and mana
    Unit - Replace Footman 0024 <gen> with a Archer using The old unit's relative life and mana
    Unit - Replace Paladin 0031 <gen> with a |c000042FFHigh Priestess of the Elune|r using The old unit's relative life and mana
    Unit - Replace Peasant 0079 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Peasant 0032 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Peasant 0033 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Peasant 0035 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Blacksmith 0015 <gen> with a Hunter's Hall using The old unit's relative life and mana
    Unit - Replace Priest 0062 <gen> with a Druid of the Talon (Night Elf Form) using The old unit's relative life and mana
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Black mask across _______________264 <gen>
    Trigger - Run Startgame_New <gen> (ignoring conditions)
    Trigger - Run Intro_Cancelled <gen> (checking conditions)
    Trigger - Run Cinematic_Pre <gen> (checking conditions)
    Trigger - Run Choose_Modificator <gen> (ignoring conditions)
    Floating Text - Destroy (Last created floating text)
    Set VariableSet NewVote1 = True
Choose Blue High Elves
  Events
    Unit - A unit enters Verissa_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 2 (Blue)
  Actions
    Unit - Kill Wisp 0129 <gen>
    Trigger - Turn off Choose_Grey_High_Elves <gen>
    Trigger - Run Blue_Player_Units <gen> (checking conditions)
    Player - Set Player 2 (Blue).Current gold to 450
    Unit - Remove |c007EBFF1Ranger General of the Silver Covenant|r 0232 <gen> from the game
    Unit - Remove Circle of Power 0233 <gen> from the game
    Unit - Replace Guard Tower 0066 <gen> with a Sentinel Tower [High Elves] using The old unit's relative life and mana
    Unit - Replace Guard Tower 0020 <gen> with a Sentinel Tower [High Elves] using The old unit's relative life and mana
    Unit - Replace Barracks 0044 <gen> with a Cantonment [High Elves] using The old unit's relative life and mana
    Unit - Replace Farm 0047 <gen> with a Abode [High Elves] using The old unit's relative life and mana
    Unit - Replace Farm 0086 <gen> with a Abode [High Elves] using The old unit's relative life and mana
    Unit - Replace Footman 0023 <gen> with a Silver Covenant Ranger [High Elves] using The old unit's relative life and mana
    Unit - Replace Footman 0168 <gen> with a Silver Covenant Ranger [High Elves] using The old unit's relative life and mana
    Unit - Replace Rifleman 0078 <gen> with a Silver Covenant Enforcer [High Elves] using The old unit's relative life and mana
    Unit - Replace Guard Tower 0167 <gen> with a Sentinel Tower [High Elves] using The old unit's relative life and mana
    Unit - Replace Keep 0042 <gen> with a Grand Hold [High Elves] using The old unit's relative life and mana
    Unit - Replace Altar of Kings 0019 <gen> with a Altar of the Sun [High Elves] using The old unit's relative life and mana
    Unit - Replace Footman 0024 <gen> with a Silver Covenant Enforcer [High Elves] using The old unit's relative life and mana
    Unit - Replace Paladin 0031 <gen> with a |c007EBFF1Ranger General of the Silver Covenant|r [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0079 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0032 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0033 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0035 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Blacksmith 0015 <gen> with a Silverworks [High Elves] using The old unit's relative life and mana
    Unit - Replace Priest 0062 <gen> with a Silver Covenant Spellbinder [High Elves] using The old unit's relative life and mana
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Black mask across _______________264 <gen>
    Trigger - Run Startgame_New <gen> (ignoring conditions)
    Trigger - Run Intro_Cancelled <gen> (checking conditions)
    Trigger - Run Cinematic_Pre <gen> (checking conditions)
    Trigger - Run Choose_Modificator <gen> (ignoring conditions)
    Floating Text - Destroy (Last created floating text)
    Set VariableSet NewVote1 = True
Choose Blue Human
  Events
    Unit - A unit enters Garithos_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 2 (Blue)
  Actions
    Trigger - Turn off Choose_Grey_Human <gen>
    Hero - Create Othmar Garithos' Axe and give it to Paladin 0031 <gen>
    Hero - Create Shield of the Grand Marshal and give it to Paladin 0031 <gen>
    Unit - Kill Wisp 0129 <gen>
    Trigger - Run Blue_Player_Units <gen> (checking conditions)
    Player - Set Player 2 (Blue).Total gold gathered to 250
    Unit - Remove Grand Marshal 0131 <gen> from the game
    Unit - Remove Circle of Power 0030 <gen> from the game
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Black mask across _______________264 <gen>
    Unit - Replace Paladin 0031 <gen> with a Grand Marshal using The old unit's relative life and mana
    Trigger - Run Startgame_New <gen> (ignoring conditions)
    Trigger - Run Intro_Cancelled <gen> (checking conditions)
    Trigger - Run Choose_Modificator <gen> (ignoring conditions)
    Set VariableSet NewVote1 = True
    Floating Text - Destroy (Last created floating text)
Choose Blue Orcs
  Events
    Unit - A unit enters Thrall_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 2 (Blue)
  Actions
    Trigger - Turn off Choose_Grey_Orcs <gen>
    Hero - Create Doomhammer and give it to Paladin 0031 <gen>
    Unit - Kill Wisp 0129 <gen>
    Trigger - Run Blue_Player_Units <gen> (checking conditions)
    Unit - Remove Circle of Power 0028 <gen> from the game
    Unit - Remove |c00FF0303Warchief|r 0126 <gen> from the game
    Unit - Replace Guard Tower 0066 <gen> with a Watch Tower using The old unit's relative life and mana
    Unit - Replace Guard Tower 0020 <gen> with a Watch Tower using The old unit's relative life and mana
    Unit - Replace Barracks 0044 <gen> with a Barracks using The old unit's relative life and mana
    Unit - Replace Farm 0047 <gen> with a Orc Burrow using The old unit's relative life and mana
    Unit - Replace Farm 0086 <gen> with a Orc Burrow using The old unit's relative life and mana
    Unit - Replace Footman 0023 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Footman 0168 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Footman 0091 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Guard Tower 0167 <gen> with a Watch Tower using The old unit's relative life and mana
    Unit - Replace Rifleman 0078 <gen> with a Troll Headhunter using The old unit's relative life and mana
    Unit - Replace Keep 0042 <gen> with a Stronghold using The old unit's relative life and mana
    Unit - Replace Altar of Kings 0019 <gen> with a Altar of Storms using The old unit's relative life and mana
    Unit - Replace Footman 0024 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Paladin 0031 <gen> with a |c00FF0303Warchief|r using The old unit's relative life and mana
    Unit - Replace Peasant 0079 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Peasant 0032 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Peasant 0033 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Peasant 0035 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Blacksmith 0015 <gen> with a War Mill using The old unit's relative life and mana
    Unit - Replace Priest 0062 <gen> with a Shaman using The old unit's relative life and mana
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Black mask across _______________264 <gen>
    Trigger - Run Blue_Player_Units <gen> (checking conditions)
    Trigger - Run Startgame_New <gen> (ignoring conditions)
    Trigger - Run Intro_Cancelled <gen> (checking conditions)
    Trigger - Run Choose_Modificator <gen> (ignoring conditions)
    Floating Text - Destroy (Last created floating text)
    Set VariableSet NewVote1 = True
Choose Grey Human
  Events
    Unit - A unit enters Garithos_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 9 (Gray)
  Actions
    Trigger - Turn off Choose_Blue_Human <gen>
    Unit - Kill Wisp 0130 <gen>
    Hero - Create Shield of the Grand Marshal and give it to Captain 0025 <gen>
    Hero - Create Othmar Garithos' Axe and give it to Captain 0025 <gen>
    Trigger - Run Grey_Player_Units <gen> (checking conditions)
    Unit - Remove Circle of Power 0030 <gen> from the game
    Unit - Remove Grand Marshal 0131 <gen> from the game
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Black mask across _______________264 <gen>
    Unit - Replace Captain 0025 <gen> with a Grand Marshal using The old unit's relative life and mana
    Trigger - Run SetupQuest <gen> (ignoring conditions)
    Set VariableSet NewVote2 = True
    Floating Text - Destroy (Last created floating text)
Choose Grey NE
  Events
    Unit - A unit enters Tyrend_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 9 (Gray)
  Actions
    Hero - Create Necklace of Elune and give it to Captain 0025 <gen>
    Trigger - Turn off Choose_Blue_NE <gen>
    Unit - Kill Wisp 0130 <gen>
    Trigger - Run Grey_Player_Units <gen> (checking conditions)
    Player - Set Player 9 (Gray).Current gold to 450
    Unit - Remove Priestess of the Moon 0118 <gen> from the game
    Unit - Remove Circle of Power 0026 <gen> from the game
    Unit - Replace Guard Tower 0085 <gen> with a Ancient Protector using The old unit's relative life and mana
    Unit - Replace Guard Tower 0101 <gen> with a Ancient Protector using The old unit's relative life and mana
    Unit - Replace Barracks 0029 <gen> with a Ancient of War using The old unit's relative life and mana
    Unit - Replace Farm 0073 <gen> with a Moon Well using The old unit's relative life and mana
    Unit - Replace Farm 0021 <gen> with a Moon Well using The old unit's relative life and mana
    Unit - Replace Footman 0027 <gen> with a Archer using The old unit's relative life and mana
    Unit - Replace Footman 0077 <gen> with a Archer using The old unit's relative life and mana
    Unit - Replace Footman 0076 <gen> with a Archer using The old unit's relative life and mana
    Unit - Replace Rifleman 0116 <gen> with a Huntress using The old unit's relative life and mana
    Unit - Replace Keep 0017 <gen> with a Tree of Ages using The old unit's relative life and mana
    Unit - Replace Lumber Mill 0045 <gen> with a Hunter's Hall using The old unit's relative life and mana
    Unit - Replace Altar of Kings 0200 <gen> with a Altar of Elders using The old unit's relative life and mana
    Unit - Replace Captain 0025 <gen> with a |c000042FFHigh Priestess of the Elune|r using The old unit's relative life and mana
    Unit - Replace Peasant 0094 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Peasant 0095 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Peasant 0109 <gen> with a Wisp using The old unit's relative life and mana
    Unit - Replace Peasant 0096 <gen> with a Wisp using The old unit's relative life and mana
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Black mask across _______________264 <gen>
    Trigger - Run SetupQuest <gen> (ignoring conditions)
    Floating Text - Destroy (Last created floating text)
    Set VariableSet NewVote2 = True
Choose Grey High Elves
  Events
    Unit - A unit enters Verissa_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 9 (Gray)
  Actions
    Trigger - Turn off Choose_Blue_High_Elves <gen>
    Unit - Kill Wisp 0130 <gen>
    Trigger - Run Grey_Player_Units <gen> (checking conditions)
    Unit - Remove |c007EBFF1Ranger General of the Silver Covenant|r 0232 <gen> from the game
    Unit - Remove Circle of Power 0233 <gen> from the game
    Unit - Replace Guard Tower 0085 <gen> with a Sentinel Tower [High Elves] using The old unit's relative life and mana
    Unit - Replace Guard Tower 0101 <gen> with a Sentinel Tower [High Elves] using The old unit's relative life and mana
    Unit - Replace Barracks 0029 <gen> with a Cantonment [High Elves] using The old unit's relative life and mana
    Unit - Replace Farm 0073 <gen> with a Abode [High Elves] using The old unit's relative life and mana
    Unit - Replace Farm 0021 <gen> with a Abode [High Elves] using The old unit's relative life and mana
    Unit - Replace Footman 0027 <gen> with a Silver Covenant Ranger [High Elves] using The old unit's relative life and mana
    Unit - Replace Footman 0077 <gen> with a Silver Covenant Ranger [High Elves] using The old unit's relative life and mana
    Unit - Replace Footman 0076 <gen> with a Silver Covenant Ranger [High Elves] using The old unit's relative life and mana
    Unit - Replace Rifleman 0116 <gen> with a Silver Covenant Enforcer [High Elves] using The old unit's relative life and mana
    Unit - Replace Keep 0017 <gen> with a Grand Hold [High Elves] using The old unit's relative life and mana
    Unit - Replace Lumber Mill 0045 <gen> with a Sawmill [High Elves] using The old unit's relative life and mana
    Unit - Replace Altar of Kings 0200 <gen> with a Altar of the Sun [High Elves] using The old unit's relative life and mana
    Unit - Replace Captain 0025 <gen> with a |c007EBFF1Ranger General of the Silver Covenant|r [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0094 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0095 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0109 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Unit - Replace Peasant 0096 <gen> with a Artisan [High Elves] using The old unit's relative life and mana
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Black mask across _______________264 <gen>
    Trigger - Run SetupQuest <gen> (ignoring conditions)
    Floating Text - Destroy (Last created floating text)
    Set VariableSet NewVote2 = True
Choose Grey Orcs
  Events
    Unit - A unit enters Thrall_Choise <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 9 (Gray)
  Actions
    Trigger - Turn off Choose_Blue_Orcs <gen>
    Hero - Create Doomhammer and give it to Captain 0025 <gen>
    Unit - Kill Wisp 0130 <gen>
    Trigger - Run Grey_Player_Units <gen> (checking conditions)
    Unit - Replace Guard Tower 0101 <gen> with a Watch Tower using The old unit's relative life and mana
    Unit - Remove |c00FF0303Warchief|r 0126 <gen> from the game
    Unit - Remove Circle of Power 0028 <gen> from the game
    Unit - Replace Guard Tower 0085 <gen> with a Watch Tower using The old unit's relative life and mana
    Unit - Replace Barracks 0029 <gen> with a Barracks using The old unit's relative life and mana
    Unit - Replace Farm 0073 <gen> with a Orc Burrow using The old unit's relative life and mana
    Unit - Replace Farm 0021 <gen> with a Orc Burrow using The old unit's relative life and mana
    Unit - Replace Footman 0027 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Footman 0076 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Footman 0077 <gen> with a Grunt using The old unit's relative life and mana
    Unit - Replace Rifleman 0116 <gen> with a Troll Headhunter using The old unit's relative life and mana
    Unit - Replace Keep 0017 <gen> with a Stronghold using The old unit's relative life and mana
    Unit - Replace Altar of Kings 0200 <gen> with a Altar of Storms using The old unit's relative life and mana
    Unit - Replace Captain 0025 <gen> with a |c00FF0303Warchief|r using The old unit's relative life and mana
    Unit - Replace Peasant 0094 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Peasant 0095 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Peasant 0109 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Peasant 0096 <gen> with a Peon using The old unit's relative life and mana
    Unit - Replace Lumber Mill 0045 <gen> with a War Mill using The old unit's relative life and mana
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Black mask across _______________264 <gen>
    Trigger - Run SetupQuest <gen> (ignoring conditions)
    Floating Text - Destroy (Last created floating text)
    Set VariableSet NewVote2 = True
Choise CrossbowMan
  Events
    Unit - A unit Begins research
  Conditions
    (Researched tech-type) Equal to R00I (techcode)
  Actions
    Player - Make Rifleman Unavailable for training/construction by (Triggering player)
Defeat on
  Events
    Time - Elapsed game time is 45.00 seconds
  Conditions
  Actions
    Trigger - Turn on Defeat <gen>
    Trigger - Turn on DefeatCustom <gen>
Setup Insane Копировать
  Events
    Map initialization
  Conditions
  Actions
    Player - Set the current research level of Rume (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Rume (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of Rume (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Rura (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Rura (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Rura (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of Rugf (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Rugf (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Rugf (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of Rupc (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Rupc (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Rupc (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of Rucr (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Rucr (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Rucr (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of Ruar (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Ruar (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Ruar (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of Rune (techcode) to 1 for Player 4 (Purple)
    Player - Set the current research level of Rune (techcode) to 1 for Player 7 (Green)
    Player - Set the current research level of Rune (techcode) to 1 for Player 6 (Orange)
    Player - Set the current research level of R000 (techcode) to 1 for Player 5 (Yellow)
Blue Player Units
  Events
  Conditions
  Actions
    Unit - Change ownership of Footman 0091 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Farm 0047 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Farm 0086 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Blacksmith 0015 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Barracks 0044 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Footman 0168 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Footman 0023 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Rifleman 0078 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Footman 0024 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Paladin 0031 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Guard Tower 0167 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Keep 0042 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Altar of Kings 0019 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Peasant 0032 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Peasant 0033 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Peasant 0035 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Peasant 0079 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Guard Tower 0020 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Guard Tower 0066 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Priest 0062 <gen> to Player 2 (Blue) and Change color
Grey Player Units
  Events
  Conditions
  Actions
    Unit - Change ownership of Footman 0027 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Footman 0076 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Footman 0077 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Rifleman 0116 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Keep 0017 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Altar of Kings 0200 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Peasant 0095 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Peasant 0096 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Peasant 0109 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Peasant 0094 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Lumber Mill 0045 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Barracks 0029 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Farm 0073 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Farm 0021 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Guard Tower 0101 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Guard Tower 0085 <gen> to Player 9 (Gray) and Change color
    Unit - Change ownership of Captain 0025 <gen> to Player 9 (Gray) and Change color
MAP INTIALIZATION

Map Initilization
  Events
    Map initialization
  Conditions
  Actions
    Player - Make Crossbowman (Bow) Unavailable for training/construction by Player 2 (Blue)
    Player - Make Crossbowman (Bow) Unavailable for training/construction by Player 9 (Gray)
    Game - Set campaign to Human Campaign
    Set VariableSet TownHall[1] = Keep 0042 <gen>
    Set VariableSet TownHall[2] = Keep 0017 <gen>
    Trigger - Run Difficulty_Hard <gen> (checking conditions)
    Trigger - Run SetupBreadcrumbs <gen> (ignoring conditions)
    Trigger - Run SetupFormations <gen> (ignoring conditions)
    Trigger - Run SetupCaravan <gen> (ignoring conditions)
    Trigger - Run SetupPlayers <gen> (ignoring conditions)
    Trigger - Run Setup_Sounds <gen> (ignoring conditions)
    Trigger - Run Remove_AI_Units <gen> (ignoring conditions)
    Trigger - Run SetupHerathglenVillagers <gen> (ignoring conditions)
    Trigger - Run Heartglen_AI <gen> (ignoring conditions)
    Destructible - Open Gate 0442 <gen>
    Destructible - Open Gate 0915 <gen>
    Destructible - Open Gate 0916 <gen>
    Sound - Play 98__Glenn_Stafford___The_Western_Plaguelands__1_u <gen>
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within Fire1 <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within Fire2New <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within Fire3 <gen>.
    Animation - Play Northridge Lumber Camp 0222 <gen>'s stand work (animationname) animation
    -------- ---------- --------
    Unit - Order Peasant 0226 <gen> to Harvest.Village Tree Wall 2107 <gen>
    Unit - Order Peasant 0225 <gen> to Harvest.Village Tree Wall 3207 <gen>
    Unit - Order Peasant 0227 <gen> to Harvest.Village Tree Wall 2107 <gen>
Heartglen AI
  Events
  Conditions
  Actions
    AI - Start melee AI script for Player 3 (Teal): war3mapImported\HearthGlen Ai.ai (aiscript)
    AI - Ignore Hearthglen Recruit 0223 <gen>'s guard position
    AI - Ignore Hearthglen Recruit 0224 <gen>'s guard position
This is basically an array of breadcrumbs for the caravan to follow.
Each breadcrumb, when targeted by the caravan, denotes the center of the formation.
SetupBreadcrumbs
  Events
  Conditions
  Actions
    -------- Configure Breadcrumb Ranges --------
    Set VariableSet BreadcrumbTotal = 74
    Set VariableSet BreadcrumbIntro = 10
    Set VariableSet BreadcrumbStopTown1 = 12
    Set VariableSet BreadcrumbStopTown2 = 35
    Set VariableSet BreadcrumbStopTown3 = 51
    Set VariableSet BreadcrumbStopTown4 = 67
    Set VariableSet BreadcrumbStopExit = 73
    Set VariableSet BreadcrumbCurrent = 1
    Set VariableSet BreadcrumbAllowed = 1
    Set VariableSet BreadcrumbReached = 0
    -------- Configure Breadcrumb Array --------
    Set VariableSet zBreadcrumbArray[1] = (Center of Breadcrumb_01 <gen>)
    Set VariableSet zBreadcrumbArray[2] = (Center of Breadcrumb_02 <gen>)
    Set VariableSet zBreadcrumbArray[3] = (Center of Breadcrumb_03 <gen>)
    Set VariableSet zBreadcrumbArray[4] = (Center of Breadcrumb_04 <gen>)
    Set VariableSet zBreadcrumbArray[5] = (Center of Breadcrumb_05 <gen>)
    Set VariableSet zBreadcrumbArray[6] = (Center of Breadcrumb_06 <gen>)
    Set VariableSet zBreadcrumbArray[7] = (Center of Breadcrumb_07 <gen>)
    Set VariableSet zBreadcrumbArray[8] = (Center of Breadcrumb_08 <gen>)
    Set VariableSet zBreadcrumbArray[9] = (Center of Breadcrumb_09 <gen>)
    Set VariableSet zBreadcrumbArray[10] = (Center of Breadcrumb_10 <gen>)
    Set VariableSet zBreadcrumbArray[11] = (Center of Breadcrumb_11 <gen>)
    Set VariableSet zBreadcrumbArray[12] = (Center of Breadcrumb_12 <gen>)
    Set VariableSet zBreadcrumbArray[13] = (Center of Breadcrumb_13 <gen>)
    Set VariableSet zBreadcrumbArray[14] = (Center of Breadcrumb_14 <gen>)
    Set VariableSet zBreadcrumbArray[15] = (Center of Breadcrumb_15 <gen>)
    Set VariableSet zBreadcrumbArray[16] = (Center of Breadcrumb_16 <gen>)
    Set VariableSet zBreadcrumbArray[17] = (Center of Breadcrumb_17 <gen>)
    Set VariableSet zBreadcrumbArray[18] = (Center of Breadcrumb_18 <gen>)
    Set VariableSet zBreadcrumbArray[19] = (Center of Breadcrumb_19 <gen>)
    Set VariableSet zBreadcrumbArray[20] = (Center of Breadcrumb_20 <gen>)
    Set VariableSet zBreadcrumbArray[21] = (Center of Breadcrumb_21 <gen>)
    Set VariableSet zBreadcrumbArray[22] = (Center of Breadcrumb_22 <gen>)
    Set VariableSet zBreadcrumbArray[23] = (Center of Breadcrumb_23 <gen>)
    Set VariableSet zBreadcrumbArray[24] = (Center of Breadcrumb_24 <gen>)
    Set VariableSet zBreadcrumbArray[25] = (Center of Breadcrumb_25 <gen>)
    Set VariableSet zBreadcrumbArray[26] = (Center of Breadcrumb_26 <gen>)
    Set VariableSet zBreadcrumbArray[27] = (Center of Breadcrumb_27 <gen>)
    Set VariableSet zBreadcrumbArray[28] = (Center of Breadcrumb_28 <gen>)
    Set VariableSet zBreadcrumbArray[29] = (Center of Breadcrumb_29 <gen>)
    Set VariableSet zBreadcrumbArray[30] = (Center of Breadcrumb_30 <gen>)
    Set VariableSet zBreadcrumbArray[31] = (Center of Breadcrumb_31 <gen>)
    Set VariableSet zBreadcrumbArray[32] = (Center of Breadcrumb_32 <gen>)
    Set VariableSet zBreadcrumbArray[33] = (Center of Breadcrumb_33 <gen>)
    Set VariableSet zBreadcrumbArray[34] = (Center of Breadcrumb_34 <gen>)
    Set VariableSet zBreadcrumbArray[35] = (Center of Breadcrumb_35 <gen>)
    Set VariableSet zBreadcrumbArray[36] = (Center of Breadcrumb_36 <gen>)
    Set VariableSet zBreadcrumbArray[37] = (Center of Breadcrumb_37 <gen>)
    Set VariableSet zBreadcrumbArray[38] = (Center of Breadcrumb_38 <gen>)
    Set VariableSet zBreadcrumbArray[39] = (Center of Breadcrumb_39 <gen>)
    Set VariableSet zBreadcrumbArray[40] = (Center of Breadcrumb_40 <gen>)
    Set VariableSet zBreadcrumbArray[41] = (Center of Breadcrumb_41 <gen>)
    Set VariableSet zBreadcrumbArray[42] = (Center of Breadcrumb_42 <gen>)
    Set VariableSet zBreadcrumbArray[43] = (Center of Breadcrumb_43 <gen>)
    Set VariableSet zBreadcrumbArray[44] = (Center of Breadcrumb_44 <gen>)
    Set VariableSet zBreadcrumbArray[45] = (Center of Breadcrumb_45 <gen>)
    Set VariableSet zBreadcrumbArray[46] = (Center of Breadcrumb_46 <gen>)
    Set VariableSet zBreadcrumbArray[47] = (Center of Breadcrumb_47 <gen>)
    Set VariableSet zBreadcrumbArray[48] = (Center of Breadcrumb_48 <gen>)
    Set VariableSet zBreadcrumbArray[49] = (Center of Breadcrumb_49 <gen>)
    Set VariableSet zBreadcrumbArray[50] = (Center of Breadcrumb_50 <gen>)
    Set VariableSet zBreadcrumbArray[51] = (Center of Breadcrumb_51 <gen>)
    Set VariableSet zBreadcrumbArray[52] = (Center of Breadcrumb_52 <gen>)
    Set VariableSet zBreadcrumbArray[53] = (Center of Breadcrumb_53 <gen>)
    Set VariableSet zBreadcrumbArray[54] = (Center of Breadcrumb_54 <gen>)
    Set VariableSet zBreadcrumbArray[55] = (Center of Breadcrumb_55 <gen>)
    Set VariableSet zBreadcrumbArray[56] = (Center of Breadcrumb_56 <gen>)
    Set VariableSet zBreadcrumbArray[57] = (Center of Breadcrumb_57 <gen>)
    Set VariableSet zBreadcrumbArray[58] = (Center of Breadcrumb_58 <gen>)
    Set VariableSet zBreadcrumbArray[59] = (Center of Breadcrumb_59 <gen>)
    Set VariableSet zBreadcrumbArray[60] = (Center of Breadcrumb_60 <gen>)
    Set VariableSet zBreadcrumbArray[61] = (Center of Breadcrumb_61 <gen>)
    Set VariableSet zBreadcrumbArray[62] = (Center of Breadcrumb_62 <gen>)
    Set VariableSet zBreadcrumbArray[63] = (Center of Breadcrumb_63 <gen>)
    Set VariableSet zBreadcrumbArray[64] = (Center of Breadcrumb_64 <gen>)
    Set VariableSet zBreadcrumbArray[65] = (Center of Breadcrumb_65 <gen>)
    Set VariableSet zBreadcrumbArray[66] = (Center of Breadcrumb_66 <gen>)
    Set VariableSet zBreadcrumbArray[67] = (Center of Breadcrumb_67 <gen>)
    Set VariableSet zBreadcrumbArray[68] = (Center of Breadcrumb_68 <gen>)
    Set VariableSet zBreadcrumbArray[69] = (Center of Breadcrumb_69 <gen>)
    Set VariableSet zBreadcrumbArray[70] = (Center of Breadcrumb_70 <gen>)
    Set VariableSet zBreadcrumbArray[71] = (Center of Breadcrumb_71 <gen>)
    Set VariableSet zBreadcrumbArray[72] = (Center of Breadcrumb_72 <gen>)
    Set VariableSet zBreadcrumbArray[73] = (Center of Breadcrumb_73 <gen>)
    Set VariableSet zBreadcrumbArray[74] = (Center of Breadcrumb_74 <gen>)
    -------- Configure Breadcrumb Angle Array --------
    For each (Integer A) from 1 to BreadcrumbTotal, do (Run SetupBreadcrumbs_Single <gen> (checking conditions))
SetupBreadcrumbs Single
  Events
  Conditions
  Actions
    -------- Make sure we're not trying to query indices that don't exist --------
    Set VariableSet TempLastIndex = (Max(((Integer A) - 1), 1))
    Set VariableSet TempNextIndex = (Min(((Integer A) + 1), BreadcrumbTotal))
    Set VariableSet TempLastAngle = (Angle from zBreadcrumbArray[TempLastIndex] to zBreadcrumbArray[(Integer A)])
    Set VariableSet TempNextAngle = (Angle from zBreadcrumbArray[(Integer A)] to zBreadcrumbArray[TempNextIndex])
    -------- If the angle is over 180 degrees, add a full rotation to the min angle so that we're always taking an average on the right side of the circle --------
    Set VariableSet TempMinAngle = (Min(TempLastAngle, TempNextAngle))
    Set VariableSet TempMaxAngle = (Max(TempLastAngle, TempNextAngle))
    If ((TempMaxAngle - TempMinAngle) Greater than 180.00) then do (Set VariableSet TempMinAngle = (TempMinAngle + 360.00)) else do (Do nothing)
    Set VariableSet TempAngle = ((TempMinAngle + TempMaxAngle) / 2.00)
    -------- Special-case the first and last breadcrumbs, as they don't have two neighbors to average --------
    If ((Integer A) Equal to 1) then do (Set VariableSet TempAngle = TempNextAngle) else do (Do nothing)
    If ((Integer A) Equal to BreadcrumbTotal) then do (Set VariableSet TempAngle = TempLastAngle) else do (Do nothing)
    Set VariableSet BreadcrumbAngleArray[(Integer A)] = TempAngle
The locations of the preplaced "Formation" regions are read and stored as formation data (in polar coordinates).
For simplicity, the initial formation is assumed to be facing 0 degrees (east).
SetupFormations
  Events
  Conditions
  Actions
    -------- Configure Region Array --------
    Set VariableSet FormationRegionArray[1] = Formation_01 <gen>
    Set VariableSet FormationRegionArray[2] = Formation_02 <gen>
    Set VariableSet FormationRegionArray[3] = Formation_03 <gen>
    Set VariableSet FormationRegionArray[4] = Formation_04 <gen>
    Set VariableSet FormationRegionArray[5] = Formation_05 <gen>
    Set VariableSet FormationRegionArray[6] = Formation_06 <gen>
    Set VariableSet FormationRegionArray[7] = Formation_07 <gen>
    Set VariableSet FormationRegionArray[8] = Formation_08 <gen>
    Set VariableSet FormationRegionArray[9] = Formation_09 <gen>
    Set VariableSet FormationRegionArray[10] = Formation_10 <gen>
    Set VariableSet FormationRegionArray[11] = Formation_11 <gen>
    Set VariableSet FormationRegionArray[12] = Formation_12 <gen>
    Set VariableSet FormationRegionArray[13] = Formation_13 <gen>
    -------- Configure Unit Ranges --------
    Set VariableSet FormationTotal = 13
    Set VariableSet CaravanWagonFirst = 1
    Set VariableSet CaravanWagonLast = 5
    Set VariableSet CaravanGuardFirst = 6
    Set VariableSet CaravanGuardLast = 13
    -------- Read formation data from initial region placement --------
    For each (Integer A) from 1 to FormationTotal, do (Set VariableSet FormationDistanceArray[(Integer A)] = (Distance between (Center of FormationCenter <gen>) and (Center of FormationRegionArray[(Integer A)])))
    For each (Integer A) from 1 to FormationTotal, do (Set VariableSet FormationAngleArray[(Integer A)] = (Angle from (Center of FormationCenter <gen>) to (Center of FormationRegionArray[(Integer A)])))
SetupCaravan
  Events
  Conditions
  Actions
    -------- Configure the caravan player --------
    Player - Change color of Player 5 (Yellow) to Orange, Changing color of existing units
    Player - Set the current research level of Rupc (techcode) to 1 for Player 5 (Yellow)
    -------- Configure the Caravan Units Array --------
    For each (Integer A) from 1 to FormationTotal, do (Set VariableSet CaravanUnitArray[(Integer A)] = (Random unit from (Units in FormationRegionArray[(Integer A)] owned by Player 5 (Yellow))))
    -------- Reorient the formation --------
    Set VariableSet zReorientTarget = zBreadcrumbArray[BreadcrumbCurrent]
    Set VariableSet ReorientAngle = BreadcrumbAngleArray[BreadcrumbCurrent]
    Trigger - Run Reorient_Formation <gen> (checking conditions)
    -------- Configure each caravan unit --------
    For each (Integer A) from CaravanWagonFirst to CaravanWagonLast, do (Run SetupCaravan_Single_Wagon <gen> (checking conditions))
    For each (Integer A) from CaravanGuardFirst to CaravanGuardLast, do (Run SetupCaravan_Single_Guard <gen> (checking conditions))
    -------- Start the region testing timer --------
    Countdown Timer - Start CaravanTestPulse as a Repeating timer that will expire in 0.20 seconds
    Countdown Timer - Start CaravanOrderPulse as a Repeating timer that will expire in 3.00 seconds
    Countdown Timer - Start CaravanCorruptionPulse as a Repeating timer that will expire in 1.00 seconds
SetupCaravan Single Wagon
  Events
  Conditions
  Actions
    Unit - Hide CaravanUnitArray[(Integer A)]
    Unit - Set CaravanUnitArray[(Integer A)] movement speed to SpeedOfWagons
    Unit - Move CaravanUnitArray[(Integer A)] instantly to (Center of FormationRegionArray[(Integer A)]), facing ReorientAngle degrees
    Unit Group - Add CaravanUnitArray[(Integer A)] to TheCaravanWagons
SetupCaravan Single Guard
  Events
  Conditions
  Actions
    Unit - Hide CaravanUnitArray[(Integer A)]
    Unit - Set CaravanUnitArray[(Integer A)] movement speed to SpeedOfGuards
    Unit - Move CaravanUnitArray[(Integer A)] instantly to (Center of FormationRegionArray[(Integer A)]), facing ReorientAngle degrees
    Unit Group - Add CaravanUnitArray[(Integer A)] to TheCaravanGuards
SetupHerathglenVillagers
  Events
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in 02_Roaming_Villager_A <gen>) and do (Add (Picked unit) to RoamingVillagersA)
    Unit Group - Pick every unit in (Units in 02_Roaming_Villager_B <gen>) and do (Add (Picked unit) to RoamingVillagersB)
    Unit Group - Pick every unit in (Units in 02_Roaming_Villager_C <gen>) and do (Add (Picked unit) to RoamingVillagersC)
    Unit Group - Pick every unit in (Units in 02_Roaming_Villager_D <gen>) and do (Add (Picked unit) to RoamingVillagersD)
    Unit Group - Pick every unit in (Units in 02_Roaming_Villager_E <gen>) and do (Add (Picked unit) to RoamingVillagersE)
    Unit Group - Pick every unit in (Units in 02_Roaming_Villager_F <gen>) and do (Add (Picked unit) to RoamingVillagersF)
The AI alliance settings
SetupPlayers
  Events
    Map initialization
  Conditions
  Actions
    Player - Change color of Player 3 (Teal) to Navy, Changing color of existing units
    -------- Setup Starting Forces --------
    Set VariableSet Sergeant = Footman 0024 <gen>
    Unit Group - Add Footman 0023 <gen> to Militia
    Unit Group - Add Footman 0027 <gen> to Militia
    Unit Group - Add Footman 0076 <gen> to Militia
    Unit Group - Add Footman 0091 <gen> to Militia
    Unit Group - Add Footman 0077 <gen> to Militia
    Unit Group - Add Footman 0168 <gen> to Militia
    Unit Group - Add Rifleman 0078 <gen> to Militia
    Unit Group - Add Rifleman 0116 <gen> to Militia
    -------- ----------- --------
    Player - For Player 7 (Green), turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Player 7 (Green), turn Alliance (non-aggression) On toward Neutral Hostile
    Player - For Player 11 (Dark Green), turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Player 11 (Dark Green), turn Alliance (non-aggression) On toward Neutral Hostile
    -------- - --------
    Player - Set Player 7 (Green).Current lumber to 5000
    Player - Set Player 7 (Green).Current gold to 5000
    -------- ---------- --------
    Player - For Player 6 (Orange), turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Player 6 (Orange), turn Alliance (non-aggression) On toward Neutral Hostile
    -------- ---------- --------
    Player - For Player 5 (Yellow), turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Player 5 (Yellow), turn Alliance (non-aggression) On toward Neutral Hostile
    -------- ---------- --------
    Player - For Player 4 (Purple), turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Player 4 (Purple), turn Alliance (non-aggression) On toward Neutral Hostile
    Player - For Player 8 (Pink), turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Player 8 (Pink), turn Alliance (non-aggression) On toward Neutral Hostile
    -------- - --------
    Player - Set Player 4 (Purple).Current lumber to 5000
    Player - Set Player 4 (Purple).Current gold to 5000
    -------- ---------- --------
    Player - For Player 2 (Blue), turn Shared vision On toward Player 9 (Gray)
    Player - For Player 9 (Gray), turn Shared vision On toward Player 2 (Blue)
    Player - For Player 9 (Gray), turn Shared vision On toward Player 3 (Teal)
    Player - For Player 2 (Blue), turn Shared vision On toward Player 3 (Teal)
    Player - For Player 3 (Teal), turn Shared vision On toward Player 2 (Blue)
    Player - For Player 3 (Teal), turn Shared vision On toward Player 9 (Gray)
    -------- ---------- --------
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Enemy
    Player - Make Player 9 (Gray) treat Player 6 (Orange) as an Enemy
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Enemy
    Player - Make Player 6 (Orange) treat Player 9 (Gray) as an Enemy
    -------- ---------- --------
    Player - Make Player 2 (Blue) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 9 (Gray) treat Player 5 (Yellow) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 2 (Blue) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 9 (Gray) as an Enemy
    -------- ---------- --------
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 12 (Brown)
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 7 (Green)
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 11 (Dark Green)
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 6 (Orange)
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 5 (Yellow)
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 4 (Purple)
    Player - For Neutral Hostile, turn Alliance (non-aggression) On toward Player 8 (Pink)
    -------- Remove from Score Screen --------
    Player - Hide Player 1 (Red) in the post-game score screen
    Player - Hide Player 3 (Teal) in the post-game score screen
    Player - Hide Player 5 (Yellow) in the post-game score screen
    Player - Hide Player 6 (Orange) in the post-game score screen
    Player - Hide Player 10 (Light Blue) in the post-game score screen
    Player - Hide Player 12 (Brown) in the post-game score screen
    Player - Hide Player 11 (Dark Green) in the post-game score screen
    Player - Hide Player 8 (Pink) in the post-game score screen
Setup Sounds
  Events
  Conditions
  Actions
    -------- ---------- --------
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop01 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop02 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop03 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop04 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop05 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop06 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop07 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop08 <gen>
SetupQuest
  Events
  Conditions
  Actions
    Quest - Create a Required quest titled Defend Hearthglen with the description An Undead army has arisen overnight and marched against Hearthglen. You must defend the town until Jaina returns with Lord Uther and his reinforcements. , using icon path ReplaceableTextures\CommandButtons\BTNDefend.tga
    Set VariableSet HearthglenQuest = (Last created quest)
    Quest - Create a quest requirement for (Last created quest) with the description Survive for 30 minutes
    -------- ---------- --------
    Quest - Create a Optional, undiscovered quest titled Grain Caravan with the description The Undead have constructed a caravan to distribute plagued grain to the neighboring villages. If the caravan reaches them, it will transform them into Undead outposts. Intercept and destroy the caravan before your forces are hopelessly outnumbered. , using icon path ReplaceableTextures\CommandButtons\BTNDarkSummoning.tga
    Set VariableSet GrainCaravanQuest = (Last created quest)
    Quest - Create a quest requirement for (Last created quest) with the description Destroy the grain caravan before it gets to last village
    Set VariableSet REQCaravanquest = (Last created quest requirement)
    -------- ---------- --------
    Special Effect - Create a special effect attached to the overhead (attachpoint) of Villager 0080 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
    Set VariableSet Farm05Quest = (Last created special effect)
SetupQuest Grey
  Events
  Conditions
  Actions
    Quest - Create a Required quest titled Defend Hearthglen with the description An Undead army has arisen overnight and marched against Hearthglen. You must defend the town until Jaina returns with Lord Uther and his reinforcements. , using icon path ReplaceableTextures\CommandButtons\BTNDefend.tga
    Set VariableSet HearthglenQuest = (Last created quest)
    Quest - Create a quest requirement for (Last created quest) with the description Survive for 30 minutes
    -------- ---------- --------
    Quest - Create a Optional, undiscovered quest titled Grain Caravan with the description The Undead have constructed a caravan to distribute plagued grain to the neighboring villages. If the caravan reaches them, it will transform them into Undead outposts. Intercept and destroy the caravan before your forces are hopelessly outnumbered. , using icon path ReplaceableTextures\CommandButtons\BTNDarkSummoning.tga
    Set VariableSet GrainCaravanQuest = (Last created quest)
    Quest - Create a quest requirement for (Last created quest) with the description Destroy the grain caravan before it gets to last village
    Set VariableSet REQCaravanquest = (Last created quest requirement)
    -------- ---------- --------
    Special Effect - Create a special effect attached to the overhead (attachpoint) of Villager 0080 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
    Set VariableSet Farm05Quest = (Last created special effect)
Difficulty Hard
  Events
    Map initialization
  Conditions
  Actions
    Unit - Create 1.Necromancer for Player 5 (Yellow) at (Center of Formation_06 <gen>) facing 0.00 degrees
    Unit - Create 1.Necromancer for Player 5 (Yellow) at (Center of Formation_07 <gen>) facing 0.00 degrees
    Unit - Create 1.Abomination for Player 5 (Yellow) at (Center of Formation_08 <gen>) facing 0.00 degrees
    Unit - Create 1.Abomination for Player 5 (Yellow) at (Center of Formation_09 <gen>) facing 0.00 degrees
    Unit - Create 1.Abomination for Player 5 (Yellow) at (Center of Formation_10 <gen>) facing 0.00 degrees
    Unit - Create 1.Abomination for Player 5 (Yellow) at (Center of Formation_11 <gen>) facing 0.00 degrees
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of Formation_12 <gen>) facing 0.00 degrees
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of Formation_13 <gen>) facing 0.00 degrees
    -------- Units - Difficult Level --------
    Unit - Create 1.Necromancer for Player 4 (Purple) at (Center of AI_Difficulty_Unit_01 <gen>) facing 270.00 degrees
    AI - Ignore (Last created unit)'s guard position
    Unit - Create 1.Ghoul for Player 4 (Purple) at (Center of AI_Difficulty_Unit_02 <gen>) facing 270.00 degrees
    AI - Ignore (Last created unit)'s guard position
    Unit - Create 1.Ghoul for Player 4 (Purple) at (Center of AI_Difficulty_Unit_03 <gen>) facing 270.00 degrees
    AI - Ignore (Last created unit)'s guard position
    Unit - Create 1.Ghoul for Player 4 (Purple) at (Center of AI_Difficulty_Unit_04 <gen>) facing 270.00 degrees
    AI - Ignore (Last created unit)'s guard position
    -------- Buildings - Difficult Level --------
    Unit - Create 1.Spirit Tower for Player 4 (Purple) at (Center of AI_Difficulty_Building_01 <gen>) facing 270.00 degrees
    Unit - Create 1.Spirit Tower for Player 4 (Purple) at (Center of AI_Difficulty_Building_02 <gen>) facing 270.00 degrees
Remove AI Units
  Events
  Conditions
  Actions
    Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Remove (Picked unit) from the game)
Words
  Events
    Map initialization
  Conditions
  Actions
    Player - Make Player 2 (Blue) treat Player 9 (Gray) as an Ally with shared vision
    Player - Make Player 9 (Gray) treat Player 2 (Blue) as an Ally with shared vision
    Game - Display to (All players) for 15.00 seconds the text: Welcome to the Co-op Campaign How to play: use your wisp to choose commander. From the selected commander depends on what race you play. For example: Choosing thrall you will play for the Standard Horde
    Floating Text - Create floating text that reads Choose Commander at (Center of _______________318 <gen>) with Z offset 0, using font size 10, color (100%, 100%, 100%), and 0% transparency
    Unit - Remove Shadow Meld from Priestess of the Moon 0118 <gen>
Tirion
  Events
    Unit - A unit enters Tirion <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player 2 (Blue)
        (Owner of (Triggering unit)) Equal to Player 9 (Gray)
    ((Triggering unit) is A ground unit) Equal to True
  Actions
    Unit - Rescue Paladin 0087 <gen> for Player 2 (Blue) and Retain color
    Camera - Pan camera for Player 2 (Blue) to (Center of Tirion <gen>) over 1.00 seconds
    Trigger - Turn off (This trigger)
    Wait 2 seconds
    Cinematic - Send transmission to (All players) from a Player 2 (Blue).Paladin named Tirion at (Center of Tirion <gen>): Play No sound and display While I stand, Hearthglen shall not fall!. Modify duration: Add 0 seconds and Wait
Tirion Copy
  Events
    Unit - A unit enters 02_Vis_Hearthglen_A <gen>
    Unit - A unit enters Kill_Em_All <gen>
    Unit - A unit enters 02_Vis_Hearthglen_C <gen>
  Conditions
    (Triggering unit) Equal to Paladin 0087 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Wait 1.00 seconds
    Cinematic - Send transmission to (All players) from a Player 2 (Blue).Paladin named Tirion at (Center of Tirion <gen>): Play No sound and display Put your faith in the Light!. Modify duration: Add 0 seconds and Wait
//TESH.scrollpos=0
//TESH.alwaysfold=0
function Trig_Cinematic_Pre_Actions takes nothing returns nothing
    local real x
    local real y
    local unit u
   
   
    call SetUnitOwner( gg_unit_hhou_0086, Player(8), true )
    // Hearthglen Reveal
    call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_A )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_B )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_C )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_D )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(1), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_E )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_A )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_B )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_C )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_D )
    call FogModifierStop( GetLastCreatedFogModifier() )
    call CreateFogModifierRectBJ( true, Player(8), FOG_OF_WAR_VISIBLE, gg_rct_02_Vis_Hearthglen_E )
    call FogModifierStop( GetLastCreatedFogModifier() )
   
    set u = null
endfunction

//===========================================================================
function InitTrig_Cinematic_Pre takes nothing returns nothing
    set gg_trg_Cinematic_Pre = CreateTrigger(  )
    call TriggerAddAction( gg_trg_Cinematic_Pre, function Trig_Cinematic_Pre_Actions )
endfunction

 
This Trigger fires if the intro cinematic has been skipped!
Intro Cancelled
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off Skip_Cinematic <gen>
    Set VariableSet IntroCancelled = True
    Set VariableSet SkipVote1 = False
    Set VariableSet SkipVote2 = False
    Wait 0.60 seconds
    Unit - Hide Jaina
    Unit - Change ownership of Jaina to Neutral Passive and Retain color
    Unit - Remove Jaina from the game
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Reset camera for Player 2 (Blue) to standard game-view over 0.00 seconds
    Camera - Reset camera for Player 9 (Gray) to standard game-view over 0.00 seconds
    Set VariableSet Cinematic = False
    Camera - .Apply. gg_cam_Starting_Cienmatic_Cancel for Player 2 (Blue) over 0 seconds
    Camera - .Apply. gg_cam_Starting_Cienmatic_Cancel for Player 9 (Gray) over 0 seconds
    Environment - Set sky to None
    Environment - Reset fog to default values
    -------- ------Move Corrupted Villagers----- --------
    Unit - Move Villager 0088 <gen> instantly to (Center of Conversion_01 <gen>)
    Unit - Move Villager 0089 <gen> instantly to (Center of Conversion_02 <gen>)
    Unit - Move Villager 0133 <gen> instantly to (Center of Conversion_06 <gen>)
    -------- ---------- --------
    Set VariableSet CorruptVillager01 = (Position of Villager 0088 <gen>)
    Unit - Remove Villager 0088 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager01 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    Unit - Order (Last created unit) to Attack.Footman 0077 <gen>
    -------- ---------- --------
    Set VariableSet CorruptVillager02 = (Position of Villager 0089 <gen>)
    Unit - Remove Villager 0089 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager02 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    Unit - Order (Last created unit) to Attack.Footman 0023 <gen>
    -------- ---------- --------
    Set VariableSet CorruptVillager03 = (Position of Villager 0102 <gen>)
    Unit - Remove Villager 0102 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager03 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    Unit - Order (Last created unit) to Attack.Footman 0091 <gen>
    -------- ---------- --------
    Set VariableSet CorruptVillager04 = (Position of Villager 0103 <gen>)
    Unit - Remove Villager 0103 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager04 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    Unit - Order (Last created unit) to Attack.Footman 0027 <gen>
    -------- ---------- --------
    Set VariableSet CorruptVillager05 = (Position of Villager 0132 <gen>)
    Unit - Remove Villager 0132 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager05 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    Unit - Order (Last created unit) to Attack.Rifleman 0116 <gen>
    -------- ---------- --------
    Set VariableSet CorruptVillager06 = (Position of Villager 0133 <gen>)
    Unit - Remove Villager 0133 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager06 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    Unit - Order (Last created unit) to Attack.Rifleman 0078 <gen>
    -------- ---------- --------
    Set VariableSet CorruptVillager07 = (Position of Villager 0134 <gen>)
    Unit - Remove Villager 0134 <gen> from the game
    Unit - Create 1.Zombie for Player 6 (Orange) at CorruptVillager07 facing 0.00 degrees
    Unit Group - Add (Last created unit) to CorruptVillagerGroup1
    -------- ---------- --------
    Wait 0.40 seconds
    Cinematic - Fade in over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Game - Turn the day/night cycle On
    -------- ---------- --------
    Animation - Reset Arthas's body-part facing
    Unit - Move Arthas instantly to (Center of 01Arthas_C <gen>)
    Unit - Move Sergeant instantly to (Center of 01Sergeant_C <gen>)
    Unit - Move Footman1 instantly to (Center of 01Town_Footman_1_C <gen>)
    Unit - Move Footman2 instantly to (Center of 01Town_Footman_2_C <gen>)
    Unit - Move Rifleman1 instantly to (Center of 01Town_Rifleman_C <gen>)
    Unit - Move Priest1 instantly to (Center of 01Town_Priest_C <gen>)
    -------- -----Start Mission----- --------
    Trigger - Run Mission_Begins <gen> (checking conditions)
    -------- -----Stop Militia------ --------
    Sound - Stop (Last played sound) Immediately
    Set VariableSet MilitiaStop = True
    -------- -----Remove Villagers----- --------
    Trigger - Run 01Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 01Villager_Retreat_B <gen> (ignoring conditions)
    Trigger - Run 02Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 03Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 04Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 05Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 06Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 06Villager_Retreat_B <gen> (ignoring conditions)
Militia Line A
  Events
  Conditions
    IntroCancelled Equal to False
  Actions
    Unit - Order Footman 0027 <gen> to Move To.(Center of 01Militia_Line_A_01a <gen>)
    Unit - Order Footman 0076 <gen> to Move To.(Center of 01Militia_Line_A_02a <gen>)
    Unit - Order Footman 0077 <gen> to Move To.(Center of 01Militia_Line_A_03a <gen>)
Militia Line B
  Events
  Conditions
    IntroCancelled Equal to False
  Actions
    Unit - Order Footman 0091 <gen> to Move To.(Center of 01Militia_Line_B_01a <gen>)
    Unit - Order Footman 0168 <gen> to Move To.(Center of 01Militia_Line_B_02a <gen>)
    Unit - Order Footman 0023 <gen> to Move To.(Center of 01Militia_Line_B_03a <gen>)
Militia Line C
  Events
  Conditions
    IntroCancelled Equal to False
  Actions
    Unit - Order Rifleman 0116 <gen> to Move To.(Center of 01Militia_Line_C_01a <gen>)
    Unit - Order Rifleman 0078 <gen> to Move To.(Center of 01Militia_Line_C_02a <gen>)
Militia A
  Events
    Unit - A unit enters 01Militia_Line_A_01a <gen>
  Conditions
    IntroCancelled Equal to False
    MilitiaStop Equal to False
    (Triggering unit) Equal to Footman 0027 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Footman 0027 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0076 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0077 <gen>'s Attack Defend (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Footman 0027 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0076 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0077 <gen>'s Attack Defend (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn on Militia_Repeat_A <gen>
    Unit - Order Footman 0027 <gen> to Move To.(Center of 01Militia_Line_A_01b <gen>)
    Unit - Order Footman 0076 <gen> to Move To.(Center of 01Militia_Line_A_02b <gen>)
    Unit - Order Footman 0077 <gen> to Move To.(Center of 01Militia_Line_A_03b <gen>)
Militia B
  Events
    Unit - A unit enters 01Militia_Line_B_01a <gen>
  Conditions
    IntroCancelled Equal to False
    MilitiaStop Equal to False
    (Triggering unit) Equal to Footman 0091 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Footman 0091 <gen>'s Attack - 1 (animationname) animation
    Animation - Play Footman 0168 <gen>'s Attack -1 (animationname) animation
    Animation - Play Footman 0023 <gen>'s Attack - 1 (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Footman 0091 <gen>'s Attack - 1 (animationname) animation
    Animation - Play Footman 0168 <gen>'s Attack -1 (animationname) animation
    Animation - Play Footman 0023 <gen>'s Attack - 1 (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn on Militia_Repeat_B <gen>
    Unit - Order Footman 0091 <gen> to Move To.(Center of 01Militia_Line_B_01b <gen>)
    Unit - Order Footman 0168 <gen> to Move To.(Center of 01Militia_Line_B_02b <gen>)
    Unit - Order Footman 0023 <gen> to Move To.(Center of 01Militia_Line_B_03b <gen>)
Militia C
  Events
    Unit - A unit enters 01Militia_Line_C_01a <gen>
  Conditions
    IntroCancelled Equal to False
    MilitiaStop Equal to False
    (Triggering unit) Equal to Rifleman 0116 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Rifleman 0116 <gen>'s Spell (animationname) animation
    Animation - Play Rifleman 0078 <gen>'s Spell (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Rifleman 0116 <gen>'s Spell (animationname) animation
    Animation - Play Rifleman 0078 <gen>'s Spell (animationname) animation
    Sound - Attach RiflemanAttack1 <gen> to Rifleman 0078 <gen>
    Sound - Set volume of RiflemanAttack1 <gen> to 50.00%
    Sound - Play RiflemanAttack1 <gen>
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn on Militia_Repeat_C <gen>
    Unit - Order Rifleman 0116 <gen> to Move To.(Center of 01Militia_Line_C_01b <gen>)
    Unit - Order Rifleman 0078 <gen> to Move To.(Center of 01Militia_Line_C_02b <gen>)
Militia Repeat A
  Events
    Unit - A unit enters 01Militia_Line_A_01b <gen>
  Conditions
    IntroCancelled Equal to False
    MilitiaStop Equal to False
    (Triggering unit) Equal to Footman 0027 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Footman 0027 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0076 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0077 <gen>'s Attack Defend (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Footman 0027 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0076 <gen>'s Attack Defend (animationname) animation
    Animation - Play Footman 0077 <gen>'s Attack Defend (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Footman 0027 <gen> to Move To.(Center of 01Militia_Line_A_01a <gen>)
    Unit - Order Footman 0076 <gen> to Move To.(Center of 01Militia_Line_A_02a <gen>)
    Unit - Order Footman 0077 <gen> to Move To.(Center of 01Militia_Line_A_03a <gen>)
    Trigger - Turn on Militia_A <gen>
Militia Repeat B
  Events
    Unit - A unit enters 01Militia_Line_B_01b <gen>
  Conditions
    IntroCancelled Equal to False
    MilitiaStop Equal to False
    (Triggering unit) Equal to Footman 0091 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Footman 0091 <gen>'s Attack - 1 (animationname) animation
    Animation - Play Footman 0168 <gen>'s Attack - 1 (animationname) animation
    Animation - Play Footman 0023 <gen>'s Attack - 1 (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Footman 0091 <gen>'s Attack - 1 (animationname) animation
    Sound - Attach FootmanYesAttack2 <gen> to Footman 0091 <gen>
    Sound - Set volume of FootmanYesAttack2 <gen> to 30.00%
    Sound - Play FootmanYesAttack2 <gen>
    Animation - Play Footman 0168 <gen>'s Attack - 1 (animationname) animation
    Animation - Play Footman 0023 <gen>'s Attack - 1 (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Footman 0091 <gen> to Move To.(Center of 01Militia_Line_B_01a <gen>)
    Unit - Order Footman 0168 <gen> to Move To.(Center of 01Militia_Line_B_02a <gen>)
    Unit - Order Footman 0023 <gen> to Move To.(Center of 01Militia_Line_B_03a <gen>)
    Trigger - Turn on Militia_B <gen>
Militia Repeat C
  Events
    Unit - A unit enters 01Militia_Line_C_01b <gen>
  Conditions
    IntroCancelled Equal to False
    MilitiaStop Equal to False
    (Triggering unit) Equal to Rifleman 0116 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Rifleman 0116 <gen>'s Spell (animationname) animation
    Animation - Play Rifleman 0078 <gen>'s Spell (animationname) animation
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Rifleman 0116 <gen>'s Spell (animationname) animation
    Animation - Play Rifleman 0078 <gen>'s Spell (animationname) animation
    Sound - Attach RiflemanAttack2 <gen> to Rifleman 0078 <gen>
    Sound - Set volume of RiflemanAttack2 <gen> to 50.00%
    Sound - Play RiflemanAttack2 <gen>
    -------- -------------------------------------------------------------------------------------------------------------------------- --------
    Wait 1.00 seconds
    If (IntroCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If (MilitiaStop Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Rifleman 0116 <gen> to Move To.(Center of 01Militia_Line_C_01a <gen>)
    Unit - Order Rifleman 0078 <gen> to Move To.(Center of 01Militia_Line_C_02a <gen>)
    Trigger - Turn on Militia_C <gen>
ZOMBIES DEAD fires this trigger
Quest Information / Start timer
Mission Begins
  Events
  Conditions
  Actions
    Trigger - Run Jaina_Items_Drop <gen> (checking conditions)
    Player - Set Player 2 (Blue).Current gold to 250
    Player - Set Player 9 (Gray).Current gold to 250
    Player - Set Player 2 (Blue).Current lumber to 100
    Player - Set Player 9 (Gray).Current lumber to 100
    -------- ---------- --------
    -------- -----Main Quest Timer----- --------
    Countdown Timer - Start Timer30Minute as a One-shot timer that will expire in 1800.00 seconds
    Countdown Timer - Create a timer window for Timer30Minute with title Uther's Return:
    -------- -----Countdown Timer Warning----- --------
    Countdown Timer - Start TimerWarning as a One-shot timer that will expire in 1200.00 seconds
    -------- -------------------Countdown Timer Hopeless-------------------- --------
    Countdown Timer - Start HopelessTimer as a One-shot timer that will expire in 1770.00 seconds
    Trigger - Turn on ArthasHopeless_QUE <gen>
    -------- -------------------Countdown Caravan Quest-------------------- --------
    Countdown Timer - Start CaravanTown1Timer as a One-shot timer that will expire in 450.00 seconds
    -------- -------------------Countdown Timer Suicide----------------------- --------
    Countdown Timer - Start SuicideTimer as a One-shot timer that will expire in 1550.00 seconds
    -------- -----Countdown Orange AI Attack Wave----- --------
    Countdown Timer - Start OrangeAIAttackWave as a One-shot timer that will expire in 1080.00 seconds
    -------- ---------- --------
    Trigger - Turn on Timer_Warning_10_QUE <gen>
    Trigger - Turn on Villagers_Greeting_QUE <gen>
    Trigger - Turn on Arthas_Exp_Cap <gen>
    Trigger - Turn on Captain_Exp_Cap <gen>
    Trigger - Run Start_AI <gen> (ignoring conditions)
Jaina Items Drop
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 6, do (Actions)
      Loop - Actions
        Item - Show SpawnedItem[(Integer A)]
This trigger is fired from either Intro Cancelled, or Cinematic F
Start the AI
Begin moving the Caravan
Start AI
  Events
  Conditions
  Actions
    -------- Delay the AI start by 2 seconds, to distribute the perf spike --------
    Wait 4.00 seconds
    AI - Start campaign AI script for Player 7 (Green): war3mapImported\H5 Insane Grn.ai (aiscript)
    AI - Start campaign AI script for Player 4 (Purple): war3mapImported\H5 Insane Ppl.ai (aiscript)
    Wait 2.00 seconds
    AI - Ignore the guard positions of all Player 5 (Yellow) units
Zombies are Dead
  Events
    Unit - A unit owned by Player 6 (Orange).Dies
  Conditions
    ((Triggering unit) is in CorruptVillagerGroup1.) Equal to True
  Actions
    Unit Group - Remove (Triggering unit) from CorruptVillagerGroup1.
    If ((Number of units in CorruptVillagerGroup1) Equal to 0) then do (Add Main_Quest_Discovered <gen> to the trigger queue (Checking conditions)) else do (Do nothing)
Main Quest Discovered
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Wait 2 seconds
    Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rDefend Hearthglen - Survive for 30 minutes
    Wait 10.00 seconds
    Trigger - Remove (This trigger) from the trigger queue
    Wait 10.00 seconds
Undead Reach Hearthglen
First Attack Wave 01 QUE
  Events
    Unit - A unit comes within 700.00 of Guard Tower 0085 <gen>
    Unit - A unit comes within 700.00 of Guard Tower 0066 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        ((Triggering unit) belongs to an enemy of Player 2 (Blue).) Equal to True
        ((Triggering unit) belongs to an enemy of Player 9 (Gray).) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add First_Attack_Wave_01 <gen> to the trigger queue (Checking conditions)
Undead Reach Hearthglen
First Attack Wave 01
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player 2 (Blue).Footman named Footman at (Center of 02Hearthglen <gen>): Play H05Footman24 <gen> and display Prince Arthas, the undead forces have arrived!. Modify duration: Add 0 seconds and Wait
    If ((Paladin 0188 <gen> is alive) Equal to True) then do (Send transmission to (All players) from Paladin 0188 <gen> named Arthas: Play H05Arthas25 <gen> and display Hold your ground! We are the Chosen of the Light. We shall not fall!. Modify duration: Add 0 seconds and Wait) else do (Do nothing)
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
Sheep
  Events
    Unit - A unit owned by Neutral Passive.Dies
  Conditions
    (Triggering unit) Equal to SheepItem
  Actions
    Set VariableSet BonusesFound = (BonusesFound + 1)
    Set VariableSet SheepPoint = (Position of SheepItem)
    Item - Create Potion of Restoration at SheepPoint
Arthas Exp Cap
  Events
    Unit - A unit owned by Player 2 (Blue).Gains a level
  Conditions
    (Leveling Hero) Equal to Arthas
    (Hero level of (Triggering unit)) Equal to 6
  Actions
    Hero - Set Arthas experience to 2000, Hide level-up graphics
    Hero - Disable experience gain for (Triggering unit).
Captain Exp Cap
  Events
    Unit - A unit owned by Player 9 (Gray).Gains a level
  Conditions
    (Leveling Hero) Equal to Captain
    (Hero level of (Triggering unit)) Equal to 6
  Actions
    Hero - Set Captain experience to 2000, Hide level-up graphics
    Hero - Disable experience gain for (Triggering unit).
ArthasHopeless QUE
  Events
    Time - HopelessTimer expires
  Conditions
  Actions
    Trigger - Add ArthasHopeless <gen> to the trigger queue (Checking conditions)
ArthasHopeless
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Sound - Setup all volume channels for speech
    If ((Paladin 0188 <gen> is alive) Equal to True) then do (Send transmission to (All players) from Paladin 0188 <gen> named Arthas: Play H05Arthas26 <gen> and display This is impossible. Their numbers seem limitless.. Modify duration: Add 0 seconds and Wait) else do (Wait 0.10 seconds)
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
Timer Warning 10 QUE
  Events
    Time - TimerWarning expires
  Conditions
  Actions
    Trigger - Add Timer_Warning_10 <gen> to the trigger queue (Checking conditions)
Timer Warning 10
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Quest - Display to (All players) the Simple Hint message: |cff32CD32HINT|r - 10 more minutes until Uther's arrival.
    Wait Campaign hint delay seconds
    Trigger - Remove (This trigger) from the trigger queue
Outside Farmer 01
  Events
    Time - Every 13.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0141 <gen> to Move To.(Random point in 02Outside_Farm <gen>)
Outside Farmer 02
  Events
    Time - Every 17.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0143 <gen> to Move To.(Random point in 02Outside_Farm <gen>)
Outside Farmer 03
  Events
    Time - Every 9.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0142 <gen> to Move To.(Random point in 02Outside_Farm <gen>)
Outside Famer 01 Zombie
  Events
    Unit - A unit comes within 600.00 of Villager 0141 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player 2 (Blue)
        (Owner of (Triggering unit)) Equal to Player 9 (Gray)
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off Outside_Farmer_01 <gen>
    Trigger - Turn off Outside_Farmer_02 <gen>
    Trigger - Turn off Outside_Farmer_03 <gen>
    Trigger - Run Malganis_Corruption <gen> (checking conditions)
Malganis Corruption
  Events
  Conditions
  Actions
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Corruption_08 <gen>) facing Default building facing degrees
    Set VariableSet MalGanisOutside01 = (Last created unit)
    Unit - Set mana of MalGanisOutside01 to 100%
    Unit - Hide MalGanisOutside01
    Hero - Set MalGanisOutside01 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanisOutside01: Special - Dark Conversion (Fast)
    Unit - Order MalGanisOutside01 to Special Miscellaneous - Dark Conversion (Fast).Villager 0141 <gen>
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Corruption_08 <gen>) facing Default building facing degrees
    Set VariableSet MalGanisOutside02 = (Last created unit)
    Unit - Set mana of MalGanisOutside02 to 100%
    Unit - Hide MalGanisOutside02
    Hero - Set MalGanisOutside02 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanisOutside02: Special - Dark Conversion (Fast)
    Unit - Order MalGanisOutside02 to Special Miscellaneous - Dark Conversion (Fast).Villager 0143 <gen>
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Corruption_08 <gen>) facing Default building facing degrees
    Set VariableSet MalGanisOutside03 = (Last created unit)
    Unit - Set mana of MalGanisOutside03 to 100%
    Unit - Hide MalGanisOutside03
    Hero - Set MalGanisOutside03 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanisOutside03: Special - Dark Conversion (Fast)
    Unit - Order MalGanisOutside03 to Special Miscellaneous - Dark Conversion (Fast).Villager 0142 <gen>
Dark Conversion Outside Farm
  Events
    Unit - A unit owned by Neutral Passive.Spawns a summoned unit
  Conditions
    (02Outside_Farm <gen> contains (Summoned unit)) Equal to True
  Actions
    Unit - Remove MalGanis01 from the game
    Unit - Remove MalGanis02 from the game
    Unit - Remove MalGanis03 from the game
    Unit - Change ownership of (Summoned unit) to Player 6 (Orange) and Change color
    Unit - Replace (Summoned unit) with a Zombie using The old unit's relative life and mana
    Unit Group - Add (Last replaced unit) to OutsideFarmGroup
Crate Item
  Events
    Destructible - Crates 2633 <gen> dies
  Conditions
  Actions
    Set VariableSet BonusesFound = (BonusesFound + 1)
    Item - Create Scroll of Healing at (Position of Crates 2633 <gen>)
01Roaming Villager A
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0146 <gen> to Move To.(Random point in 02_Roaming_Villager_A <gen>)
01Roaming Villager Aa
  Events
    Time - Every 7.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0152 <gen> to Move To.(Random point in 02_Roaming_Villager_A <gen>)
01Roaming Villager B
  Events
    Time - Every 6.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0150 <gen> to Move To.(Random point in 02_Roaming_Villager_A <gen>)
01Roaming Villager Bb
  Events
    Time - Every 9.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0148 <gen> to Move To.(Random point in 02_Roaming_Villager_A <gen>)
01Villager Retreat A
  Events
  Conditions
  Actions
    Trigger - Turn off 01Roaming_Villager_A <gen>
    Trigger - Turn off 01Roaming_Villager_Aa <gen>
    Unit - Turn collision for Villager 0146 <gen> Off.
    Unit - Turn collision for Villager 0152 <gen> Off.
    Unit - Order Villager 0146 <gen> to Move To.(Center of 02_Villager_A_Retreat_A <gen>)
    Unit - Order Villager 0152 <gen> to Move To.(Center of 02_Villager_A_Retreat_A <gen>)
01Villager Retreat B
  Events
  Conditions
  Actions
    Trigger - Turn off 01Roaming_Villager_B <gen>
    Trigger - Turn off 01Roaming_Villager_Bb <gen>
    Unit - Turn collision for Villager 0150 <gen> Off.
    Unit - Turn collision for Villager 0148 <gen> Off.
    Unit - Order Villager 0150 <gen> to Move To.(Center of 02_Villager_A_Retreat_B <gen>)
    Unit - Order Villager 0148 <gen> to Move To.(Center of 02_Villager_A_Retreat_B <gen>)
01Remove Villager 01
  Events
    Unit - A unit enters 02_Villager_A_Retreat_A <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersA.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 01Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 01Villager_Retreat_B <gen> (ignoring conditions)
01Remove Villager 02
  Events
    Unit - A unit enters 02_Villager_A_Retreat_B <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersA.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 01Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 01Villager_Retreat_B <gen> (ignoring conditions)
02Roaming Villager A
  Events
    Time - Every 6.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0161 <gen> to Move To.(Random point in 02_Roaming_Villager_B <gen>)
02Roaming Villager B
  Events
    Time - Every 8.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0159 <gen> to Move To.(Random point in 02_Roaming_Villager_B <gen>)
02Roaming Villager C
  Events
    Time - Every 9.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0160 <gen> to Move To.(Random point in 02_Roaming_Villager_B <gen>)
02Villager Retreat A
  Events
  Conditions
  Actions
    Trigger - Turn off 02Roaming_Villager_A <gen>
    Trigger - Turn off 02Roaming_Villager_B <gen>
    Trigger - Turn off 02Roaming_Villager_C <gen>
    Unit - Turn collision for Villager 0159 <gen> Off.
    Unit - Turn collision for Villager 0160 <gen> Off.
    Unit - Turn collision for Villager 0161 <gen> Off.
    Unit - Order Villager 0159 <gen> to Move To.(Center of 02_Villager_B_Retreat_A <gen>)
    Unit - Order Villager 0160 <gen> to Move To.(Center of 02_Villager_B_Retreat_A <gen>)
    Unit - Order Villager 0161 <gen> to Move To.(Center of 02_Villager_B_Retreat_A <gen>)
02Remove Villager 01
  Events
    Unit - A unit enters 02_Villager_B_Retreat_A <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersB.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 02Villager_Retreat_A <gen> (ignoring conditions)
03Roaming Villager A
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0155 <gen> to Move To.(Random point in 02_Roaming_Villager_C <gen>)
03Roaming Villager B
  Events
    Time - Every 12.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0153 <gen> to Move To.(Random point in 02_Roaming_Villager_C <gen>)
03Roaming Villager C
  Events
    Time - Every 7.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0154 <gen> to Move To.(Random point in 02_Roaming_Villager_C <gen>)
03Villager Retreat A
  Events
  Conditions
  Actions
    Trigger - Turn off 03Roaming_Villager_A <gen>
    Trigger - Turn off 03Roaming_Villager_B <gen>
    Trigger - Turn off 03Roaming_Villager_C <gen>
    Unit - Turn collision for Villager 0155 <gen> Off.
    Unit - Turn collision for Villager 0153 <gen> Off.
    Unit - Turn collision for Villager 0154 <gen> Off.
    Unit - Order Villager 0155 <gen> to Move To.(Center of 02_Villager_C_Retreat_A <gen>)
    Unit - Order Villager 0153 <gen> to Move To.(Center of 02_Villager_C_Retreat_A <gen>)
    Unit - Order Villager 0154 <gen> to Move To.(Center of 02_Villager_C_Retreat_A <gen>)
03Remove Villager 01
  Events
    Unit - A unit enters 02_Villager_C_Retreat_A <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersC.) Equal to True
  Actions
    Trigger - Run 03Villager_Retreat_A <gen> (ignoring conditions)
    Unit - Remove (Triggering unit) from the game
04Roaming Villager A
  Events
    Time - Every 5.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0156 <gen> to Move To.(Random point in 02_Roaming_Villager_D <gen>)
04Roaming Villager B
  Events
    Time - Every 16.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0157 <gen> to Move To.(Random point in 02_Roaming_Villager_D <gen>)
04Roaming Villager C
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0013 <gen> to Move To.(Random point in 02_Roaming_Villager_D <gen>)
04Villager Retreat A
  Events
  Conditions
  Actions
    Trigger - Turn off 04Roaming_Villager_A <gen>
    Trigger - Turn off 04Roaming_Villager_B <gen>
    Trigger - Turn off 04Roaming_Villager_C <gen>
    Unit - Turn collision for Villager 0013 <gen> Off.
    Unit - Turn collision for Villager 0156 <gen> Off.
    Unit - Turn collision for Villager 0157 <gen> Off.
    Unit - Order Villager 0013 <gen> to Move To.(Center of 02_Villager_D_Retreat_A <gen>)
    Unit - Order Villager 0156 <gen> to Move To.(Center of 02_Villager_D_Retreat_A <gen>)
    Unit - Order Villager 0157 <gen> to Move To.(Center of 02_Villager_D_Retreat_A <gen>)
04Remove Villager 01
  Events
    Unit - A unit enters 02_Villager_D_Retreat_A <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersD.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 04Villager_Retreat_A <gen> (ignoring conditions)
05Roaming Villager A
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0158 <gen> to Move To.(Random point in 02_Roaming_Villager_E <gen>)
05Roaming Villager B
  Events
    Time - Every 15.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0169 <gen> to Move To.(Random point in 02_Roaming_Villager_E <gen>)
05Villager Retreat A
  Events
  Conditions
  Actions
    Trigger - Turn off 05Roaming_Villager_A <gen>
    Trigger - Turn off 05Roaming_Villager_B <gen>
    Unit - Turn collision for Villager 0169 <gen> Off.
    Unit - Turn collision for Villager 0158 <gen> Off.
    Unit - Order Villager 0169 <gen> to Move To.(Center of 02_Villager_E_Retreat_A <gen>)
    Unit - Order Villager 0158 <gen> to Move To.(Center of 02_Villager_E_Retreat_A <gen>)
05Remove Villager 01
  Events
    Unit - A unit enters 02_Villager_E_Retreat_A <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersE.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 05Villager_Retreat_A <gen> (ignoring conditions)
06Roaming Villager A
  Events
    Time - Every 13.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0164 <gen> to Move To.(Random point in 02_Roaming_Villager_F <gen>)
06Roaming Villager B
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0162 <gen> to Move To.(Random point in 02_Roaming_Villager_F <gen>)
06Roaming Villager C
  Events
    Time - Every 6.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0165 <gen> to Move To.(Random point in 02_Roaming_Villager_F <gen>)
06Roaming Villager D
  Events
    Time - Every 9.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0166 <gen> to Move To.(Random point in 02_Roaming_Villager_F <gen>)
06Roaming Villager E
  Events
    Time - Every 7.00 seconds of game time
  Conditions
  Actions
    Unit - Order Villager 0163 <gen> to Move To.(Random point in 02_Roaming_Villager_F <gen>)
06Villager Retreat A
  Events
  Conditions
  Actions
    Trigger - Turn off 06Roaming_Villager_A <gen>
    Trigger - Turn off 06Roaming_Villager_B <gen>
    Trigger - Turn off 06Roaming_Villager_C <gen>
    Unit - Turn collision for Villager 0162 <gen> Off.
    Unit - Turn collision for Villager 0164 <gen> Off.
    Unit - Turn collision for Villager 0165 <gen> Off.
    Unit - Order Villager 0162 <gen> to Move To.(Center of 02_Villager_F_Retreat_A <gen>)
    Unit - Order Villager 0164 <gen> to Move To.(Center of 02_Villager_F_Retreat_A <gen>)
    Unit - Order Villager 0165 <gen> to Move To.(Center of 02_Villager_F_Retreat_A <gen>)
06Villager Retreat B
  Events
  Conditions
  Actions
    Trigger - Turn off 06Roaming_Villager_D <gen>
    Trigger - Turn off 06Roaming_Villager_E <gen>
    Unit - Turn collision for Villager 0166 <gen> Off.
    Unit - Turn collision for Villager 0163 <gen> Off.
    Unit - Order Villager 0163 <gen> to Move To.(Center of 02_Villager_F_Retreat_B <gen>)
    Unit - Order Villager 0166 <gen> to Move To.(Center of 02_Villager_F_Retreat_B <gen>)
06Remove Villager 01
  Events
    Unit - A unit enters 02_Villager_F_Retreat_A <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersF.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 06Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 06Villager_Retreat_B <gen> (ignoring conditions)
06Remove Villager 02
  Events
    Unit - A unit enters 02_Villager_F_Retreat_B <gen>
  Conditions
    ((Triggering unit) is in RoamingVillagersF.) Equal to True
  Actions
    Unit - Remove (Triggering unit) from the game
    Trigger - Run 06Villager_Retreat_A <gen> (ignoring conditions)
    Trigger - Run 06Villager_Retreat_B <gen> (ignoring conditions)
This trigger repositions all of the CaravanRegions in formation (according to FormationAngles and FormationDistances), centered about ReorientTarget and rotated to ReorientAngle.

Before running this trigger, set the following variables: ReorientAngle, ReorientTarget
Reorient Formation
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to FormationTotal, do (Run Reorient_Formation_Single <gen> (checking conditions))
Perform a simple transform on the formation data to rotate it to ReorientAngle (with respect to the formation origin) and shift it over to ReorientTarget.
The formation data is stored in polar notation to make this calculation easier.
Reorient Formation Single
  Events
  Conditions
  Actions
    Set VariableSet TempAngle = (ReorientAngle + FormationAngleArray[(Integer A)])
    Set VariableSet TempX = (FormationDistanceArray[(Integer A)] x (Cos(TempAngle)))
    Set VariableSet TempY = (FormationDistanceArray[(Integer A)] x (Sin(TempAngle)))
    Region - Center FormationRegionArray[(Integer A)] on (zReorientTarget offset by (TempX, TempY))
Caravan Orders Pause
  Events
  Conditions
  Actions
    Countdown Timer - Pause CaravanOrderPulse
Caravan Orders Resume
  Events
  Conditions
  Actions
    Countdown Timer - Start CaravanOrderPulse as a Repeating timer that will expire in 3.00 seconds
Caravan Orders
  Events
    Time - CaravanOrderPulse expires
  Conditions
  Actions
    For each (Integer A) from CaravanWagonFirst to CaravanWagonLast, do (Run Caravan_Orders_Single_Wagon <gen> (checking conditions))
    For each (Integer A) from CaravanGuardFirst to CaravanGuardLast, do (Run Caravan_Orders_Single_Guard <gen> (checking conditions))
Caravan Orders Single Wagon
  Events
  Conditions
    CaravanUnitArray[(Integer A)] Not equal to No unit
  Actions
    Unit - Order CaravanUnitArray[(Integer A)] to Move To.(Center of FormationRegionArray[(Integer A)])
Caravan Orders Single Guard
  Events
  Conditions
    CaravanUnitArray[(Integer A)] Not equal to No unit
  Actions
    Unit - Order CaravanUnitArray[(Integer A)] to Attack-Move To.(Center of FormationRegionArray[(Integer A)])
Caravan Unit Dies
  Events
    Unit - A unit owned by Player 5 (Yellow).Dies
  Conditions
  Actions
    For each (Integer A) from 1 to FormationTotal, do (If ((Dying unit) Equal to CaravanUnitArray[(Integer A)]) then do (Set VariableSet CaravanUnitArray[(Integer A)] = No unit) else do (Do nothing))
    If (((Dying unit) is in TheCaravanGuards.) Equal to True) then do (Remove (Dying unit) from TheCaravanGuards.) else do (Do nothing)
If a nearby unit is attacked, reset the guards' move speeds to their natural speeds, so that they can respond effectively.
The slow guard move speed is restored for each guard when he/she catches up with the group.
Guard Attacked
  Events
    Unit - A unit owned by Player 5 (Yellow).Is attacked
  Conditions
  Actions
    For each (Integer A) from CaravanGuardFirst to CaravanGuardLast, do (If ((Distance between (Position of CaravanUnitArray[(Integer A)]) and (Position of (Attacked unit))) Less than GuardCallForHelpDist) then do (Set CaravanUnitArray[(Integer A)] movement speed to (Default movement speed of CaravanUnitArray[(Integer A)])) else do (Do nothing))
Guard Catches Up
  Events
    Time - CaravanTestPulse expires
  Conditions
  Actions
    For each (Integer A) from CaravanGuardFirst to CaravanGuardLast, do (Run Guard_Catches_Up_Single <gen> (checking conditions))
Guard Catches Up Single
  Events
  Conditions
    CaravanUnitArray[(Integer A)] Not equal to No unit
    (FormationRegionArray[(Integer A)] contains CaravanUnitArray[(Integer A)]) Equal to True
  Actions
    Unit - Set CaravanUnitArray[(Integer A)] movement speed to SpeedOfGuards
When all living wagons reach a breadcrumb, the formation regions are repositioned and reoriented around the next breadcrumb.
The caravan is never allowed to progress past (zBreadcrumbAllowed).
Wagons Reach Breadcrumb
  Events
    Time - CaravanTestPulse expires
  Conditions
    (CaravanUnitArray[1] Equal to No unit) or ((FormationRegionArray[1] contains CaravanUnitArray[1]) Equal to True)
    (CaravanUnitArray[2] Equal to No unit) or ((FormationRegionArray[2] contains CaravanUnitArray[2]) Equal to True)
    (CaravanUnitArray[3] Equal to No unit) or ((FormationRegionArray[3] contains CaravanUnitArray[3]) Equal to True)
    (CaravanUnitArray[4] Equal to No unit) or ((FormationRegionArray[4] contains CaravanUnitArray[4]) Equal to True)
    (CaravanUnitArray[5] Equal to No unit) or ((FormationRegionArray[5] contains CaravanUnitArray[5]) Equal to True)
    (Number of units in TheCaravanWagons) Greater than 0
  Actions
    Set VariableSet BreadcrumbReached = BreadcrumbCurrent
    Trigger - Run Target_Next_Breadcrumb <gen> (checking conditions)
Target Next Breadcrumb
  Events
  Conditions
    BreadcrumbCurrent Less than BreadcrumbAllowed
  Actions
    -------- Calculate the next breadcrumb --------
    Set VariableSet BreadcrumbCurrent = (BreadcrumbCurrent + 1)
    Set VariableSet zReorientTarget = zBreadcrumbArray[BreadcrumbCurrent]
    Set VariableSet ReorientAngle = BreadcrumbAngleArray[BreadcrumbCurrent]
    -------- Recalculate the caravan's targets and start them on their way --------
    Trigger - Run Reorient_Formation <gen> (checking conditions)
    Trigger - Run Caravan_Orders <gen> (checking conditions)
Caravan To Town1
  Events
    Time - CaravanTown1Timer expires
  Conditions
  Actions
    Set VariableSet BreadcrumbAllowed = BreadcrumbStopTown1
    For each (Integer A) from 1 to FormationTotal, do (Unhide CaravanUnitArray[(Integer A)])
Caravan To Town2
  Events
    Time - CaravanTown2Timer expires
  Conditions
  Actions
    Set VariableSet BreadcrumbAllowed = BreadcrumbStopTown2
Caravan To Town3
  Events
    Time - CaravanTown3Timer expires
  Conditions
  Actions
    Set VariableSet BreadcrumbAllowed = BreadcrumbStopTown3
Caravan To Town4
  Events
    Time - CaravanTown4Timer expires
  Conditions
  Actions
    Set VariableSet BreadcrumbAllowed = BreadcrumbStopTown4
Caravan Attacked QUE
  Events
    Unit - A unit owned by Player 5 (Yellow).Is attacked
  Conditions
    ((Triggering unit) is in TheCaravanWagons.) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Caravan_Attacked <gen> to the trigger queue (Checking conditions)
Caravan Attacked
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player 5 (Yellow).Acolyte named Acolyte at (Position of (Random unit from TheCaravanWagons)): Play H05Acolyte22 <gen> and display Faster, my brethren! If we lose the shipment, the master will have our hides!. Modify duration: Add 0.00 seconds and Wait
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
Caravan Wagon Dies QUE
  Events
    Unit - A unit owned by Player 5 (Yellow).Dies
  Conditions
    ((Dying unit) is in TheCaravanWagons.) Equal to True
  Actions
    Set VariableSet LastCaravanDeath = (Position of (Dying unit))
    Unit Group - Remove (Dying unit) from TheCaravanWagons.
    If ((Number of units in TheCaravanWagons) Greater than 0) then do (Skip remaining actions) else do (Do nothing)
    -------- If that was the last wagon, complete the quest. (But only if discovered) --------
    Trigger - Turn off (This trigger)
    Set VariableSet CARAVANISDEADBOOLEAN = True
    Trigger - Add Caravan_Wagon_Dies <gen> to the trigger queue (Checking conditions)
Caravan Wagon Dies
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Item - Create Medallion of Courage at LastCaravanDeath
    Item - Create Scroll of Town Portal at LastCaravanDeath
    Set VariableSet TownPortal = (Last created item)
    Sound - Setup all volume channels for speech
    If ((Paladin 0188 <gen> is alive) Equal to True) then do (Send transmission to (All players) from Paladin 0188 <gen> named Arthas: Play H05Arthas23 <gen> and display I just pray that the grain hasn't reached any more villages.. Modify duration: Add 0 seconds and Wait) else do (Do nothing)
    Sound - Reset all volume channels to 100%
    Unit Group - Pick every unit in TheCaravanGuards and do (Order (Picked unit) to Attack-Move To.(Center of 02Hearthglen <gen>))
    -------- ---------- --------
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Quest - Display to (All players) the Quest Completed message: |cffffcc00OPTIONAL QUEST COMPLETED|rThe Grain Caravan
    Set VariableSet SubquestsComplete = (SubquestsComplete + 1)
    Quest - Mark GrainCaravanQuest as Discovered
    Quest - Mark REQCaravanquest as Completed
    Quest - Mark GrainCaravanQuest as Completed
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
Caravan Removal
  Events
    Unit - A unit enters 03Caravan_Removal <gen>
  Conditions
    (((Entering unit) is in TheCaravanWagons.) Equal to True) or (((Entering unit) is in TheCaravanGuards.) Equal to True)
  Actions
    For each (Integer A) from 1 to FormationTotal, do (If ((Entering unit) Equal to CaravanUnitArray[(Integer A)]) then do (Set VariableSet CaravanUnitArray[(Integer A)] = No unit) else do (Do nothing))
    Unit - Hide (Entering unit)
    Unit - Remove (Entering unit) from the game
Town Portal Hint QUE
  Events
    Unit - A unit owned by Player 2 (Blue).Acquires an item
    Unit - A unit owned by Player 9 (Gray).Acquires an item
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Triggering unit) Equal to Arthas
        (Triggering unit) Equal to Captain
    (Item being manipulated) Equal to TownPortal
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Town_Portal_Hint <gen> to the trigger queue (Checking conditions)
Town Portal Hint
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Quest - Display to (All players) the Simple Hint message: |cff32CD32HINT|r - Use the Scroll of Town Portal on a friendly town hall to teleport Arthas and any of his nearby troops there.
    Wait Campaign hint delay seconds
    Trigger - Remove (This trigger) from the trigger queue
SIDE QUEST ACTIVATED after the corruption of the first village.
Corruption01 QUE
  Events
    Time - CaravanCorruptionPulse expires
  Conditions
    BreadcrumbReached Equal to BreadcrumbStopTown1
    CARAVANISDEADBOOLEAN Equal to False
    (Number of units in (Units in Village_Check_01 <gen> owned by Player 2 (Blue))) Equal to 0
    (Number of units in (Units in Village_Check_01 <gen> owned by Player 9 (Gray))) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Corruption01 <gen> to the trigger queue (Checking conditions)
SIDE QUEST ACTIVATED after the corruption of the first village.
Corruption01
  Events
  Conditions
    CARAVANISDEADBOOLEAN Equal to False
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Caravan_Orders_Pause <gen> (checking conditions)
    Trigger - Run Caravan_Side_Quest <gen> (checking conditions)
    -------- -----Caravan Share Vision----- --------
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    -------- --------- --------
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis1 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis2 = (Last created visibility modifier)
    -------- --------- --------
    Unit - Order CaravanUnitArray[1] to Attack Ground.(Random point in 04Farm_01_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[2] to Attack Ground.(Random point in 04Farm_01_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[3] to Attack Ground.(Random point in 04Farm_01_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[4] to Attack Ground.(Random point in 04Farm_01_Roaming_Units_B <gen>)
    Unit - Order CaravanUnitArray[5] to Attack Ground.(Random point in 04Farm_01_Roaming_Units_B <gen>)
    Wait 3.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run Create_Plague_01 <gen> (checking conditions)
    -------- --------- --------
    Unit - Order CaravanUnitArray[1] to Hold Position.
    Unit - Order CaravanUnitArray[2] to Hold Position.
    Unit - Order CaravanUnitArray[3] to Hold Position.
    Unit - Order CaravanUnitArray[4] to Hold Position.
    Unit - Order CaravanUnitArray[5] to Hold Position.
    Trigger - Run Caravan_Orders_Resume <gen> (checking conditions)
    Wait 1.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- Villagers Come out --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_01_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager01 = (Last created unit)
    Unit - Order Villager01 to Move To.(Center of 04Farm_01_Roaming_Units_B <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_01_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager02 = (Last created unit)
    Unit - Order Villager02 to Move To.(Center of 04Farm_01_Roaming_Units_B <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_01_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager03 = (Last created unit)
    Unit - Order Villager03 to Move To.(Center of 04Farm_01_Roaming_Units_A <gen>)
    -------- Malganis Corruption --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_01 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis01 = (Last created unit)
    Unit - Set mana of MalGanis01 to 100%
    Unit - Hide MalGanis01
    Hero - Set MalGanis01 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis01: Special - Dark Conversion (Fast)
    Unit - Order MalGanis01 to Special Miscellaneous - Dark Conversion (Fast).Villager01
    -------- - --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_01 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis02 = (Last created unit)
    Unit - Set mana of MalGanis02 to 100%
    Unit - Hide MalGanis02
    Hero - Set MalGanis02 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis02: Special - Dark Conversion (Fast)
    Unit - Order MalGanis02 to Special Miscellaneous - Dark Conversion (Fast).Villager02
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_01 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis03 = (Last created unit)
    Unit - Set mana of MalGanis03 to 100%
    Unit - Hide MalGanis03
    Hero - Set MalGanis03 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis03: Special - Dark Conversion (Fast)
    Unit - Order MalGanis03 to Special Miscellaneous - Dark Conversion (Fast).Villager03
    -------- --------- --------
    Trigger - Run Ghouls01 <gen> (checking conditions)
    Wait 15.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- --------- --------
    Visibility - Destroy VillageVis1
    Visibility - Destroy VillageVis2
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    Trigger - Run Destroy_Plague_01 <gen> (checking conditions)
    -------- -----Optional Quest Activated----- --------
    Trigger - Run Share_Vision_Last_Town <gen> (checking conditions)
    If ((GrainCaravanQuest is failed) Equal to False) then do (Mark GrainCaravanQuest as Discovered) else do (Do nothing)
    If ((GrainCaravanQuest is failed) Equal to False) then do (Display to (All players) the Quest Discovered message: |cffffcc00OPTIONAL QUEST|rThe Grain Caravan - Destroy the grain caravan before it gets to last village) else do (Do nothing)
    -------- --------- --------
    Special Effect - Destroy (Last created special effect)
    Countdown Timer - Start CaravanTown2Timer as a One-shot timer that will expire in 130.00 seconds
    -------- --------- --------
    Trigger - Remove (This trigger) from the trigger queue
Dark Conversion Farm 01
  Events
    Unit - A unit owned by Neutral Passive.Spawns a summoned unit
  Conditions
    (Village_Check_01 <gen> contains (Summoned unit)) Equal to True
  Actions
    Unit - Change ownership of (Summoned unit) to Player 5 (Yellow) and Change color
    Unit - Replace (Summoned unit) with a Zombie using The old unit's relative life and mana
    Unit Group - Add (Last replaced unit) to Farm01CorruptedGroup
    -------- Need to wait for transformation finished --------
    Wait 4.00 seconds
    Unit - Remove MalGanis01 from the game
    Unit - Remove MalGanis02 from the game
    Unit - Remove MalGanis03 from the game
    Trigger - Run Attack01 <gen> (checking conditions)
Caravan Side Quest
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    -------- --------- --------
    Set VariableSet CameraPosition = (Target of current camera view)
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Village_Check_01 <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of Village_Check_01 <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of Village_Check_01 <gen>) for 3.00 seconds
    Camera - .Apply. gg_cam_Caravan for Player 2 (Blue) over 0.00 seconds
    Camera - .Apply. gg_cam_Caravan for Player 9 (Gray) over 0.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Neutral Passive.Footman named Footman at (Position of TownHall[1]): Play H05Footman12 <gen> and display Prince Arthas, we've spotted an undead caravan carrying a large load of plagued grain.. Modify duration: Add 0 seconds and Wait
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from a Neutral Passive.Paladin named Footman at (Position of TownHall[1]): Play H05Arthas13 <gen> and display That caravan must be stopped before it reaches the outer villages!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Set VariableSet ArthasPoint = (Position of Arthas)
Vision shared with the last village after receiving the side quest
Share Vision Last Town
  Events
  Conditions
  Actions
    -------- -----Show Vision With Last Town----- --------
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Village_Check_04 <gen>) to a radius of 1500.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of Village_Check_04 <gen>) to a radius of 1500.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of Village_Check_04 <gen>) for 4.00 seconds
These units are only created on Hard Difficulty level.
Ghouls01
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_1_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm01CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_01_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_1_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm01CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_01_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_1_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm01CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_01_Ghouls_Move <gen>)
    -------- --------- --------
Attack01
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Wait 5.00 seconds
    Unit Group - Order Farm01CorruptedGroup to Attack-Move To.(Center of 02Hearthglen <gen>)
Create 40 Special Effects in Farm 01
Create Plague 01
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Create_Plague_One_01 <gen> (checking conditions))
Playing the Plague cloud animation for farm 01
Create Plague One 01
  Events
  Conditions
  Actions
    Special Effect - Create a special effect at (Random point in 04Farm_01_Roaming_Units_A <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsA[(Integer A)] = (Last created special effect)
    Special Effect - Create a special effect at (Random point in 04Farm_01_Roaming_Units_B <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsB[(Integer A)] = (Last created special effect)
Destroy Plague 01
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Destroy_Plague_One_01 <gen> (checking conditions))
Destroy Plague One 01
  Events
  Conditions
  Actions
    Special Effect - Destroy PlagueCloudsA[(Integer A)]
    Special Effect - Destroy PlagueCloudsB[(Integer A)]
Corruption02 QUE
  Events
    Time - CaravanCorruptionPulse expires
  Conditions
    BreadcrumbReached Equal to BreadcrumbStopTown2
    CARAVANISDEADBOOLEAN Equal to False
    (Number of units in (Units in Village_Check_02 <gen> owned by Player 2 (Blue))) Equal to 0
    (Number of units in (Units in Village_Check_02 <gen> owned by Player 9 (Gray))) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Corruption02 <gen> to the trigger queue (Checking conditions)
Corruption02
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Caravan_Orders_Pause <gen> (checking conditions)
    Trigger - Run DialogueFarm02 <gen> (checking conditions)
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- -----Caravan Share Vision----- --------
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    -------- --------- --------
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis1 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis2 = (Last created visibility modifier)
    -------- -----Caravan Attack Ground----- --------
    Unit - Order CaravanUnitArray[2] to Attack Ground.(Random point in 04Farm_02_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[4] to Attack Ground.(Random point in 04Farm_02_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[5] to Attack Ground.(Random point in 04Farm_02_Roaming_Units_C <gen>)
    Wait 3.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run Create_Plague_02 <gen> (checking conditions)
    -------- --------- --------
    Unit - Order CaravanUnitArray[1] to Hold Position.
    Unit - Order CaravanUnitArray[2] to Hold Position.
    Unit - Order CaravanUnitArray[3] to Hold Position.
    Unit - Order CaravanUnitArray[4] to Hold Position.
    Unit - Order CaravanUnitArray[5] to Hold Position.
    Trigger - Run Caravan_Orders_Resume <gen> (checking conditions)
    Wait 2.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- Villagers Come out --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_02_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager04 = (Last created unit)
    Unit - Order Villager04 to Move To.(Center of 04Farm_02_Roaming_Units_A <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_02_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager05 = (Last created unit)
    Unit - Order Villager05 to Move To.(Center of 04Farm_02_Roaming_Units_A <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_02_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager06 = (Last created unit)
    Unit - Order Villager06 to Move To.(Center of 04Farm_02_Roaming_Units_C <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_02_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager07 = (Last created unit)
    Unit - Order Villager07 to Move To.(Center of 04Farm_02_Roaming_Units_C <gen>)
    -------- Malganis Corruption --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_02__A <gen>) facing Default building facing degrees
    Set VariableSet MalGanis01 = (Last created unit)
    Unit - Set mana of MalGanis01 to 100%
    Unit - Hide MalGanis01
    Hero - Set MalGanis01 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis01: Special - Dark Conversion (Fast)
    Unit - Order MalGanis01 to Special Miscellaneous - Dark Conversion (Fast).Villager04
    -------- - --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_02__A <gen>) facing Default building facing degrees
    Set VariableSet MalGanis02 = (Last created unit)
    Unit - Set mana of MalGanis02 to 100%
    Unit - Hide MalGanis02
    Hero - Set MalGanis02 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis02: Special - Dark Conversion (Fast)
    Unit - Order MalGanis02 to Special Miscellaneous - Dark Conversion (Fast).Villager05
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_02__B <gen>) facing Default building facing degrees
    Set VariableSet MalGanis03 = (Last created unit)
    Unit - Set mana of MalGanis03 to 100%
    Unit - Hide MalGanis03
    Hero - Set MalGanis03 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis03: Special - Dark Conversion (Fast)
    Unit - Order MalGanis03 to Special Miscellaneous - Dark Conversion (Fast).Villager06
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_02__B <gen>) facing Default building facing degrees
    Set VariableSet MalGanis04 = (Last created unit)
    Unit - Set mana of MalGanis04 to 100%
    Unit - Hide MalGanis04
    Hero - Set MalGanis04 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis04: Special - Dark Conversion (Fast)
    Unit - Order MalGanis04 to Special Miscellaneous - Dark Conversion (Fast).Villager07
    -------- --------- --------
    Trigger - Run Ghouls02 <gen> (checking conditions)
    Wait 15.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- -----Remove Caravan Vision----- --------
    Visibility - Destroy VillageVis1
    Visibility - Destroy VillageVis2
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    -------- --------- --------
    Trigger - Run Destroy_Plague_02 <gen> (checking conditions)
    Countdown Timer - Start CaravanTown3Timer as a One-shot timer that will expire in 130.00 seconds
    -------- --------- --------
    Trigger - Remove (This trigger) from the trigger queue
Dark Conversion Farm 02
  Events
    Unit - A unit owned by Neutral Passive.Spawns a summoned unit
  Conditions
    (Village_Check_02 <gen> contains (Summoned unit)) Equal to True
  Actions
    Unit - Change ownership of (Summoned unit) to Player 5 (Yellow) and Change color
    Unit - Replace (Summoned unit) with a Zombie using The old unit's relative life and mana
    Unit Group - Add (Last replaced unit) to Farm02CorruptedGroup
    -------- Need to wait for transformation finished --------
    Wait 4.00 seconds
    Unit - Remove MalGanis01 from the game
    Unit - Remove MalGanis02 from the game
    Unit - Remove MalGanis03 from the game
    Unit - Remove MalGanis04 from the game
    Trigger - Run Attack02 <gen> (checking conditions)
DialogueFarm02
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player 2 (Blue).Footman named Footman at (Position of TownHall[1]): Play H05Footman16 <gen> and display Prince Arthas, the caravan has infected the second village.. Modify duration: Add 0 seconds and Wait
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of 03Village_Corruption_2_A <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of 03Village_Corruption_2_A <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of 03Village_Corruption_2_A <gen>) for 4.00 seconds
    Sound - Reset all volume channels to 100%
Ghouls02
  Events
  Conditions
  Actions
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_2_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm02CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_02_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_2_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm02CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_02_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_2_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm02CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_02_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_2_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm02CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_02_Ghouls_Move <gen>)
Attack02
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Wait 5.00 seconds
    Unit Group - Order Farm02CorruptedGroup to Attack-Move To.(Center of 02Hearthglen <gen>)
Create 40 Special Effects in Farm 01
Create Plague 02
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Create_Plague_One_02 <gen> (checking conditions))
Playing the Plague cloud animation for farm 01
Create Plague One 02
  Events
  Conditions
  Actions
    Special Effect - Create a special effect at (Random point in 04Farm_02_Roaming_Units_A <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsA[(Integer A)] = (Last created special effect)
    Special Effect - Create a special effect at (Random point in 04Farm_02_Roaming_Units_C <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsC[(Integer A)] = (Last created special effect)
Destroy Plague 02
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Destroy_Plague_One_02 <gen> (checking conditions))
Destroy Plague One 02
  Events
  Conditions
  Actions
    Special Effect - Destroy PlagueCloudsA[(Integer A)]
    Special Effect - Destroy PlagueCloudsB[(Integer A)]
    Special Effect - Destroy PlagueCloudsC[(Integer A)]

Create 4 Zombies, 4 Acolyte, and 4 Ghouls to attack Hearthglen

Run Trigger Orange Town
Corruption03 QUE
  Events
    Time - CaravanCorruptionPulse expires
  Conditions
    BreadcrumbReached Equal to BreadcrumbStopTown3
    CARAVANISDEADBOOLEAN Equal to False
    (Number of units in (Units in Village_Check_03 <gen> owned by Player 2 (Blue))) Equal to 0
    (Number of units in (Units in Village_Check_03 <gen> owned by Player 9 (Gray))) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Corruption03 <gen> to the trigger queue (Checking conditions)

Create 4 Zombies, 4 Acolyte, and 4 Ghouls to attack Hearthglen

Run Trigger Orange Town
Corruption03
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Caravan_Orders_Pause <gen> (checking conditions)
    Trigger - Run DialogueFarm03 <gen> (checking conditions)
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- -----Caravan Share Vision----- --------
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    -------- --------- --------
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis1 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis2 = (Last created visibility modifier)
    -------- -----Caravan Attack Ground----- --------
    Unit - Order CaravanUnitArray[1] to Attack Ground.(Random point in 04Farm_03_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[2] to Attack Ground.(Random point in 04Farm_03_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[3] to Attack Ground.(Random point in 04Farm_03_Roaming_Units_B <gen>)
    Unit - Order CaravanUnitArray[4] to Attack Ground.(Random point in 04Farm_03_Roaming_Units_B <gen>)
    Unit - Order CaravanUnitArray[5] to Attack Ground.(Random point in 04Farm_03_Roaming_Units_B <gen>)
    Wait 2.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run Create_Plague_03 <gen> (checking conditions)
    -------- --------- --------
    Unit - Order CaravanUnitArray[1] to Hold Position.
    Unit - Order CaravanUnitArray[2] to Hold Position.
    Unit - Order CaravanUnitArray[3] to Hold Position.
    Unit - Order CaravanUnitArray[4] to Hold Position.
    Unit - Order CaravanUnitArray[5] to Hold Position.
    Trigger - Run Caravan_Orders_Resume <gen> (checking conditions)
    Wait 2.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- Villagers Come out --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_03_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager08 = (Last created unit)
    Unit - Order Villager08 to Move To.(Center of 04Farm_03_Roaming_Units_A <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_03_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager09 = (Last created unit)
    Unit - Order Villager09 to Move To.(Center of 04Farm_03_Roaming_Units_A <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male) for Neutral Passive at (Center of Farm_03_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager10 = (Last created unit)
    Unit - Order Villager10 to Move To.(Center of 04Farm_03_Roaming_Units_B <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_03_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager11 = (Last created unit)
    Unit - Order Villager11 to Move To.(Center of 04Farm_03_Roaming_Units_B <gen>)
    -------- Malganis Corruption --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_03 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis01 = (Last created unit)
    Unit - Set mana of MalGanis01 to 100%
    Unit - Hide MalGanis01
    Hero - Set MalGanis01 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis01: Special - Dark Conversion (Fast)
    Unit - Order MalGanis01 to Special Miscellaneous - Dark Conversion (Fast).Villager08
    -------- - --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_03 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis02 = (Last created unit)
    Unit - Set mana of MalGanis02 to 100%
    Unit - Hide MalGanis02
    Hero - Set MalGanis02 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis02: Special - Dark Conversion (Fast)
    Unit - Order MalGanis02 to Special Miscellaneous - Dark Conversion (Fast).Villager09
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_03 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis03 = (Last created unit)
    Unit - Set mana of MalGanis03 to 100%
    Unit - Hide MalGanis03
    Hero - Set MalGanis03 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis03: Special - Dark Conversion (Fast)
    Unit - Order MalGanis03 to Special Miscellaneous - Dark Conversion (Fast).Villager10
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_03 <gen>) facing Default building facing degrees
    Set VariableSet MalGanis04 = (Last created unit)
    Unit - Set mana of MalGanis04 to 100%
    Unit - Hide MalGanis04
    Hero - Set MalGanis04 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis04: Special - Dark Conversion (Fast)
    Unit - Order MalGanis04 to Special Miscellaneous - Dark Conversion (Fast).Villager11
    -------- --------- --------
    Trigger - Run Ghouls03 <gen> (checking conditions)
    Wait 15.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- -----Remove Caravan Vision----- --------
    Visibility - Destroy VillageVis1
    Visibility - Destroy VillageVis2
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    Trigger - Run Destroy_Plague_03 <gen> (checking conditions)
    Countdown Timer - Start CaravanTown4Timer as a One-shot timer that will expire in 130.00 seconds
    -------- ---------- --------
    Trigger - Remove (This trigger) from the trigger queue
Dark Conversion Farm 03
  Events
    Unit - A unit owned by Neutral Passive.Spawns a summoned unit
  Conditions
    (Village_Check_03 <gen> contains (Summoned unit)) Equal to True
  Actions
    Unit - Change ownership of (Summoned unit) to Player 5 (Yellow) and Change color
    Unit - Replace (Summoned unit) with a Zombie using The old unit's relative life and mana
    Unit Group - Add (Last replaced unit) to Farm03CorruptedGroup
    -------- Need to wait for transformation finished --------
    Wait 4.00 seconds
    Unit - Remove MalGanis01 from the game
    Unit - Remove MalGanis02 from the game
    Unit - Remove MalGanis03 from the game
    Unit - Remove MalGanis04 from the game
    -------- --------- --------
    Trigger - Run Attack03 <gen> (checking conditions)
DialogueFarm03
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player 2 (Blue).Footman named Footman at (Position of TownHall[1]): Play H05Footman18 <gen> and display Milord, the third village has been infected!. Modify duration: Add 0 seconds and Wait
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of 03Village_Corruption_3_A <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of 03Village_Corruption_3_A <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of 03Village_Corruption_3_A <gen>) for 4.00 seconds
    Sound - Reset all volume channels to 100%
Ghouls03
  Events
  Conditions
  Actions
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_3_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm03CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_03_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_3_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm03CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_03_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_3_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm03CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_03_Ghouls_Move <gen>)
    Wait 0.20 seconds
    -------- --------- --------
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_3_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm03CorruptedGroup
    Unit - Order (Last created unit) to Attack-Move To.(Center of Farm_03_Ghouls_Move <gen>)
Issue attack wave from the Corrupted farm units
Attack03
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Wait 5.00 seconds
    Unit Group - Order Farm03CorruptedGroup to Attack-Move To.(Center of 02Hearthglen <gen>)
Create 40 Special Effects in Farm 01
Create Plague 03
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Create_Plague_One_03 <gen> (checking conditions))
Playing the Plague cloud animation for farm 01
Create Plague One 03
  Events
  Conditions
  Actions
    Special Effect - Create a special effect at (Random point in 04Farm_03_Roaming_Units_A <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsA[(Integer A)] = (Last created special effect)
    Special Effect - Create a special effect at (Random point in 04Farm_03_Roaming_Units_B <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsB[(Integer A)] = (Last created special effect)
Destroy Plague 03
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Destroy_Plague_One_03 <gen> (checking conditions))
Destroy Plague One 03
  Events
  Conditions
  Actions
    Special Effect - Destroy PlagueCloudsA[(Integer A)]
    Special Effect - Destroy PlagueCloudsB[(Integer A)]
Corruption04 QUE
  Events
    Time - CaravanCorruptionPulse expires
  Conditions
    BreadcrumbReached Equal to BreadcrumbStopTown4
    CARAVANISDEADBOOLEAN Equal to False
    (Number of units in (Units in Village_Check_04 <gen> owned by Player 2 (Blue))) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Corruption04 <gen> to the trigger queue (Checking conditions)
Corruption04
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Caravan_Orders_Pause <gen> (checking conditions)
    Trigger - Run DialogueFarm04 <gen> (checking conditions)
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------- --------
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Grant shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    -------- --------- --------
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis1 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of Village_Vis_01 <gen>) to a radius of 800.00.
    Set VariableSet VillageVis2 = (Last created visibility modifier)
    -------- -----Caravan Attack Ground----- --------
    Unit - Order CaravanUnitArray[1] to Attack Ground.(Random point in 04Farm_04_Roaming_Units_B <gen>)
    Unit - Order CaravanUnitArray[2] to Attack Ground.(Random point in 04Farm_04_Roaming_Units_D <gen>)
    Unit - Order CaravanUnitArray[3] to Attack Ground.(Random point in 04Farm_04_Roaming_Units_C <gen>)
    Unit - Order CaravanUnitArray[4] to Attack Ground.(Random point in 04Farm_04_Roaming_Units_A <gen>)
    Unit - Order CaravanUnitArray[5] to Attack Ground.(Random point in 04Farm_04_Roaming_Units_C <gen>)
    Wait 2.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run Create_Plague_04 <gen> (checking conditions)
    -------- --------- --------
    Unit - Order CaravanUnitArray[1] to Hold Position.
    Unit - Order CaravanUnitArray[2] to Hold Position.
    Unit - Order CaravanUnitArray[3] to Hold Position.
    Unit - Order CaravanUnitArray[4] to Hold Position.
    Unit - Order CaravanUnitArray[5] to Hold Position.
    Trigger - Run Caravan_Orders_Resume <gen> (checking conditions)
    -------- Villagers Come out --------
    Unit - Create 1.Villager (Male) for Neutral Passive at (Center of Farm_04_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager12 = (Last created unit)
    Unit - Order Villager12 to Move To.(Center of 04Farm_04_Roaming_Units_B <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_04_Create_A <gen>) facing Default building facing degrees
    Set VariableSet Villager13 = (Last created unit)
    Unit - Order Villager13 to Move To.(Center of 04Farm_04_Roaming_Units_B <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male) for Neutral Passive at (Center of Farm_04_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager14 = (Last created unit)
    Unit - Order Villager14 to Move To.(Center of 04Farm_04_Roaming_Units_D <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_04_Create_B <gen>) facing Default building facing degrees
    Set VariableSet Villager15 = (Last created unit)
    Unit - Order Villager15 to Move To.(Center of 04Farm_04_Roaming_Units_D <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_04_Create_C <gen>) facing Default building facing degrees
    Set VariableSet Villager16 = (Last created unit)
    Unit - Order Villager16 to Move To.(Center of 04Farm_04_Roaming_Units_C <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_04_Create_C <gen>) facing Default building facing degrees
    Set VariableSet Villager17 = (Last created unit)
    Unit - Order Villager17 to Move To.(Center of 04Farm_04_Roaming_Units_C <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_04_Create_D <gen>) facing Default building facing degrees
    Set VariableSet Villager18 = (Last created unit)
    Unit - Order Villager18 to Move To.(Center of 04Farm_04_Roaming_Units_A <gen>)
    -------- - --------
    Unit - Create 1.Villager (Male 2) for Neutral Passive at (Center of Farm_04_Create_D <gen>) facing Default building facing degrees
    Set VariableSet Villager19 = (Last created unit)
    Unit - Order Villager19 to Move To.(Center of 04Farm_04_Roaming_Units_A <gen>)
    -------- Malganis Corruption --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_A <gen>) facing Default building facing degrees
    Set VariableSet MalGanis01 = (Last created unit)
    Unit - Set mana of MalGanis01 to 100%
    Unit - Hide MalGanis01
    Hero - Set MalGanis01 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis01: Special - Dark Conversion (Fast)
    Unit - Order MalGanis01 to Special Miscellaneous - Dark Conversion (Fast).Villager12
    -------- - --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_A <gen>) facing Default building facing degrees
    Set VariableSet MalGanis02 = (Last created unit)
    Unit - Set mana of MalGanis02 to 100%
    Unit - Hide MalGanis02
    Hero - Set MalGanis02 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis02: Special - Dark Conversion (Fast)
    Unit - Order MalGanis02 to Special Miscellaneous - Dark Conversion (Fast).Villager13
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_B <gen>) facing Default building facing degrees
    Set VariableSet MalGanis03 = (Last created unit)
    Unit - Set mana of MalGanis03 to 100%
    Unit - Hide MalGanis03
    Hero - Set MalGanis03 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis03: Special - Dark Conversion (Fast)
    Unit - Order MalGanis03 to Special Miscellaneous - Dark Conversion (Fast).Villager14
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_B <gen>) facing Default building facing degrees
    Set VariableSet MalGanis04 = (Last created unit)
    Unit - Set mana of MalGanis04 to 100%
    Unit - Hide MalGanis04
    Hero - Set MalGanis04 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis04: Special - Dark Conversion (Fast)
    Unit - Order MalGanis04 to Special Miscellaneous - Dark Conversion (Fast).Villager15
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_C <gen>) facing Default building facing degrees
    Set VariableSet MalGanis05 = (Last created unit)
    Unit - Set mana of MalGanis05 to 100%
    Unit - Hide MalGanis05
    Hero - Set MalGanis05 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis05: Special - Dark Conversion (Fast)
    Unit - Order MalGanis05 to Special Miscellaneous - Dark Conversion (Fast).Villager16
    -------- - --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_C <gen>) facing Default building facing degrees
    Set VariableSet MalGanis06 = (Last created unit)
    Unit - Set mana of MalGanis06 to 100%
    Unit - Hide MalGanis06
    Hero - Set MalGanis06 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis06: Special - Dark Conversion (Fast)
    Unit - Order MalGanis06 to Special Miscellaneous - Dark Conversion (Fast).Villager17
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_D <gen>) facing Default building facing degrees
    Set VariableSet MalGanis07 = (Last created unit)
    Unit - Set mana of MalGanis07 to 100%
    Unit - Hide MalGanis07
    Hero - Set MalGanis07 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis07: Special - Dark Conversion (Fast)
    Unit - Order MalGanis07 to Special Miscellaneous - Dark Conversion (Fast).Villager18
    -------- ---------- --------
    Unit - Create 1.Special MalGanis for Neutral Passive at (Center of Malganis_Farm_04_D <gen>) facing Default building facing degrees
    Set VariableSet MalGanis08 = (Last created unit)
    Unit - Set mana of MalGanis08 to 100%
    Unit - Hide MalGanis08
    Hero - Set MalGanis08 Hero-level to 6, Hide level-up graphics
    Hero - Learn skill for MalGanis08: Special - Dark Conversion (Fast)
    Unit - Order MalGanis08 to Special Miscellaneous - Dark Conversion (Fast).Villager19
    -------- --------- --------
    Unit - Create 1.Acolyte for Player 6 (Orange) at (Center of Acolyte_Appear <gen>) facing 160.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Acolyte_Move <gen>)
    -------- - --------
    Unit - Create 1.Acolyte for Player 6 (Orange) at (Center of Acolyte_Appear <gen>) facing 160.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Acolyte_Move <gen>)
    -------- - --------
    Unit - Create 1.Acolyte for Player 6 (Orange) at (Center of Acolyte_Appear <gen>) facing 160.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Acolyte_Move <gen>)
    -------- - --------
    Unit - Create 1.Acolyte for Player 6 (Orange) at (Center of Acolyte_Appear <gen>) facing 160.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Acolyte_Move <gen>)
    Set VariableSet BreadcrumbAllowed = BreadcrumbTotal
    Trigger - Run OrangeTown <gen> (checking conditions)
    Trigger - Run Ghouls04 <gen> (checking conditions)
    Wait 15.00 seconds
    If (GAMEOVER Equal to True) then do (Remove (This trigger) from the trigger queue) else do (Do nothing)
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- -----Remove Caravan Vision----- --------
    Visibility - Destroy VillageVis1
    Visibility - Destroy VillageVis2
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0210 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0216 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0217 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0218 <gen> to Player 9 (Gray)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 2 (Blue)
    Unit - Deny shared vision of Grain Caravan 0219 <gen> to Player 9 (Gray)
    Trigger - Run Destroy_Plague_04 <gen> (checking conditions)
    -------- --------- --------
    Trigger - Remove (This trigger) from the trigger queue
Dark Conversion Farm 04
  Events
    Unit - A unit owned by Neutral Passive.Spawns a summoned unit
  Conditions
    (Village_Check_04 <gen> contains (Summoned unit)) Equal to True
  Actions
    Unit - Change ownership of (Summoned unit) to Player 5 (Yellow) and Change color
    Unit - Replace (Summoned unit) with a Zombie using The old unit's relative life and mana
    Unit Group - Add (Last replaced unit) to Farm04CorruptedGroup
    -------- Need to wait for transformation finished --------
    Wait 4.00 seconds
    Unit - Remove MalGanis01 from the game
    Unit - Remove MalGanis02 from the game
    Unit - Remove MalGanis03 from the game
    Unit - Remove MalGanis04 from the game
    Unit - Remove MalGanis05 from the game
    Unit - Remove MalGanis06 from the game
    Unit - Remove MalGanis07 from the game
    Unit - Remove MalGanis08 from the game
    -------- --------- --------
    Trigger - Run Attack04 <gen> (checking conditions)
DialogueFarm04
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player 2 (Blue).Footman named Footman at (Position of TownHall[1]): Play H05Footman20 <gen> and display Prince Arthas, we've failed to stop the caravan! It's reached the final town and turned it into an undead bastion!. Modify duration: Add 0 seconds and Wait
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    If ((Arthas is alive) Equal to True) then do (Send transmission to (All players) from Arthas named Arthas: Play H05Arthas21 <gen> and display This is a nightmare!. Modify duration: Add 0 seconds and Wait) else do (Do nothing)
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of 03Village_Corruption_4_A <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility from (Center of 03Village_Corruption_4_A <gen>) to a radius of 1024.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of 03Village_Corruption_4_A <gen>) for 4.00 seconds
    Sound - Reset all volume channels to 100%
    Trigger - Turn off Caravan_Wagon_Dies_QUE <gen>
    Wait 2.00 seconds
    If (GAMEOVER Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Quest - Display to (All players) the Quest Failed message: |cffffcc00OPTIONAL QUEST FAILED|rThe Grain Caravan
    Quest - Mark GrainCaravanQuest as Failed
Ghouls04
  Events
  Conditions
  Actions
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_4_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm04CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_04_Ghouls_Move <gen>)
    -------- --------- --------
    Wait 0.20 seconds
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_4_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm04CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_04_Ghouls_Move <gen>)
    -------- --------- --------
    Wait 0.20 seconds
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_4_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm04CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_04_Ghouls_Move <gen>)
    -------- --------- --------
    Wait 0.20 seconds
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_4_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm04CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_04_Ghouls_Move <gen>)
    -------- --------- --------
    Wait 0.20 seconds
    Unit - Create 1.Ghoul for Player 5 (Yellow) at (Center of 03Village_Corruption_4_A <gen>) facing 0.00 degrees
    Unit Group - Add (Last created unit) to Farm04CorruptedGroup
    Unit - Order (Last created unit) to Move To.(Center of Farm_04_Ghouls_Move <gen>)
Attack04
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Wait 5.00 seconds
    Unit Group - Order Farm04CorruptedGroup to Attack-Move To.(Center of 02Hearthglen <gen>)
Blight
  Events
    Unit - A unit owned by Player 6 (Orange).Begins construction
  Conditions
  Actions
    Environment - Create Blight for Player 6 (Orange) from (Center of 04Farm04_Visibility <gen>) to a radius of 600.00.
    Trigger - Turn off (This trigger)
Create 40 Special Effects in Farm 01
Create Plague 04
  Events
  Conditions
  Actions
    For each (Integer A) from 1 to 7, do (Run Create_Plague_One_04 <gen> (checking conditions))
Playing the Plague cloud animation for farm 01
Create Plague One 04
  Events
  Conditions
  Actions
    Special Effect - Create a special effect at (Random point in 04Farm_04_Roaming_Units_A <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsA[(Integer A)] = (Last created special effect)
    Special Effect - Create a special effect at (Random point in 04Farm_04_Roaming_Units_B <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsB[(Integer A)] = (Last created special effect)
    Special Effect - Create a special effect at (Random point in 04Farm_04_Roaming_Units_C <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsC[(Integer A)] = (Last created special effect)
    Special Effect - Create a special effect at (Random point in 04Farm_04_Roaming_Units_D <gen>) using Units\Undead\PlagueCloud\PlagueCloud.mdl
    Set VariableSet PlagueCloudsD[(Integer A)] = (Last created special effect)
Destroy Plague 04
  Events
  Conditions
  Actions