1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  6. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  7. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  8. 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

Forgotten War COOP Mission 3.w3x
Variables
Main
My Triggers Kopírovat
Day timer hint
Day timer cancel
Day timer start
Initialization
IntroCinematic
HeroesDefeat
Victory
Testing
WinLarodar
WinGiants
WinHypp
WinCity
WinCod01
WinCod02
WinCod03
TestEclipseCin
Cinematics
SkipCinematic
OpenCinematic
CloseCinematic
xxxxxxxxxx
VictoryCinematic
RitualCinematic
EclipseCinematic
MagesQuestCin001
Heroes
HeroLevel
MainQuest
MoonstoneDestroyed01
RitualEnds01
RitualBegins01
ForestAttacks
RitualBroken01
EclipseAdvise
CityOfEternalFire
LarodarDefeat
GiantsDefeat
AvengersDefeat
VictoryCity
MagesQuest
InitMagesQuest
Portal001
Portal002
Portal003
RunningAIs
Larodar001
Avengers001
Avengers003
Giants001
LarodarOrder
GiantsOrder
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.

		
Name Type Is Array Initial Value
CinRunning boolean No
CinSkipped boolean No
CircleOfPower unit No
CodexCounter integer No
CompletedQuests integer No
EclipseFire effect Yes
ForestCounter integer No
HighPriest unit No
HighPriestCanDye boolean No
MagesReq01 questitem No
MagesReq02 questitem No
MagesReq03 questitem No
MainQuest quest No
MainReq01 questitem No
MainReq02 questitem No
MainReq03 questitem No
MainReq04 questitem No
QuestMages quest No
RitualTime integer No
Sage unit No
Timer01 timer No
TwoQuestsCounter integer No 0
My Triggers Kopírovat
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Player - Limit training of Heroes to 0 for Player 3 (Teal)
    Player - Make Ancestral Mage Unavailable for training/construction by Player 8 (Pink)
    Player - Make Ancestral Mage Unavailable for training/construction by Player 1 (Red)
    Player - Make Brutal Salamander Unavailable for training/construction by Player 1 (Red)
    Player - Make Brutal Salamander Unavailable for training/construction by Player 8 (Pink)
    Player - Make Temple of Ancestrals Available for training/construction by Player 8 (Pink)
    Player - Make Lizards Shed Available for training/construction by Player 1 (Red)
    Player - Make Red Ventar Available for training/construction by Player 1 (Red)
    Player - Set the current research level of R002 (techcode) to 1 for Player 1 (Red)
    Player - Set the max research level of R002 (techcode) to 1 for Player 8 (Pink)
    Player - Set the max research level of R002 (techcode) to 1 for Player 1 (Red)
    Player - Set the current research level of R00D (techcode) to 1 for Player 8 (Pink)
    Player - Make Temple of Ancestrals Available for training/construction by Player 8 (Pink)
    Player - Make Temple of Ancestrals Available for training/construction by Player 1 (Red)
    Player - Set the current research level of Rolf (techcode) to 1 for Player 8 (Pink)
    Player - Set the current research level of R002 (techcode) to 1 for Player 8 (Pink)
    Player - Set the max research level of Rers (techcode) to 0 for Player 4 (Purple)
    Player - Make Hippogryph Unavailable for training/construction by Player 5 (Yellow)
    Player - Enable Healing Wave (Ancestral) for Player 8 (Pink)
    Player - Enable Healing Wave (Neutral Hostile) for Player 8 (Pink)
    Player - Set the current research level of Rers (techcode) to 0 for Player 4 (Purple)
    Player - Change color of Player 8 (Pink) to Light Blue, Changing color of existing units
    Player - Make Eclipse Ziggurat Unavailable for training/construction by Player 8 (Pink)
    Player - Set the max research level of R00B (techcode) to 2 for Player 8 (Pink)
    Player - Set the max research level of R009 (techcode) to 2 for Player 8 (Pink)
    Player - Make Nerubian Forge Unavailable for training/construction by Player 8 (Pink)
    Player - Make Brutal Turtle Unavailable for training/construction by Player 8 (Pink)
    Player - Make Ancestral Sage Unavailable for training/construction by Player 8 (Pink)
    Player - Make Hippogryph Available for training/construction by Player 5 (Yellow)
    Player - Make Triax Commander Unavailable for training/construction by Player 8 (Pink)
    Player - Make Master Dragon Unavailable for training/construction by Player 8 (Pink)
    Player - Make Ancestral High Priest Unavailable for training/construction by Player 8 (Pink)
    Player - Make Player 8 (Pink) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Player 1 (Red) treat Player 8 (Pink) as an Ally with shared vision
    Player - Set Player 8 (Pink).Available free Heroes to 0
    Player - Set the current research level of R008 (techcode) to 1 for Player 1 (Red)
    Player - Set the current research level of R008 (techcode) to 1 for Player 8 (Pink)
    Player - Set the max research level of R00C (techcode) to 2 for Player 8 (Pink)
    Player - Make Chaos Obelisk Unavailable for training/construction by Player 8 (Pink)
    Player - Make Fire Lizard Available for training/construction by Player 1 (Red)
    Player - Make Brutal Turtle Unavailable for training/construction by Player 1 (Red)
Day timer hint
  Events
    Game - The in-game time of day becomes Greater than 5.00
  Conditions
  Actions
    Quest - Display to (All players) the Hint message: The day is coming, so be ready
Day timer cancel
  Events
    Game - The in-game time of day becomes Greater than 18.00
  Conditions
  Actions
    Trigger - Turn off Day_timer_hint <gen>
Day timer start
  Events
    Game - The in-game time of day becomes Greater than 3.00
  Conditions
  Actions
    Trigger - Turn on Day_timer_hint <gen>
Game initialization
Initialization
  Events
    Map initialization
  Conditions
  Actions
    -------- SPECIAL - HIGH PRIEST - --------
    Unit - Create 1.Ancestral High Priest for Player 8 (Pink) at (Center of HPPriests <gen>) facing 240.00 degrees
    Set VariableSet HighPriest = (Last created unit)
    Hero - Set HighPriest Hero-level to 4, Show level-up graphics
    Hero - Create Orb of Fire and give it to HighPriest
    Hero - Create Ankh of Reincarnation and give it to HighPriest
    Hero - Create Wand of Neutralization and give it to HighPriest
    -------- VARIABLES SETTINGS --------
    Set VariableSet HighPriestCanDye = False
    Set VariableSet CompletedQuests = 0
    Set VariableSet CodexCounter = 0
    Set VariableSet ForestCounter = 0
    Set VariableSet CinSkipped = False
    Set VariableSet CinRunning = False
    -------- --- --------
    Set VariableSet Sage = Ancestral Sage 0004 <gen>
    -------- GENERAL GAME SETTINGS --------
    Game - Set the time of day to 19.00
    Game - Set time of day speed to 20.00% of the default speed
    AI - Ignore the guard positions of all Player 2 (Blue) units
    AI - Ignore the guard positions of all Player 3 (Teal) units
    AI - Ignore the guard positions of all Player 4 (Purple) units
    AI - Ignore the guard positions of all Player 5 (Yellow) units
    AI - Ignore the guard positions of all Player 6 (Orange) units
    AI - Ignore the guard positions of all Player 7 (Green) units
    -------- SPECIFIC PLAYER SETTINGS --------
    Player - Make Player 3 (Teal) treat Neutral Hostile as an Ally with shared vision
    Player - Make Player 4 (Purple) treat Neutral Hostile as an Ally with shared vision
    Player - Make Player 5 (Yellow) treat Neutral Hostile as an Ally with shared vision
    Player - Make Neutral Hostile treat Player 3 (Teal) as an Ally with shared vision
    Player - Make Neutral Hostile treat Player 4 (Purple) as an Ally with shared vision
    Player - Make Neutral Hostile treat Player 5 (Yellow) as an Ally with shared vision
    Player - Make Player 1 (Red) treat Player 3 (Teal) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Enemy with shared vision
    Player - Hide Player 12 (Brown) in the post-game score screen
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    Player - Disable Perpetual Eclipse for Player 1 (Red)
    Player - Disable Perpetual Eclipse for Player 8 (Pink)
    Player - Disable Eclipse for Player 8 (Pink)
    Player - Disable Eclipse for Player 1 (Red)
    Player - Disable Eclipse (High Priest) for Player 8 (Pink)
    Player - Disable Eclipse (High Priest) for Player 1 (Red)
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    -------- QUEST SETTINGS --------
    -------- Main Quest --------
    Quest - Create a Required quest titled The Moonstone with the description The High Priest has a plan to finish the Sunlight Curse problem. First of all the Moonstone at the center of the lake has to be destroyed., using icon path ReplaceableTextures\PassiveButtons\PASBTNGenericSpellImmunity.blp
    Set VariableSet MainQuest = (Last created quest)
    Quest - Create a quest requirement for MainQuest with the description Destroy the Moonstone
    Set VariableSet MainReq01 = (Last created quest requirement)
    Quest - Create a quest requirement for MainQuest with the description Both heroes must survive
    Set VariableSet MainReq02 = (Last created quest requirement)
    Quest - Create a quest requirement for MainQuest with the description This quest must be finished before the dawn
    Set VariableSet MainReq03 = (Last created quest requirement)
    -------- Mages Quest --------
    Quest - Create a Required quest titled The Three Codices with the description The three Codices of Frost were lost when the Sunlight Curse started and we escaped to the underground; since then the Dragons keep them without even knowing what they are for., using icon path ReplaceableTextures\CommandButtons\BTNGlyph.blp
    Set VariableSet QuestMages = (Last created quest)
    Quest - Create a quest requirement for QuestMages with the description Bring any of you heroes to the first Codex
    Set VariableSet MagesReq01 = (Last created quest requirement)
    Quest - Create a quest requirement for QuestMages with the description Bring any of you heroes to the second Codex
    Set VariableSet MagesReq02 = (Last created quest requirement)
    Quest - Create a quest requirement for QuestMages with the description Bring any of you heroes to the third Codex
    Set VariableSet MagesReq03 = (Last created quest requirement)
IntroCinematic
  Events
    Time - Elapsed game time is 0.50 seconds
  Conditions
  Actions
    -------- Open Cinematic Mode --------
    Trigger - Run OpenCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to True), checking every 1 seconds
    -------- Music --------
    Sound - Stop music Immediately
    Sound - Play Orc Defeat.
    -------- The Show --------
    Player - Make Player 1 (Red) treat Player 7 (Green) as an Enemy
    Player - Make Player 8 (Pink) treat Player 7 (Green) as an Enemy
    Player - Make Player 7 (Green) treat Player 8 (Pink) as an Enemy
    Player - Make Player 7 (Green) treat Player 1 (Red) as an Enemy
    Camera - .Apply. gg_cam_Begin001 for Player 1 (Red) over 2.00 seconds
    Camera - .Apply. (Current camera) for Player 8 (Pink) over 2.00 seconds
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display It's an ambush!. Modify duration: Add 0 seconds and Wait
    Camera - .Apply. gg_cam_Begin002 for Player 1 (Red) over 10.00 seconds
    Camera - .Apply. gg_cam_Begin002 for Player 8 (Pink) over 10.00 seconds
    Wait 6.00 seconds
    Unit - Kill Brutal Lizard 0002 <gen>
    Unit - Kill Brutal Lizard 0003 <gen>
    Unit - Make Sage Invulnerable
    For each (Integer A) from 1 to 12, do (Actions)
      Loop - Actions
        Unit - Create 1.Black Ventar for Player 1 (Red) at (Random point in HPGuardians <gen>) facing 60.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Random point in Ambush001 <gen>)
        Unit - Create 1.Black Ventar for Player 8 (Pink) at (Random point in HPGuardians <gen>) facing 60.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Random point in Ambush001 <gen>)
    For each (Integer A) from 1 to 12, do (Actions)
      Loop - Actions
        Unit - Create 1.Eternal Fire Guardian for Player 8 (Pink) at (Random point in HPGuardians <gen>) facing 60.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Random point in Ambush001 <gen>)
    For each (Integer A) from 1 to 2, do (Actions)
      Loop - Actions
        Unit - Create 1.Ancestral Priest for Player 1 (Red) at (Random point in HPPriests <gen>) facing Default building facing degrees
        Unit - Order (Last created unit) to Attack-Move To.(Random point in Ambush001 <gen>)
    Wait 8.00 seconds
    -------- Music --------
    Sound - Stop music Immediately
    Sound - Play Heroic Victory.
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Achitect named Ancestral Architect at (Center of (Playable map area)): Play No sound and display The Guardians of the Eternal Fire!. Modify duration: Set to 6.00 seconds and Wait
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Achitect named Ancestral Architect at (Center of (Playable map area)): Play No sound and display We are saved!. Modify duration: Set to 4.00 seconds and Wait
    Unit Group - Pick every unit in (Units in Ambush001 <gen> owned by Player 7 (Green)) and do (Actions)
      Loop - Actions
        Unit - Kill (Picked unit)
    Unit - Order HighPriest to Move To.(Center of HighPriest001 <gen>)
    Unit - Create 1.Ancestral Priest for Player 1 (Red) at (Random point in HighPriest001 <gen>) facing 60.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Priest001 <gen>)
    Unit - Create 1.Ancestral Priest for Player 1 (Red) at (Random point in HighPriest001 <gen>) facing 60.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Priest001 <gen>)
    Unit - Create 1.Ancestral Priest for Player 1 (Red) at (Random point in HighPriest001 <gen>) facing 60.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of Priest002 <gen>)
    Unit - Order Sage to Move To.(Center of AncestralSage001 <gen>)
    Unit - Create 1.Ancestral Achitect for Player 1 (Red) at (Random point in Ambush001 <gen>) facing 60.00 degrees
    Unit - Create 1.Ancestral Achitect for Player 8 (Pink) at (Random point in Ambush001 <gen>) facing 60.00 degrees
    Unit - Make Sage Vulnerable
    Wait 4.00 seconds
    Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 4.00 seconds
    Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 4.00 seconds
    Wait 4.00 seconds
    -------- FIRST DIALOGUE HIGH PRIEST - SAGE --------
    Unit Group - Pick every unit in (Units in Priest001 <gen>) and do (Move (Picked unit) instantly to (Center of Priest001 <gen>), facing 50.00 degrees)
    Unit Group - Pick every unit in (Units in Priest002 <gen>) and do (Move (Picked unit) instantly to (Center of Priest002 <gen>), facing 50.00 degrees)
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Greetings, Great Sage, it seems that we just arrived at the right time.. Modify duration: Set to 8.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Not really, we have just lost our last two lizards.. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Those beings were most valuable.. Modify duration: Set to 5.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display I am not going to waste the Divine Power of Taor only to resurrect a couple of lizards!. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display As you wish…. Modify duration: Set to 4.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display As Taor wishes!. Modify duration: Set to 5.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Anyway, your work until now has been excellent.. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display I am aware of what you did with that village of hunters.... Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Not to forget that again we control the Main Gate to the surface.. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Nothing has been done… since everything had already happened.. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Always speaking in riddles... is that what you call Wisdom?. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display You know where we are, don't you?. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Of course I know, in this place we built the Sacred City of the Cold Flame.. Modify duration: Set to 8.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display All these "mystic" powers in the environment are nothing but the remnants of the glory of our destroyed city.. Modify duration: Set to 9.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Powers that actually we brought in here.. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display And all these bunch of pseudo-divine creatures are nothing but poor creeps that have been intoxicated with energies that they cannot handle.. Modify duration: Set to 14.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display I feel too much pity about these... twisted creatures.. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display They venerate as sacred what only was a toy for us. . Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display About that, they are wiser than us.. Modify duration: Set to 6.00 seconds and Wait
    -------- QUEST MOONSTONE - STEP ONE - --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Well.... Modify duration: Set to 3.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display This mission has the most importance if we are ever going to bring the Triax Army to the surface.. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display That is the reason why I am here... we cannot allow ourselves to fail.. Modify duration: Set to 8.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display My presence here doesn't mean that things are going to be easier now but on the contrary, things are going to be even harder.. Modify duration: Set to 8.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display specially because we are already late, as you should have realized, the Elves are not as primitive as I expected and they have acquired some magical powers.. Modify duration: Set to 15.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display So, we must proceed with the same cunning and caution as you have already been doing.. Modify duration: Set to 9.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display If we succeed, we will not have to be afraid of the Sunlight Curse anymore.. Modify duration: Set to 8.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Fade out and back in over 6.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 3.00 seconds
    Camera - .Apply. gg_cam_Moonstone001 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Moonstone001 for Player 8 (Pink) over 0 seconds
    Wait 2.00 seconds
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display There is a rock that was a piece of the Cold Flame Temple in the island at the center of the lake.... Modify duration: Set to 9.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display ...these creatures call it the Moonstone.. Modify duration: Set to 5.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Quest - Mark MainQuest as Discovered
        Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - The High Priest must survive - This quest must be finished before the dawn
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Our first step is to destroy it, then I will tell you the rest.. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Fade out and back in over 6.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 3.00 seconds
    Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
    Wait 1.00 seconds
    -------- Close Cinematic Mode --------
    Trigger - Run MagesQuestCin001 <gen> (checking conditions)
HeroesDefeat
  Events
    Unit - A unit Dies
  Conditions
    And - All (Conditions) are true
      Conditions
        HighPriestCanDye Equal to False
        Or - Any (Conditions) are true
          Conditions
            (Triggering unit) Equal to HighPriest
            (Triggering unit) Equal to Sage
  Actions
    Game - Defeat Player 1 (Red) with the message: Defeat!A hero has fallen.
Victory
  Events
  Conditions
  Actions
    -------- Display Cinematic --------
    Trigger - Run OpenCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to True), checking every 1 seconds
    Trigger - Run VictoryCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to False), checking every 1 seconds
    Trigger - Run CloseCinematic <gen> (checking conditions)
    -------- End of Cinematic --------
    Game - Set the next level to Map04.w3x
    Game - Show custom campaign button 7
    Game - Victory Player 1 (Red) (Show dialogs, Show scores)
    Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
WinLarodar
  Events
    Player - Player 1 (Red) types a chat message containing larodar (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run LarodarDefeat <gen> (ignoring conditions)
WinGiants
  Events
    Player - Player 1 (Red) types a chat message containing giants (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run GiantsDefeat <gen> (ignoring conditions)
WinHypp
  Events
    Player - Player 1 (Red) types a chat message containing hyp (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run AvengersDefeat <gen> (ignoring conditions)
WinCity
  Events
    Player - Player 1 (Red) types a chat message containing city (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run CityOfEternalFire <gen> (ignoring conditions)
WinCod01
  Events
    Player - Player 1 (Red) types a chat message containing cod01 (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run Portal001 <gen> (ignoring conditions)
WinCod02
  Events
    Player - Player 1 (Red) types a chat message containing cod02 (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run Portal002 <gen> (ignoring conditions)
WinCod03
  Events
    Player - Player 1 (Red) types a chat message containing cod03 (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Run Portal003 <gen> (ignoring conditions)
TestEclipseCin
  Events
    Player - Player 1 (Red) types a chat message containing eclipse (stringnoformat) as An exact match
  Conditions
  Actions
    -------- Display Cinematic --------
    Trigger - Run OpenCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to True), checking every 1 seconds
    Trigger - Run EclipseCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to False), checking every 1 seconds
    Cinematic - Fade in over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Trigger - Run CloseCinematic <gen> (checking conditions)
    -------- End of Cinematic --------
SkipCinematic
  Events
    Player - Player 1 (Red) skips a cinematic sequence
    Player - Player 8 (Pink) skips a cinematic sequence
  Conditions
  Actions
    Set VariableSet CinSkipped = True
OpenCinematic
  Events
  Conditions
  Actions
    -------- SETTING ENVIROMENT --------
    Game - Turn the day/night cycle Off
    Environment - Set sky to Lordaeron Fall Sky
    -------- PLAYER SETTINGS --------
    Player - Make Player 1 (Red) treat Player 2 (Blue) as an Neutral
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Neutral
    Player - Make Player 8 (Pink) treat Player 2 (Blue) as an Neutral
    Player - Make Player 1 (Red) treat Player 3 (Teal) as an Neutral
    Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Neutral
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Neutral
    Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Neutral
    Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Neutral
    Player - Make Player 8 (Pink) treat Player 6 (Orange) as an Neutral
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Neutral
    Player - Make Player 8 (Pink) treat Player 7 (Green) as an Neutral
    Player - Make Player 1 (Red) treat Player 7 (Green) as an Neutral
    -------- - --------
    Player - Make Player 2 (Blue) treat Player 1 (Red) as an Neutral
    Player - Make Player 2 (Blue) treat Player 8 (Pink) as an Neutral
    Player - Make Player 3 (Teal) treat Player 1 (Red) as an Neutral
    Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Neutral
    Player - Make Player 4 (Purple) treat Player 1 (Red) as an Neutral
    Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Neutral
    Player - Make Player 5 (Yellow) treat Player 1 (Red) as an Neutral
    Player - Make Player 5 (Yellow) treat Player 8 (Pink) as an Neutral
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Neutral
    Player - Make Player 6 (Orange) treat Player 8 (Pink) as an Neutral
    Player - Make Player 7 (Green) treat Player 1 (Red) as an Neutral
    Player - Make Player 7 (Green) treat Player 1 (Red) as an Neutral
    -------- - --------
    -------- SETTING CINEMATIC MODE --------
    Unit Group - Order (Units owned by Player 1 (Red).) to Stop
    Unit Group - Order (Units owned by Player 8 (Pink).) to Stop
    Unit Group - Remove all units from (Units currently selected by Player 1 (Red)).
    Unit Group - Remove all units from (Units currently selected by Player 8 (Pink)).
    -------- - --------
    Cinematic - Disable user control for (All players).
    Cinematic - Turn cinematic mode On for Player Group - Player 1 (Red)
    Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2 seconds
    -------- - --------
    Hero - Disable experience gain for Sage.
    Hero - Disable experience gain for Sage.
    Hero - Disable experience gain for HighPriest.
    Hero - Disable experience gain for HighPriest.
    -------- - --------
    Wait 1.00 seconds
    Set VariableSet CinSkipped = False
    Set VariableSet CinRunning = True
    -------- - --------
CloseCinematic
  Events
  Conditions
  Actions
    Set VariableSet CinSkipped = False
    -------- SETTING OFF CINEMATIC MODE --------
    Cinematic - Turn cinematic mode Off for Player Group - Player 1 (Red)
    Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2 seconds
    Cinematic - Enable user control for (All players).
    Camera - Reset camera for Player 1 (Red) to standard game-view over 1.00 seconds
    Camera - Reset camera for Player 8 (Pink) to standard game-view over 1.00 seconds
    Unit - Unpause all units
    Hero - Enable experience gain for Sage.
    Hero - Enable experience gain for HighPriest.
    -------- SETTING ENVIROMENT --------
    Game - Turn the day/night cycle On
    Game - Set time of day speed to 20.00% of the default speed
    Environment - Set sky to None
    -------- - --------
    -------- PLAYER SETTINGS --------
    Player - Make Player 8 (Pink) treat Player 2 (Blue) as an Enemy
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 7 (Green) as an Enemy
    Player - Make Player 8 (Pink) treat Player 6 (Orange) as an Enemy
    Player - Make Player 1 (Red) treat Player 2 (Blue) as an Enemy
    Player - Make Player 1 (Red) treat Player 3 (Teal) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Enemy
    Player - Make Player 1 (Red) treat Player 7 (Green) as an Enemy
    -------- - --------
    Player - Make Player 2 (Blue) treat Player 1 (Red) as an Enemy
    Player - Make Player 2 (Blue) treat Player 8 (Pink) as an Enemy
    Player - Make Player 3 (Teal) treat Player 1 (Red) as an Enemy
    Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Enemy
    Player - Make Player 4 (Purple) treat Player 1 (Red) as an Enemy
    Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 1 (Red) as an Enemy
    Player - Make Player 5 (Yellow) treat Player 8 (Pink) as an Enemy
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Enemy
    Player - Make Player 6 (Orange) treat Player 8 (Pink) as an Enemy
    Player - Make Player 7 (Green) treat Player 1 (Red) as an Enemy
    Player - Make Player 7 (Green) treat Player 8 (Pink) as an Enemy
    -------- - --------
    Wait 1.00 seconds
    Set VariableSet CinRunning = False
xxxxxxxxxx
  Events
  Conditions
  Actions
VictoryCinematic
  Events
  Conditions
  Actions
    Game - Set the time of day to 0.00
    Game - Turn the day/night cycle Off
    -------- Settings --------
    Unit Group - Pick every unit in (Units in BigEnd <gen> matching ((Owner of (Matching unit)) Not equal to Player 1 (Red))) and do (Actions)
      Loop - Actions
        Unit - Remove (Picked unit) from the game
    Unit - Remove Sage from the game
    Unit - Create 1.Ancestral Sage for Player 1 (Red) at (Center of FinalSage001 <gen>) facing 180.00 degrees
    Set VariableSet Sage = (Last created unit)
    Unit - Remove HighPriest from the game
    Unit - Create 1.Ancestral High Priest for Player 1 (Red) at (Center of FinalHighPriest001 <gen>) facing 180.00 degrees
    Set VariableSet HighPriest = (Last created unit)
    Unit - Create 1.Keeper of the Grove for Neutral Passive at (Center of FinalLarodar <gen>) facing 0.00 degrees
    -------- Music --------
    Sound - Stop music Immediately
    Sound - Play Night Elf Defeat.
    -------- The Show --------
    Cinematic - Fade out and back in over 6.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 3.00 seconds
    Camera - .Apply. gg_cam_Victory001 for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Victory001 for Player 8 (Pink) over 0 seconds
    Wait 2 seconds
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Keeper of the Grove named Larodar at (Center of (Playable map area)): Play No sound and display Why... just tell me why do you hate all that's alive?. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display .... Modify duration: Set to 7.00 seconds and Wait
    Unit - Order Sage to Attack.(Last created unit)
    Wait 4.00 seconds
    Unit - Kill (Last created unit)
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display That was very unusual from you.. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Why did you not answer to him?. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Because anyway, he never listens.... Modify duration: Set to 8.00 seconds and Wait
    Wait 2 seconds
    -------- Closing Cinematic --------
    Wait 3.00 seconds
    Set VariableSet CinRunning = False
RitualCinematic
  Events
  Conditions
  Actions
    Game - Set the time of day to 0.00
    Game - Turn the day/night cycle Off
    -------- Music --------
    Sound - Stop music Immediately
    Sound - Play Sad Mystery.
    -------- The Show --------
    Unit - Pause all units
    Camera - .Apply. gg_cam_Moonstone002 for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Moonstone002 for Player 8 (Pink) over 0 seconds
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Everything is proceeding as it should.... Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display ...now I will perform a ritual so I will be able to control again the dark powers of the Cold Flame.. Modify duration: Set to 8.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display It was too easy to destroy the Moonstone, there is too much silence here.... Modify duration: Add 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display I wouldn't be surprised if they'd ambush us again.. Modify duration: Add 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Then you already know what you have to do, the ritual must not be interrupted!. Modify duration: Set to 9.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    -------- Closing Cinematic --------
    Unit - Unpause all units
    Set VariableSet CinRunning = False
EclipseCinematic
  Events
  Conditions
  Actions
    Unit - Pause all units
    Game - Set the time of day to 0.00
    Game - Turn the day/night cycle Off
    Trigger - Run OpenCinematic <gen> (checking conditions)
    -------- Music --------
    Sound - Stop music Immediately
    Sound - Play Sad Mystery.
    -------- The Show --------
    Camera - .Apply. gg_cam_Moonstone003 for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Moonstone003 for Player 8 (Pink) over 0 seconds
    -------- NEW MISSION --------
    Wait 4.00 seconds
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Now that I have recovered the powers of the Cold Flame.... Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display ...and with the shards of the Moonstone we just destroyed.... Modify duration: Set to 5.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display ...we will be able to build a new kind of city. . Modify duration: Set to 5.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display This building will protect us from the light, bringing perpetual darkness to the sky.... Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Architects, I want you to immediately start building this new structure and upgrade it to its ultimate form, the City of the Eternal Fire!. Modify duration: Set to 14.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    -------- -------------------------- --------
    -------- MANAGING THE SUNLIGHT CURSE --------
    Cinematic - Fade out over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 10.00% transparency
    Wait 6.00 seconds
    -------- -------------------------- --------
    Game - Display to (All players) for 18.00 seconds the text: THE SUNLIGHT CURSEAs you already know there are certain units that are sunlight vulnerable, these are the 'explicit ancestral units'.When the time of the day is between 6:00 and 18:00 hrs these units start to lose hit points at a very fast rate until they die.
    Wait 19.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Game - Display to (All players) for 17.00 seconds the text: These units are the Ancestral Architect, Ancestral Warrior, Ancestral Priest, Ancestral Mage and the Ethereal Drake.Also the heroes the High Priest and the Triax Commander are sunlight vulnerable.By the way, the Ancestral Sage is not sunlight vulnerable!
    Wait 18.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Game - Display to (All players) for 16.00 seconds the text: To protect itself from the sunlight, the Ancestral Architect can burrow itself but is the only unit that can do that.For the rest of the sunlight vulnerable units there is nothing that can protect them from this damage... during the day.
    Wait 17.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Game - Display to (All players) for 20.00 seconds the text: Thereby, special spells have been developed to protect these units...- Perpetual Eclipse : You can cast this spell at your Eclipse Ziggurat or any of its upgrades. The eclipse last 300 seconds and it has a cooldown time of 290 seconds. - Eclipse : The priests have a short version that only last 60 seconds, that is not much actually but can help in case of an emergency.
    Wait 21.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Game - Display to (All players) for 15.00 seconds the text: To keep your Ancestral units alive, you will have to periodically cast Perpetual Eclipse at your home town. It is not automatic!
    Wait 16.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Game - Display to (All players) for 19.00 seconds the text: BASIC HINTS- It is not really necessary but having more than one home town could be safer- To get an idea of how much time remains of the actual Perpetual Eclipse, you can look at the "cooldown progress clock" that appears at the icon where you casted the spell (exactly the same button that you pressed to cast the spell)
    Wait 20.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    -------- -------------------------- --------
    Cinematic - Fade in over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    -------- -------------------------- --------
    -------- -------------------------- --------
    -------- FOREST CREATURES --------
    -------- -------------------------- --------
    Unit - Move Keeper of the Grove 0149 <gen> instantly to (Center of Larodar001 <gen>), facing 230.00 degrees
    Wait 1.00 seconds
    Camera - .Apply. gg_cam_Larodar001 for Player 1 (Red) over 4.00 seconds
    Camera - .Apply. gg_cam_Larodar001 for Player 8 (Pink) over 4.00 seconds
    Wait 2.00 seconds
    Cinematic - Send transmission to (All players) from a Player 3 (Teal).Keeper of the Grove named Larodar at (Center of (Playable map area)): Play No sound and display So, things are going well for you, aren't they?. Modify duration: Set to 7.00 seconds and Wait
    Cinematic - Send transmission to (All players) from a Player 3 (Teal).Keeper of the Grove named Larodar at (Center of (Playable map area)): Play No sound and display My little twisted lizard, we are not going to allow you to take our forest and to misuse its magic.. Modify duration: Set to 9.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 3 (Teal).Keeper of the Grove named Larodar at (Center of (Playable map area)): Play No sound and display You have already desecrated this forest and now you want to bring darkness to this world of light…. Modify duration: Set to 8.00 seconds and Wait
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display This is only the flow of the destiny, nothing else.... Modify duration: Add 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display So, for the last time... just stay away and you will survive!. Modify duration: Add 7.00 seconds and Wait
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display It is clear to me that our new city is not going to be safe unless we eliminate the plague of corrupted beings that inhabit this land.... Modify duration: Set to 9.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display We will give to them the peace of death.. Modify duration: Set to 7.00 seconds and Wait
    Cinematic - Send transmission to (All players) from a Player 3 (Teal).Keeper of the Grove named Larodar at (Center of (Playable map area)): Play No sound and display Who are you to speak with so much pride?. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 3 (Teal).Keeper of the Grove named Larodar at (Center of (Playable map area)): Play No sound and display Not until the end of the battle we'll know who stays alive and who dies.. Modify duration: Set to 7.00 seconds and Wait
    Camera - .Apply. gg_cam_Giants001 for Player 1 (Red) over 4.00 seconds
    Camera - .Apply. gg_cam_Giants001 for Player 8 (Pink) over 4.00 seconds
    Wait 5.00 seconds
    Camera - Lock camera target for Player 1 (Red) to Mountain Giant 0165 <gen>, offset by (0, 0) using Default rotation
    Camera - Lock camera target for Player 8 (Pink) to Mountain Giant 0165 <gen>, offset by (0, 0) using Default rotation
    Cinematic - Send transmission to (All players) from a Player 3 (Teal).Mountain Giant named Mountain Giant at (Center of (Playable map area)): Play No sound and display You must know that Larodar is not alone, wicked lizards!. Modify duration: Set to 12.00 seconds and Don't wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Wait 4.00 seconds
    Camera - Reset camera for Player 1 (Red) to standard game-view over 3.00 seconds
    Camera - Reset camera for Player 8 (Pink) to standard game-view over 3.00 seconds
    Wait 2.00 seconds
    Camera - .Apply. gg_cam_Hippogryph001 for Player 1 (Red) over 4.00 seconds
    Camera - .Apply. gg_cam_Hippogryph001 for Player 8 (Pink) over 4.00 seconds
    Wait 8.00 seconds
    Camera - .Apply. gg_cam_Moonstone001 for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Moonstone001 for Player 8 (Pink) over 0 seconds
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Poor creeps, they just can't realize that the result of this battle has already been settled.... Modify duration: Add 6.00 seconds and Wait
    -------- Closing Cinematic --------
    Trigger - Run CloseCinematic <gen> (checking conditions)
    Unit - Unpause all units
    Camera - .Apply. gg_cam_Camera_013 for Player 1 (Red) over 0.30 seconds
    Camera - .Apply. gg_cam_Camera_013 for Player 8 (Pink) over 0.30 seconds
    Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
    Camera - Reset camera for Player 8 (Pink) to standard game-view over 0 seconds
    Set VariableSet CinRunning = False
MagesQuestCin001
  Events
  Conditions
  Actions
    Camera - .Apply. gg_cam_Codex001 for Player 1 (Red) over 4.00 seconds
    Camera - .Apply. gg_cam_Codex001 for Player 8 (Pink) over 4.00 seconds
    Wait 4.00 seconds
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Of course... the Codices of the City!. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Well, it seems that now they belong to the Blue Dragons.. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display You have a very twisted sense of humor.. Modify duration: Set to 5.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Those stupid creatures don't even know what they are for.. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Should we recover them?. Modify duration: Set to 6.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display How can you even ask like that? We cannot leave those Codices!. Modify duration: Set to 7.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral High Priest named Ancestral High Priest at (Center of (Playable map area)): Play No sound and display Besides, as soon as we get them all I will be able to recall some mages that are just waiting for the moment to aid us.. Modify duration: Set to 12.00 seconds and Wait
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CinSkipped Equal to True
      Then - Actions
        Set VariableSet CinSkipped = False
        Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
        Wait 1.00 seconds
        Trigger - Run CloseCinematic <gen> (checking conditions)
        Skip remaining actions
      Else - Actions
    Cinematic - Send transmission to (All players) from a Player 1 (Red).Ancestral Sage named Ancestral Sage at (Center of (Playable map area)): Play No sound and display Either you... or me.. Modify duration: Set to 6.00 seconds and Wait
    Camera - .Apply. gg_cam_Begin003 for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Begin003 for Player 8 (Pink) over 0 seconds
    Wait 2 seconds
    Trigger - Run InitMagesQuest <gen> (checking conditions)
    Wait until (CinRunning Equal to False), checking every 1 seconds
    Trigger - Run CloseCinematic <gen> (checking conditions)
    Wait 3.00 seconds
    Quest - Mark MainQuest as Discovered
    Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Moonstone - Destroy the Moonstone - Both heroes must survive - This quest must be finished before the dawn
HeroLevel
  Events
    Unit - A unit Gains a level
  Conditions
    (Hero level of (Triggering unit)) Greater than or equal to 6
  Actions
    Hero - Disable experience gain for (Triggering unit).
MoonstoneDestroyed01
  Events
    Unit - Moonstone 0032 <gen> Dies
  Conditions
    And - All (Conditions) are true
      Conditions
        (Chimaera 0108 <gen> is alive) Equal to False
        (Chimaera 0109 <gen> is alive) Equal to False
        (Chimaera 0110 <gen> is alive) Equal to False
        (Dryad 0259 <gen> is alive) Equal to False
        (Dryad 0257 <gen> is alive) Equal to False
  Actions
    Sound - Play Night <gen>
    Game - Set the time of day to 0.00
    Unit - Remove (Triggering unit) from the game
    Special Effect - Create a special effect at (Center of MoonTemple001 <gen>) using Abilities\Spells\Other\Charm\CharmTarget.mdl
    Wait 3.00 seconds
    Unit - Create 1.Circle of Power (medium) for Player 1 (Red) at (Center of MoonTemple003 <gen>) facing Default building facing degrees
    Set VariableSet CircleOfPower = (Last created unit)
    Trigger - Turn on RitualBegins01 <gen>
    Unit Group - Pick every unit in (Units in MoonTemple001 <gen> matching ((Owner of (Matching unit)) Equal to Player 1 (Red))) and do (Order (Picked unit) to Stop.)
    Unit - Move HighPriest instantly to (Random point in MoonTemple005 <gen>), facing 90.00 degrees
    Unit - Move Sage instantly to (Random point in MoonTemple005 <gen>), facing 90.00 degrees
    Wait 2 seconds
    -------- Display Cinematic --------
    Trigger - Run OpenCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to True), checking every 1 seconds
    Trigger - Run RitualCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to False), checking every 1 seconds
    Trigger - Run CloseCinematic <gen> (checking conditions)
    -------- End of Cinematic --------
    Quest - Change the title of MainQuest to Perpetual Eclipse
    Quest - Change the description of MainQuest to The High Priest has a plan to finish the Sunlight Curse problem. Now, the High Priest will perform a ritual to absorb the dark energies of the cold flame, bring him to the Circle and protect him!
    Quest - Change the description of MainReq01 to Perform the High Priest Ritual
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST|rPerpetual Eclipse - Bring the High Priest to the Circle of Power - The High Priest has to remain in the Circle until the ritual finishes - Both heroes must survive
RitualEnds01
  Events
    Time - Timer01 expires
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off RitualBegins01 <gen>
    Trigger - Turn off RitualBroken01 <gen>
    Unit - Remove CircleOfPower from the game
    Unit - Remove CircleOfPower from the game
    Destructible - Remove ForceWall 2162 <gen>
    Destructible - Remove ForceWall 2167 <gen>
    Destructible - Remove ForceWall 2169 <gen>
    Destructible - Remove ForceWall 2183 <gen>
    Destructible - Remove ForceWall 2165 <gen>
    Destructible - Remove ForceWall 2189 <gen>
    Destructible - Remove ForceWall 2184 <gen>
    Destructible - Remove ForceWall 2191 <gen>
    Destructible - Remove ForceWall 2190 <gen>
    Countdown Timer - Destroy (Last created timer window)
    Unit - Change ownership of HighPriest to Player 8 (Pink) and Retain color
    Unit - Set life of HighPriest to 100%
    Wait 2 seconds
    Quest - Display to Player Group - Player 1 (Red) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|rPerpetual Eclipse
    Player - Add 2500 to Player 1 (Red).Current gold
    Player - Add 2500 to Player 8 (Pink).Current gold
    Game - Set the time of day to 0.00
    Player - Make Eclipse Ziggurat Available for training/construction by Player 1 (Red)
    Player - Make Eclipse Ziggurat Available for training/construction by Player 8 (Pink)
    Unit - Move HighPriest instantly to (Center of MoonTemple002 <gen>), facing 300.00 degrees
    Wait 2 seconds
    -------- Display Cinematic --------
    Trigger - Run OpenCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to True), checking every 1 seconds
    Trigger - Run EclipseCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to False), checking every 1 seconds
    Cinematic - Fade in over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Trigger - Run CloseCinematic <gen> (checking conditions)
    -------- End of Cinematic --------
    Set VariableSet HighPriestCanDye = True
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    Player - Enable Perpetual Eclipse for Player 1 (Red)
    Player - Enable Perpetual Eclipse for Player 8 (Pink)
    Player - Enable Eclipse for Player 1 (Red)
    Player - Enable Eclipse for Player 8 (Pink)
    Player - Enable Eclipse (High Priest) for Player 1 (Red)
    Player - Enable Eclipse (High Priest) for Player 8 (Pink)
    -------- xxxxxxxxxxxxxxxxxxxxxxxxxxxx --------
    Unit - Create 1 Ancestral Achitect for Player 1 (Red) at (Random point in MoonTemple005 <gen>) facing (Position of HighPriest)
    Unit - Create 1 Ancestral Achitect for Player 1 (Red) at (Random point in MoonTemple005 <gen>) facing (Position of HighPriest)
    Unit - Create 1 Ancestral Achitect for Player 1 (Red) at (Random point in MoonTemple005 <gen>) facing (Position of HighPriest)
    Unit - Create 1.Ancestral Achitect for Player 8 (Pink) at (Random point in MoonTemple005 <gen>) facing Default building facing degrees
    Unit - Create 1.Ancestral Achitect for Player 8 (Pink) at (Random point in MoonTemple005 <gen>) facing Default building facing degrees
    Unit - Create 1.Ancestral Achitect for Player 8 (Pink) at (Random point in MoonTemple005 <gen>) facing Default building facing degrees
    Quest - Destroy MainQuest
    Quest - Create a Required quest titled City of the Eternal Fire with the description Now that the High Priest has absorbed the dark powers of the Moonstone, we can build Eclipse Ziggurats that will perpetrate darkness protecting us from the sunlight. This structure has to be upgraded until it becomes a City of the Eternal Fire., using icon path ReplaceableTextures\CommandButtons\BTNNerubianZiggurat.blp
    Set VariableSet MainQuest = (Last created quest)
    Quest - Create a quest requirement for MainQuest with the description Build a City of the Eternal Fire
    Set VariableSet MainReq01 = (Last created quest requirement)
    Quest - Create a quest requirement for MainQuest with the description Destroy Larodar Forces
    Set VariableSet MainReq02 = (Last created quest requirement)
    Quest - Create a quest requirement for MainQuest with the description Destroy Mountain Giants Forces
    Set VariableSet MainReq03 = (Last created quest requirement)
    Quest - Create a quest requirement for MainQuest with the description Destroy Hippogryph Avengers
    Set VariableSet MainReq04 = (Last created quest requirement)
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST|rCity of the Eternal Fire - Build a City of the Eternal Fire - Destroy the Larodar's Forces - Destroy the Mountain Giants - Destroy the Hippogryph Avengers
    Wait 4.00 seconds
    Quest - Display to (All players) the New Unit Acquired message: |cffffcc00NEW STRUCTURE AVAILABLE|rEclipse Ziggurat Primary structure, used to train Ancestral Architects, receives gathered resources and can cast Perpetual Eclipse.
    -------- SPECIFIC PLAYER SETTINGS --------
    Player - Make Player 1 (Red) treat Player 3 (Teal) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Enemy with shared vision
    Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Enemy with shared vision
    Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Enemy with shared vision
RitualBegins01
  Events
    Unit - A unit enters MoonTemple002 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Triggering unit) Equal to HighPriest
        (Triggering unit) Equal to Sage
  Actions
    Trigger - Turn off (This trigger)
    Unit - Change ownership of HighPriest to Player 12 (Brown) and Retain color
    Special Effect - Create a special effect attached to the overhead (attachpoint) of CircleOfPower using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl
    Unit - Move (Triggering unit) instantly to (Center of MoonTemple002 <gen>), facing 270.00 degrees
    Wait 1.00 seconds
    Countdown Timer - Start Timer01 as a One-shot timer that will expire in 45.00 seconds
    Countdown Timer - Create a timer window for (Last started timer) with title Eclipse Ritual
    Trigger - Run ForestAttacks <gen> (checking conditions)
Only three waves!
ForestAttacks
  Events
  Conditions
    ForestCounter Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet ForestCounter = 1
    For each (Integer A) from 1 to 10, do (Actions)
      Loop - Actions
        Unit - Create 1.Dryad for Player 3 (Teal) at (Random point in StopSpell01 <gen>) facing 225.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Center of MoonTemple002 <gen>)
    For each (Integer A) from 1 to 3, do (Actions)
      Loop - Actions
        Unit - Create 1.Enraged Wildkin for Player 5 (Yellow) at (Random point in StopSpell03 <gen>) facing 315.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Center of MoonTemple002 <gen>)
        Unit - Create 1.Hippogryph for Player 5 (Yellow) at (Random point in StopSpell03 <gen>) facing 315.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Center of MoonTemple002 <gen>)
    For each (Integer A) from 1 to 2, do (Actions)
      Loop - Actions
        Unit - Create 1.Mountain Giant for Player 4 (Purple) at (Random point in StopSpell02 <gen>) facing 135.00 degrees
        Unit - Order (Last created unit) to Attack-Move To.(Center of MoonTemple002 <gen>)
RitualBroken01
  Events
    Unit - A unit leaves MoonTemple002 <gen>
  Conditions
    (Triggering unit) Equal to HighPriest
  Actions
    Countdown Timer - Destroy (Last created timer window)
EclipseAdvise
  Events
    Unit - A unit owned by Player 1 (Red).Finishes construction
    Unit - A unit owned by Player 8 (Pink).Finishes construction
  Conditions
    (Number of living Eclipse Ziggurat units owned by Player 1 (Red)) Greater than or equal to 1
  Actions
    Trigger - Turn off (This trigger)
    Quest - Display to (All players) the Hint message: |cff32CD32HINT|r - Now that you have your Eclipse Ziggurat you can cast Eclipse and protect all your Ancestral units from the sunlight!
CityOfEternalFire
  Events
    Unit - A unit owned by Player 1 (Red).Finishes an upgrade
    Unit - A unit owned by Player 8 (Pink).Finishes an upgrade
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Number of living City of the Eternal Fire units owned by Player 1 (Red)) Greater than or equal to 1
        (Number of living City of the Eternal Fire units owned by Player 8 (Pink)) Greater than or equal to 1
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MainReq01 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rCity of the Eternal Fire - City of the Eternal Fire Completed!
    Set VariableSet CompletedQuests = (CompletedQuests + 1)
    Wait 1.00 seconds
    If (CompletedQuests Equal to 4) then do (Run VictoryCity <gen> (checking conditions)) else do (Do nothing)
LarodarDefeat
  Events
    Unit - A unit owned by Player 3 (Teal).Dies
  Conditions
    And - All (Conditions) are true
      Conditions
        (Count structures controlled by Player 3 (Teal) (Exclude incomplete structures)) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MainReq02 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rCity of the Eternal Fire - Destroy Larodar Forces Completed!
    Set VariableSet CompletedQuests = (CompletedQuests + 1)
    Wait 1.00 seconds
    If (CompletedQuests Equal to 4) then do (Run VictoryCity <gen> (checking conditions)) else do (Do nothing)
GiantsDefeat
  Events
    Unit - A unit owned by Player 4 (Purple).Dies
  Conditions
    And - All (Conditions) are true
      Conditions
        (Count structures controlled by Player 4 (Purple) (Exclude incomplete structures)) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MainReq03 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rCity of the Eternal Fire - Destroy Mountain Giant Forces Completed!
    Set VariableSet CompletedQuests = (CompletedQuests + 1)
    Wait 1.00 seconds
    If (CompletedQuests Equal to 4) then do (Run VictoryCity <gen> (checking conditions)) else do (Do nothing)
AvengersDefeat
  Events
    Unit - A unit owned by Player 5 (Yellow).Dies
  Conditions
    And - All (Conditions) are true
      Conditions
        (Count structures controlled by Player 5 (Yellow) (Exclude incomplete structures)) Equal to 0
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MainReq04 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rCity of the Eternal Fire - Destroy Hippogryph Avengers Completed!
    Set VariableSet CompletedQuests = (CompletedQuests + 1)
    Wait 1.00 seconds
    If (CompletedQuests Equal to 4) then do (Run VictoryCity <gen> (checking conditions)) else do (Do nothing)
VictoryCity
  Events
  Conditions
  Actions
    Wait 2.00 seconds
    Quest - Mark MainQuest as Completed
    Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|rCity of the Eternal Fire
    Wait 3.00 seconds
    Set VariableSet TwoQuestsCounter = (TwoQuestsCounter + 1)
    If (TwoQuestsCounter Equal to 2) then do (Run Victory <gen> (checking conditions)) else do (Do nothing)
InitMagesQuest
  Events
  Conditions
  Actions
    Selection - Clear selection for Player 1 (Red).
    Selection - Clear selection for Player 8 (Pink).
    Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility from (Center of PortalCodex03 <gen>) to a radius of 512.
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of PortalCodex03 <gen>) to a radius of 512.
    Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility from (Center of PortalCodex02 <gen>) to a radius of 512.
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of PortalCodex02 <gen>) to a radius of 512.
    Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility from (Center of PortalCodex01 <gen>) to a radius of 512.
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of PortalCodex01 <gen>) to a radius of 512.
    Trigger - Turn off (This trigger)
    -------- Display Cinematic --------
    Trigger - Run OpenCinematic <gen> (checking conditions)
    Wait until (CinRunning Equal to True), checking every 1 seconds
    Trigger - Run MagesQuestCin001 <gen> (checking conditions)
    Wait until (CinRunning Equal to False), checking every 1 seconds
    Trigger - Run CloseCinematic <gen> (checking conditions)
    -------- End of Cinematic --------
    Quest - Mark QuestMages as Discovered
    Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rThe Three Codices - Bring any of you heroes to the first Codex - Bring any of you heroes to the second Codex - Bring any of you heroes to the third Codex
    Wait 4.00 seconds
    Quest - Display to (All players) the New Unit Acquired message: |cffffcc00NEW UNITS ACQUIRED|rGuardian of the Eternal Flame Improved version of the Ancestral Warrior, High Priest personal guard, has the Immolation and Evade Abilities. Sunlight vulnerable.Ancestral PriestSupporting spellcaster with Spell Immunity, can cast Eclipse, Healing Wave and ultimate transforms itself into an Ethereal Drake. Sunlight vulnerable.
Portal001
  Events
    Unit - A unit enters PortalCodex01 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Triggering unit) Equal to Sage
        (Triggering unit) Equal to HighPriest
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MagesReq01 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rThe Three Codices- Bring any of your heroes to the first Codex Completed!
    Item - Create Codex of Frost at (Center of PortalCodex01 <gen>)
    Wait 3.00 seconds
    Set VariableSet CodexCounter = (CodexCounter + 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CodexCounter Equal to 3
      Then - Actions
        Camera - .Apply. gg_cam_Codex004 for Player 1 (Red) over 0 seconds
        Camera - .Apply. gg_cam_Codex004 for Player 8 (Pink) over 0 seconds
        Wait 2 seconds
        Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|rThe Three Codices
        Quest - Mark QuestMages as Completed
        Player - Make Ancestral Mage Available for training/construction by Player 1 (Red)
        Player - Make Ancestral Mage Available for training/construction by Player 8 (Pink)
        Player - Enable Spell Steal (Ancestral) for Player 1 (Red)
        Player - Enable Spell Steal (Ancestral) for Player 8 (Pink)
        Player - Enable Nerubian Engendrus for Player 1 (Red)
        Player - Enable Nerubian Engendrus for Player 8 (Pink)
        Wait 5.00 seconds
        Quest - Display to (All players) the New Unit Acquired message: |cffffcc00NEW UNIT ACQUIRED|rAncestral MageVery aggresive caster can cast Carrion Swarm, Nerubian Engendrus and Spell Steal. Sunlight vulnerable.
        For each (Integer A) from 1 to 6, do (Actions)
          Loop - Actions
            Unit - Create 1.Ancestral Mage for Player 1 (Red) at (Random point in PortalEnd001 <gen>) facing 80.00 degrees
            Unit - Create 1.Ancestral Mage for Player 8 (Pink) at (Random point in PortalEnd001 <gen>) facing 80.00 degrees
        Set VariableSet TwoQuestsCounter = (TwoQuestsCounter + 1)
        If (TwoQuestsCounter Equal to 2) then do (Run Victory <gen> (checking conditions)) else do (Do nothing)
      Else - Actions
Portal002
  Events
    Unit - A unit enters PortalCodex02 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Triggering unit) Equal to Sage
        (Triggering unit) Equal to HighPriest
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MagesReq02 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rThe Three Codices- Bring any of your heroes to the second Codex Completed!
    Item - Create Glyph of Omniscience at (Center of PortalCodex02 <gen>)
    Item - Create Codex of Frost at (Center of PortalCodex02 <gen>)
    Wait 3.00 seconds
    Set VariableSet CodexCounter = (CodexCounter + 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CodexCounter Equal to 3
      Then - Actions
        Camera - .Apply. gg_cam_Codex004 for Player 1 (Red) over 0 seconds
        Wait 2 seconds
        Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|rThe Three Codices
        Quest - Mark QuestMages as Completed
        Player - Make Ancestral Mage Available for training/construction by Player 1 (Red)
        Player - Make Ancestral Mage Available for training/construction by Player 8 (Pink)
        Player - Enable Spell Steal (Ancestral) for Player 1 (Red)
        Player - Enable Spell Steal (Ancestral) for Player 8 (Pink)
        Player - Enable Nerubian Engendrus for Player 1 (Red)
        Player - Enable Nerubian Engendrus for Player 8 (Pink)
        Wait 5.00 seconds
        Quest - Display to (All players) the New Unit Acquired message: |cffffcc00NEW UNIT ACQUIRED|rAncestral MageVery aggresive caster can cast Carrion Swarm, Nerubian Engendrus and Spell Steal. Sunlight vulnerable.
        For each (Integer A) from 1 to 6, do (Actions)
          Loop - Actions
            Unit - Create 1.Ancestral Mage for Player 8 (Pink) at (Random point in PortalEnd001 <gen>) facing 80.00 degrees
            Unit - Create 1.Ancestral Mage for Player 1 (Red) at (Random point in PortalEnd001 <gen>) facing 80.00 degrees
        Set VariableSet TwoQuestsCounter = (TwoQuestsCounter + 1)
        If (TwoQuestsCounter Equal to 2) then do (Run Victory <gen> (checking conditions)) else do (Do nothing)
      Else - Actions
Portal003
  Events
    Unit - A unit enters PortalCodex03 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Triggering unit) Equal to Sage
        (Triggering unit) Equal to HighPriest
  Actions
    Trigger - Turn off (This trigger)
    Quest - Mark MagesReq03 as Completed
    Quest - Display to (All players) the Quest Update message: |cffffcc00MAIN QUEST UPDATE|rThe Three Codices- Bring any of your heroes to the third Codex Completed!
    Item - Create Glyph of Omniscience at (Center of PortalCodex03 <gen>)
    Item - Create Codex of Frost at (Center of PortalCodex03 <gen>)
    Wait 3.00 seconds
    Set VariableSet CodexCounter = (CodexCounter + 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        CodexCounter Equal to 3
      Then - Actions
        Camera - .Apply. gg_cam_Codex004 for Player 1 (Red) over 0 seconds
        Wait 2 seconds
        Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|rThe Three Codices
        Quest - Mark QuestMages as Completed
        Player - Make Ancestral Mage Available for training/construction by Player 1 (Red)
        Player - Make Ancestral Mage Available for training/construction by Player 8 (Pink)
        Player - Enable Spell Steal (Ancestral) for Player 1 (Red)
        Player - Enable Spell Steal (Ancestral) for Player 8 (Pink)
        Player - Enable Nerubian Engendrus for Player 1 (Red)
        Player - Enable Nerubian Engendrus for Player 8 (Pink)
        Wait 5.00 seconds
        Quest - Display to (All players) the New Unit Acquired message: |cffffcc00NEW UNIT ACQUIRED|rAncestral MageVery aggresive caster can cast Carrion Swarm, Nerubian Engendrus and Spell Steal. Sunlight vulnerable.
        For each (Integer A) from 1 to 6, do (Actions)
          Loop - Actions
            Unit - Create 1.Ancestral Mage for Player 1 (Red) at (Random point in PortalEnd001 <gen>) facing 80.00 degrees
            Unit - Create 1.Ancestral Mage for Player 8 (Pink) at (Random point in PortalEnd001 <gen>) facing 80.00 degrees
        Set VariableSet TwoQuestsCounter = (TwoQuestsCounter + 1)
        If (TwoQuestsCounter Equal to 2) then do (Run Victory <gen> (checking conditions)) else do (Do nothing)
      Else - Actions
Larodar001
  Events
    Time - Every 1080.00 seconds of game time
  Conditions
    (Tree of Life 0132 <gen> is alive) Equal to True
  Actions
    Player - Add 2500 to Player 3 (Teal).Current gold
    Player - Add 500 to Player 3 (Teal).Current lumber
    AI - Start melee AI script for Player 3 (Teal): war3mapImported\Larodar003Edited.ai (aiscript)
Avengers001
  Events
    Time - Every 1300.00 seconds of game time
  Conditions
    (Hippogryph Altar 0182 <gen> is alive) Equal to True
  Actions
    Player - Add 2500 to Player 5 (Yellow).Current gold
    Player - Add 500 to Player 5 (Yellow).Current lumber
    AI - Start melee AI script for Player 5 (Yellow): war3mapImported\Avengers002Edited.ai (aiscript)
    Trigger - Turn on Avengers003 <gen>
If a friendly structure is attacked, the Hippogryphs will quickly go to help
Avengers003
  Events
    Unit - A unit Is attacked
  Conditions
    ((Owner of (Triggering unit)) Not equal to Player 1 (Red)) or ((Owner of (Triggering unit)) Not equal to Player 8 (Pink))
    ((Triggering unit) is A structure) Equal to True
  Actions
    Unit Group - Pick every unit in (Units owned by Player 5 (Yellow).) and do (Actions)
      Loop - Actions
        Unit - Order (Picked unit) to Attack-Move To.(Center of GoldMoonstone <gen>)
        Unit Group - Pick every unit in (Units owned by Player 5 (Yellow) of type Wildkin) and do (Actions)
          Loop - Actions
            Unit - Order (Picked unit) to Harvest.Gold Mine 0009 <gen>
    Unit Group - Pick every unit in (Units owned by Player 5 (Yellow) of type Hippogryph) and do (Actions)
      Loop - Actions
        Unit - Order (Picked unit) to Attack-Move To.(Position of (Triggering unit))
Giants001
  Events
    Time - Every 550.00 seconds of game time
  Conditions
    (Tree of Eternity 0130 <gen> is alive) Equal to True
  Actions
    Player - Add 2500 to Player 4 (Purple).Current gold
    Player - Add 600 to Player 4 (Purple).Current lumber
    AI - Start campaign AI script for Player 4 (Purple): war3mapImported\MountainGiants002Edited.ai (aiscript)
Larodar AI
LarodarOrder
  Events
    Unit - A unit Is attacked
  Conditions
    (Owner of (Triggering unit)) Equal to Player 3 (Teal)
    ((Triggering unit) is A structure) Equal to True
  Actions
    Unit Group - Pick every unit in (Units owned by Player 3 (Teal).) and do (Actions)
      Loop - Actions
        Unit - Order (Picked unit) to Move To.(Position of (Triggering unit))
Giants AI
GiantsOrder
  Events
    Unit - A unit Is attacked
  Conditions
    (Owner of (Triggering unit)) Equal to Player 4 (Purple)
    ((Triggering unit) is A structure) Equal to True
  Actions
    Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Actions)
      Loop - Actions
        Unit - Order (Picked unit) to Move To.(Position of (Triggering unit))
    Unit Group - Pick every unit in (Units owned by Player 4 (Purple) of type Wisp) and do (Actions)
      Loop - Actions
        Unit - Order (Picked unit) to Harvest Nearby Gold.