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

3P Orc07 v2.1.w3x
Variables
WESTRING_VARIABLESCATEGORY
Initialization
PreInit
Map Initialization
Change Owner
Setup Players
SetupQuests
SetupEnvironment
SetupAszune
SetupSpectralBridge
Player Settings
SetupDoors
SetupSpikes
Setup Creatures
SetupKingFires
SetupScoreScreen
HeroLevelLimiter
ThrallLevelLimiter
CairneLevelLimiter
DrekTharLevelLimiter
IZZZZZZI CINEMATICS IZZZZZZI
OpeningCinematic
OpeningCancelled
Opening01
EndingCinematic
EndingCancelled
Ending01
Ending02
Jaina Face Thrall
Thrall Facing at Medivh
Cairne Facing at Medivh
Jaina Facing at Medivh
IZZZZZI QUEST ZONES IZZZZZZI
AszuneArea
Dialog
QuestReq01
QuestHeartOfAszune
QuestDiscoveredWithHeart
HeartReturned
RevealerStart
RevealerGroupAdd
RevealerGroupSub
RevealerCheck
RevealerAszuneSafety
AllyDoorMessage
Gemstone
Invulnerable
ObeliskThrallNoGem
QuestGemstoneReq1
GemstoneReturned
ObeliskCairneNoGem
Reveal Bridge
Insane Boss Death
PopWolves
PopWolves04
PopWolves05
PopWolves06
PopWolvesStatue01
PopWolvesStatue02
PopWolvesStatue03
IZZZZI THRALL SECTION IZZZZZI
RevenantRun
RevenantRun
SkeletonsOnline
KingSkeleton
Trap01
Trap02
KingsDoor
KingsDoor
KingsDoorMessage
KingsDoorOpen
Prison
Cell01
Cell02
Cell03
SalamanderDrop
SkeletonPrisonStart
SkeletonsDead
RescueHunters
FootmenSkulking
FootmenStart
FootmenSuitup
DragonArea
Pause Dragons During Intro
Unpause Dragons After Intro
DragonDialog
DamageControl
DragonDropped
Doors
DoorDragon
SheepTrap
SheepDyingCheck
SheepStart
SheepContainment
Crates
Crates01
Crates02
Crates03
Crates04
Crates05
Crates06
Crates07
Crates08
Crates09
Crates10
Crates11
Crates12
Crates13
Crates14
Crates15
Crates16
Crates17
Crates18
BloodKeyCell
BloodKeyGuardianSleep
BloodKeyGuardianAwake
Key Vulnerability
IZZZI CAIRNE SECTION IZZZI
HungryLizard
Run Hungry Set Arrays Swap Loop
Hungry Swap Loop01
Hungry Swap Loop02
Hungry Swap Loop03
Hungry Swap Loop04
Hungry Swap Loop05
Start HungryHungryLizard
Pick Mushroom 01
Pick Mushroom 02
Pick Mushroom 03
Pick Mushroom 04
Pick Mushroom 05
Hungry Size Up
TooManyMushrooms
Hungry Vision
Hungry No Vision
FountainArea
FootmanDialogue
RocksBreak
RocksBreakStart
HumanTrap
HumanTrapStart
TrapSpring
TrapRecycle
CratesCairneSide
Crates19
Crates20
Crates21
QuillboarPit
CairneSeesQuillboar
CairneFindsTrigger
CairneActivatesTrap
RemoveRazermane
SetupRazermaneGroup
RazermaneLeaves
RazermaneEnters
QuillboarDeathSound
QuillboarRoam
GemstoneAcquired
Gate
CairneDoor
CairneDoor
CairneDoorMessage
CairneDoorOpen
RockTrap
Rock01
QuillboarVisibility
RevealerStartQuillboar
RevealerGroupAddQuillboar
RevealerGroupSubtractQuillboar
RevealerCheckQuillboar
RevealerQillboarSafety
SludgeVisibility
RevealerStartSludge
RevealerGroupAddSludge
RevealerGroupSubtractSludge
RevealerCheckSludge
RevealerSludgeSafety
StatuesComeAlive
StatuesComeAlive
StatueBigComeAlive
StatueBigDies
|ZZZ| EXTRA SECTION |ZZZ|
ExtraInit
ExtraInit
Bridge
BridgeMessage
BridgeRepair
BridgeSwitch
RescueTaurens
TaurenRescue
Rocks
RocksMessage
RocksDestroy
Golems
Golems Attack
IZZZZZZZZZZZZZI
Custom - Units sounds
GateInvulnerable
Footman Attacked
Footman Attacked Blue
Custom - Other Triggers
Skip Cinematic
Leaves Game
click
SapperDeath
Endgame Text
Custom - Heroic Mod
Normal delete
Custom - SaveSystem
Custom Variables
Init Gametext
Startgame Text
Startgame Text 2
Startgame Text 3
Startgame New
Startgame Load
function SaveLoad_InitialSetup takes nothing returns nothing
    local integer i = 0
    local integer j = 0

    loop
        set udg_SaveLoad_Compress[i + 48] = j
        set udg_SaveLoad_Uncompress[i] = i + 48
        set j = j + 1
        set i = i + 1
        exitwhen i >= 10
    endloop
    set i = 0
    loop
        set udg_SaveLoad_Compress[i + 97] = j
        set udg_SaveLoad_Compress[i + 65] = j + 26
        set udg_SaveLoad_Uncompress[i + 10] = i + 97
        set udg_SaveLoad_Uncompress[i + 26 + 10] = i + 65
        set j = j + 1
        set i = i + 1
        exitwhen i >= 26
    endloop
endfunction

function SaveLoad_Id2CId takes integer n returns integer
    local integer i = n / (256 * 256 * 256)
    local integer r
    set n = n - i * (256 * 256 * 256)
    set r = udg_SaveLoad_Compress[i]
    set i = n / (256 * 256)
    set n = n - i * (256 * 256)
    set r = r * 64 + udg_SaveLoad_Compress[i]
    set i = n / 256
    set r = r * 64 + udg_SaveLoad_Compress[i]
    return r * 64 + udg_SaveLoad_Compress[n - i * 256]
endfunction

function SaveLoad_CId2Id takes integer n returns integer
    local integer i = n / (64 * 64 * 64)
    local integer r
    set n = n - i * (64 * 64 * 64)
    set r = udg_SaveLoad_Uncompress[i]
    set i = n / (64 * 64)
    set n = n - i * (64 * 64)
    set r = r * 256 + udg_SaveLoad_Uncompress[i]
    set i = n / 64
    set r = r * 256 + udg_SaveLoad_Uncompress[i]
    return r * 256 + udg_SaveLoad_Uncompress[n - i * 64]
endfunction

function SaveLoad_Unit2Integer takes unit u returns integer
    local integer i = 0
    local integer n = GetUnitTypeId(u)
    if udg_SaveLoad_Initialized == false then
        set udg_SaveLoad_Initialized = true
        call SaveLoad_InitialSetup()
    endif
    loop
        set i = i + 1
        exitwhen i > udg_SaveLoad_Heroes_LastIndex
        if udg_SaveLoad_Heroes[i] == n then
            return i
        endif
    endloop
    return SaveLoad_Id2CId(n)
endfunction
function SaveLoad_Integer2Unit takes integer i returns integer
    if udg_SaveLoad_Initialized == false then
        set udg_SaveLoad_Initialized = true
        call SaveLoad_InitialSetup()
    endif
    if i <= udg_SaveLoad_Heroes_LastIndex then
        return udg_SaveLoad_Heroes[i]
    endif
    return SaveLoad_CId2Id(i)
endfunction

function SaveLoad_Item2Integer takes item t returns integer
    local integer i = 0
    local integer n = GetItemTypeId(t)
    if udg_SaveLoad_Initialized == false then
        set udg_SaveLoad_Initialized = true
        call SaveLoad_InitialSetup()
    endif
    loop
        set i = i + 1
        exitwhen i > udg_SaveLoad_Items_LastIndex
        if udg_SaveLoad_Items[i] == n then
            return i
        endif
    endloop
    return SaveLoad_Id2CId(n)
endfunction
function SaveLoad_Integer2Item takes integer i returns integer
    if udg_SaveLoad_Initialized == false then
        set udg_SaveLoad_Initialized = true
        call SaveLoad_InitialSetup()
    endif
    if i <= udg_SaveLoad_Items_LastIndex then
        return udg_SaveLoad_Items[i]
    endif
    return SaveLoad_CId2Id(i)
endfunction

function SaveLoad_Ability2Integer takes integer a returns integer
    local integer i = 0
    if udg_SaveLoad_Initialized == false then
        set udg_SaveLoad_Initialized = true
        call SaveLoad_InitialSetup()
    endif
    loop
        set i = i + 1
        exitwhen i > udg_SaveLoad_Abilities_LastIndex
        if udg_SaveLoad_Abilities[i] == a then
            return i
        endif
    endloop
    return SaveLoad_Id2CId(a)
endfunction
function SaveLoad_Integer2Ability takes integer i returns integer
    if udg_SaveLoad_Initialized == false then
        set udg_SaveLoad_Initialized = true
        call SaveLoad_InitialSetup()
    endif
    if i <= udg_SaveLoad_Abilities_LastIndex then
        return udg_SaveLoad_Abilities[i]
    endif
    return SaveLoad_CId2Id(i)
endfunction

function SaveLoad_Color takes string s returns string
    local integer i = StringLength(s)
    local string c
    local string r = ""

    loop
        set i = i - 1
        set c = SubString(s,i,i + 1)
        if c == "0" or c == "1" or c == "2" or c == "3" or c == "4" or c == "5" or c == "6" or c == "7" or c == "8" or c == "9" then
            set r = "|cffff9999" + c + "|r" + r
        elseif c == "-" then
            set r = "|cffdddddd-|r" + r
        elseif c == "a" or c == "b" or c == "c" or c == "d" or c == "e" or c == "f" or c == "g" or c == "h" or c == "i" or c == "j" or c == "k" or c == "l" or c == "m" or c == "n" or c == "o" or c == "p" or c == "q" or c == "r" or c == "s" or c == "t" or c == "u" or c == "v" or c == "w" or c == "x" or c == "y" or c == "z" then
            set r = "|cff99ff99" + c + "|r" + r
        elseif c == "A" or c == "B" or c == "C" or c == "D" or c == "E" or c == "F" or c == "G" or c == "H" or c == "I" or c == "J" or c == "K" or c == "L" or c == "M" or c == "N" or c == "O" or c == "P" or c == "Q" or c == "R" or c == "S" or c == "T" or c == "U" or c == "V" or c == "W" or c == "X" or c == "Y" or c == "Z" then
            set r = "|cff9999ff" + c + "|r" + r
        else
            set r = c + r
        endif
        exitwhen i <= 0
    endloop
    return r
endfunction

function SaveLoad_EncodeChar takes string n returns integer
    local integer i = 0
    local string s1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    local string s2 = "abcdefghijklmnopqrstuvwxyz"
    local string s3 = "0123456789"

    loop
        if SubString(s1,i,i + 1) == n then
            return i
        endif
        if SubString(s2,i,i + 1) == n then
            return i
        endif
        set i = i + 1
        exitwhen i >= 26
    endloop
    set i = 0
    loop
        if SubString(s3,i,i + 1) == n then
            return i
        endif
        set i = i + 1
        exitwhen i >= 10
    endloop
    return 0
endfunction

function SaveLoad_EncodeVerify takes string buffer returns integer
    local integer i = 0
    local integer j = 0
    local string name = GetPlayerName(GetTriggerPlayer())
    if udg_SaveLoad_UsePlayername == true then
        loop
            set j = j + SaveLoad_EncodeChar(SubString(name,i,i + 1))
            set i = i + 1
            exitwhen i >= StringLength(name)
        endloop
    endif
    set i = 0
    loop
        set j = j + SaveLoad_EncodeChar(SubString(buffer,i,i + 1))
        set i = i + 1
        exitwhen i >= StringLength(buffer)
    endloop
    return j
endfunction

function SaveLoad_EncodeValues takes nothing returns string
    local integer i
    local integer j
    local integer k
    local integer l
    local integer m
    local integer CodeLength = StringLength(udg_SaveLoad_Alphabet)
    local integer array a
    local string buffer = ""
    local string c = ""
    local integer skip = 0
    local integer CONST = 1000000
    local string abc = "0123456789"

    set i = 0
    loop
        set i = i + 1
        exitwhen i > udg_SaveCount
        set buffer = buffer + I2S(udg_Save[i]) + "-"
    endloop
    set buffer = buffer + I2S(SaveLoad_EncodeVerify(buffer))
    if udg_Save[1] == 0 then
        set buffer = "-" + buffer
    endif

    set i = 0
    loop
        set a[i] = 0
        set i = i + 1
        exitwhen i >= 100
    endloop

    set m = 0
    set i = 0
    loop
        set j = 0
        loop
            set a[j] = a[j] * 11
            set j = j + 1
            exitwhen j > m
        endloop

        set l = 0
        set c = SubString(buffer,i,i + 1)
        loop
            exitwhen SubString(abc,l,l + 1) == c
            set l = l + 1
            exitwhen l > 9
        endloop
        set a[0] = a[0] + l

        set j = 0
        loop
            set k = a[j] / CONST
            set a[j] = a[j] - k * CONST
            set a[j + 1] = a[j + 1] + k
            set j = j + 1
            exitwhen j > m
        endloop
        if k > 0 then
            set m = m + 1
        endif
        set i = i + 1
        exitwhen i >= StringLength(buffer)
    endloop

    set buffer = ""
    loop
        exitwhen m < 0
        set j = m
        loop
            exitwhen j <= 0
            set k = a[j] / CodeLength
            set a[j - 1] = a[j - 1] + (a[j] - k * CodeLength) * CONST
            set a[j] = k
            set j = j - 1
        endloop
        set k = a[j] / CodeLength
        set i = a[j] - k * CodeLength
        set buffer = buffer + SubString(udg_SaveLoad_Alphabet,i,i + 1)
        set a[j] = k
        if a[m] == 0 then
            set m = m - 1
        endif
    endloop

    set i = StringLength(buffer)
    set skip = 0
    set c = ""
    loop
        set i = i - 1
        set c = c + SubString(buffer,i,i + 1)
        set skip = skip + 1
        if skip == 4 and i > 0 then
            set c = c + "-"
            set skip = 0
        endif
        exitwhen i <= 0
    endloop
    return c
endfunction

function SaveLoad_DecodeValues takes string s returns boolean
    local integer i
    local integer j
    local integer k
    local integer l
    local integer SaveCode = 0
    local integer m
    local integer array a
    local string buffer = ""
    local integer CodeLength = StringLength(udg_SaveLoad_Alphabet)
    local integer skip = -1
    local integer CONST = 1000000
    local string abc = "0123456789-"
    local string c

    set i = 0
    loop
        set a[i] = 0
        set i = i + 1
        exitwhen i >= 100
    endloop

    set m = 0

    set i = 0
    loop
        set j = 0
        loop
            set a[j] = a[j] * CodeLength
            set j = j + 1
            exitwhen j > m
        endloop

        set skip = skip + 1
        if skip == 4 then
            set skip = 0
            set i = i + 1
        endif

        set l = CodeLength
        set c = SubString(s,i,i + 1)
        loop
            set l = l - 1
            exitwhen l < 1
            exitwhen SubString(udg_SaveLoad_Alphabet,l,l + 1) == c
        endloop
        set a[0] = a[0] + l

        set j = 0
        loop
            set k = a[j] / CONST
            set a[j] = a[j] - k * CONST
            set a[j + 1] = a[j + 1] + k
            set j = j + 1
            exitwhen j > m
        endloop
        if k > 0 then
            set m = m + 1
        endif
        set i = i + 1
        exitwhen i >= StringLength(s)
    endloop

    loop
        exitwhen m < 0
        set j = m
        loop
            exitwhen j <= 0
            set k = a[j] / 11
            set a[j - 1] = a[j - 1] + (a[j] - k * 11) * CONST
            set a[j] = k
            set j = j - 1
        endloop
        set k = a[j] / 11
        set i = a[j] - k * 11
        set buffer = SubString(abc,i,i + 1) + buffer
        set a[j] = k
        if a[m] == 0 then
            set m = m - 1
        endif
    endloop

    set i = 0
    set j = 0
    loop
        loop
            exitwhen i >= StringLength(buffer)
            exitwhen i > 0 and SubString(buffer,i,i + 1) == "-" and SubString(buffer,i - 1,i) != "-"
            set i = i + 1
        endloop
        if i < StringLength(buffer) then
            set k = i
        endif
        set SaveCode = SaveCode + 1
        set udg_Save[SaveCode] = S2I(SubString(buffer,j,i))
        set j = i + 1
        set i = i + 1
        exitwhen i >= StringLength(buffer)
    endloop

    set j = SaveLoad_EncodeVerify(SubString(buffer,0,k))
    set udg_SaveCount = SaveCode - 1
    if j == udg_Save[SaveCode] then
        return true
    endif
    return false
endfunction

function SaveLoad_Encode takes nothing returns string
    if udg_SaveLoad_CaseSensitive == false then
        set udg_SaveLoad_Alphabet = StringCase(udg_SaveLoad_Alphabet,true)
    endif
    return SaveLoad_Color(SaveLoad_EncodeValues())
endfunction

function SaveLoad_Decode takes string s returns boolean
    if udg_SaveLoad_CaseSensitive == false then
        set udg_SaveLoad_Alphabet = StringCase(udg_SaveLoad_Alphabet,true)
        set s = StringCase(s,true)
    endif
    if SaveLoad_DecodeValues(s) then
        return true
    endif
    return false
endfunction
Name Type Is Array Initial Value
AszuneRevealerGroup group No
BonusesFound integer No
BonusesTotal integer No
BridgeEffect weathereffect No
BridgeUp boolean No
BurningArcher01 unit No
BurningArcher02 unit No
BurningArcher03 unit No
BurningArcherGroup group No
Buttons button Yes
Cairne unit No
CairneGroup group No
CairneSelectGroup group No
CampaignScore integer No
CentaurKhan unit No
Cinematic boolean No true
Code string No
CrownVisibility fogmodifier No
DarkSummoningMissile01 effect No
DarkSummoningMissile02 effect No
DarkSummoningMissile03 effect No
DarkSummoningMissile04 effect No
DragonVisiblility fogmodifier No
DrekThar unit No
EffectSummoing effect No
EnchantedGemstone item No
EndingCancelled boolean No false
EnoughPlayers boolean No
Extra integer No
ExtraTotal integer No
FinalInventory string Yes
FinalRank string No
FootmanTrapVisibility fogmodifier No
GAMEOVER boolean No false
GameSelection boolean No true
GateVis fogmodifier No
GemstoneReturned boolean No false
GhostKey item No
GroupAzsune group No
Harpy01 unit No
Harpy02 unit No
HarpyAreaGuys2 group No
HeartOfAszune item No
Hero1 unit No
Hero2 unit No
Hero3 unit No
HEROICMODE boolean No
HungryBoolean boolean No false
HungryEatingInteger integer No 0
HungryHungryARRRGH real No 0.05
HungryHungrySalamander unit No UnitNull
HungryRegArray01 rect Yes
HungryRegArray02 rect Yes
HungryRegArray03 rect Yes
HungryRegArray04 rect Yes
HungryRegArray05 rect Yes
HungrySize integer No 5
HungrySizeX real No 95.00
HungrySizeY real No 95.00
HungrySizeZ real No 95.00
HungrySwapper integer No 0
HungryTemp rect No
HungryVision fogmodifier No
IntegerTreeTotal integer No
KingsVis fogmodifier No
KoboldVisibility fogmodifier No
MissionNumber integer No
NazgrelSpells integer Yes
NewVote1 boolean No
NewVote2 boolean No
NewVote3 boolean No
OpeningCancelled boolean No false
OpeningVisibility01a fogmodifier No
OpeningVisibility01b fogmodifier No
OpeningVisibility02a fogmodifier No
OpeningVisibility02b fogmodifier No
OpeningVisibility03a fogmodifier No
OpeningVisibility03b fogmodifier No
PickedMushroomNumber integer No 0
PickedMushroomReg rect No
Player1 player No
Player2 player No
Player3 player No
QuestEnchantedGemstone quest No
QuestEnchantedGemstoneReq1 questitem No
QuestEnchantedGemstoneReq2 questitem No
QuestHeartOfAszune quest No
QuestHeartOfAszuneReq01 questitem No
QuestHeartOfAszuneReq02 questitem No
QuestOracle quest No
QuestReqCairne questitem No
QuestReqThrall questitem No
QuillboarGroup group No
QuillboarRevealerGroup group No
RankInteger integer No
RazermaneGroup group No
RedFogHeavy weathereffect No
Salamander unit No
Save integer Yes
SaveCount integer No
SaveLoad_Abilities abilcode Yes
SaveLoad_Abilities_LastIndex integer No
SaveLoad_Alphabet string No
SaveLoad_CaseSensitive boolean No
SaveLoad_Compress integer Yes
SaveLoad_Heroes unitcode Yes
SaveLoad_Heroes_LastIndex integer No
SaveLoad_Initialized boolean No
SaveLoad_Items itemcode Yes
SaveLoad_Items_LastIndex integer No
SaveLoad_TotalTime integer No
SaveLoad_Uncompress integer Yes
SaveLoad_UsePlayername boolean No
ScoreBonuses integer No
ScoreExtra integer No
ScoreLimit integer Yes
ScoreMax integer No
ScoreSubquests integer No
ScoreTime integer No
SheepGroup group No
ShieldEffect weathereffect No
ShieldGroup group No
SkipVote1 boolean No
SkipVote2 boolean No
SkipVote3 boolean No
SkulkingFootmanVis fogmodifier No
SludgeRevealerGroup group No
SludgeVisibility fogmodifier No
Statue01 unit No
Statue02 unit No
Statue03 unit No
StatueGroup group No
SubquestsComplete integer No
SubquestsTotal integer No
SumRank integer No
Teleporter01Group01 group No
Teleporter01Group02 group No
Teleporter02Group01 group No
Teleporter02Group02 group No
TempItem item No
TempItemType itemcode No
TempUGroup group No
TempUnit unit No
TempUnitType unitcode No
Thrall unit No
ThrallGroup group No
ThrallSelectGroup group No
ThunderLizard unit No
TimeHours integer No
TimeMax real No
TimeMin real No
TimeMins integer No
TimeRange real No
TimeSeconds integer No
TimeSecondsTotal integer No
TimeTakenString string No
Trapvis fogmodifier No
UnitGroup group No
Validate boolean No
VisibilityAszune1 fogmodifier No
VisibilityAszune2 fogmodifier No
VisibilityQuillboar fogmodifier No
VisibilitySludge fogmodifier No
Win dialog No
PreInit
  Events
    Map initialization
  Conditions
  Actions
    Hero - Make Player 1 (Red) Heroes gain 50.00% experience from future kills
    Hero - Make Player 6 (Orange) Heroes gain 50.00% experience from future kills
    Hero - Make Player 10 (Light Blue) Heroes gain 50.00% experience from future kills
    Trigger - Run Setup_Players <gen> (checking conditions)
    Trigger - Run Player_Settings <gen> (checking conditions)
    Trigger - Run SetupEnvironment <gen> (checking conditions)
    Trigger - Run SetupAszune <gen> (checking conditions)
    Trigger - Run SetupSpectralBridge <gen> (checking conditions)
    Trigger - Run SetupQuests <gen> (checking conditions)
    Trigger - Run Setup_Creatures <gen> (checking conditions)
    Trigger - Run SetupDoors <gen> (checking conditions)
    Trigger - Run SetupSpikes <gen> (checking conditions)
    Trigger - Run SetupKingFires <gen> (checking conditions)
    Trigger - Run SetupScoreScreen <gen> (checking conditions)
    Player - Set the current research level of Ruar (techcode) to 3 for Neutral Hostile
    Player - Set the current research level of Rume (techcode) to 3 for Neutral Hostile
Default melee game initialization for all players
Map Initialization
  Events
  Conditions
  Actions
    -------- *********************** --------
    Item - Make gg_item_I000_0234 Invulnerable
    Trigger - Run Change_Owner <gen> (checking conditions)
    Trigger - Run Run_Hungry_Set_Arrays_Swap_Loop <gen> (checking conditions)
    Trigger - Run Pause_Dragons_During_Intro <gen> (checking conditions)
    Player - Set the current research level of Rowt (techcode) to 2 for Player 6 (Orange)
    Player - Set the current research level of Rost (techcode) to 2 for Player 1 (Red)
    Player - Set the current research level of Rowd (techcode) to 2 for Player 1 (Red)
Change Owner
  Events
  Conditions
  Actions
    Unit - Change ownership of |c00FF0303Warchief|r 0230 <gen> to Player 1 (Red) and Change color
    Unit - Change ownership of Frostwolf Shaman 0009 <gen> to Player 10 (Light Blue) and Change color
    Unit - Change ownership of Grunt 0005 <gen> to Player 1 (Red) and Change color
    Unit - Change ownership of Grunt 0004 <gen> to Player 1 (Red) and Change color
    Unit - Change ownership of Raider 0011 <gen> to Player 1 (Red) and Change color
    Unit - Change ownership of Raider 0006 <gen> to Player 1 (Red) and Change color
    Unit - Change ownership of Tauren Chieftain 0231 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Far Seer 0008 <gen> to Player 10 (Light Blue) and Change color
    Unit - Change ownership of Tauren Bruiser 0007 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Tauren Bruiser 0012 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Spirit Walker 0232 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Headhunter 0010 <gen> to Player 6 (Orange) and Change color
Setup Players
  Events
  Conditions
  Actions
    Wait 0.10 seconds
    -------- Thrall Group --------
    Unit Group - Pick every unit in (Units in OpeningThrallGroup <gen>) and do (Add (Picked unit) to ThrallGroup)
    -------- Cairne Group --------
    Unit Group - Pick every unit in (Units in OpeningCairneGroup <gen>) and do (Add (Picked unit) to CairneGroup)
    Unit Group - Pick every unit in (Units in OpeningCairneStart <gen>) and do (Add (Picked unit) to CairneGroup)
    -------- Change the Color of Player 8 --------
    Player - Change color of Player 8 (Pink) to Brown, Changing color of existing units
    -------- Selection Groups --------
    Unit Group - Pick every unit in (Units in OpeningThrallGroup <gen>) and do (Add (Picked unit) to ThrallSelectGroup)
    Unit Group - Add Thrall to ThrallSelectGroup
    -------- Setup Jaina --------
    Unit - Hide Archmage 0003 <gen>
    Unit - Hide Footman 0060 <gen>
    Unit - Hide Footman 0059 <gen>
SetupQuests
  Events
  Conditions
  Actions
    -------- Oracle quest --------
    Quest - Create a Required, undiscovered quest titled The Oracle with the description Legends hold that the ancient Oracle of central Kalimdor lived within the caverns of Stonetalon Peak. You must seek out the Oracle and request that it show the Horde the path to its true destiny. , using icon path ReplaceableTextures\CommandButtons\BTNOrcCaptureflag.tga
    Set VariableSet QuestOracle = (Last created quest)
    -------- Oracle Requirement 1 --------
    Quest - Create a quest requirement for QuestOracle with the description Seek out the Oracle
    Set VariableSet QuestReqThrall = (Last created quest requirement)
    -------- Oracle Requirement 2 --------
    Quest - Create a quest requirement for QuestOracle with the description Thrall and Cairne must survive
    -------- Heart of Aszune quest --------
    Quest - Create a Required, undiscovered quest titled Heart of Aszune with the description Long ago, the Night Elf princess, Aszune, mocked the Oracle's wisdom. As punishment, she was transformed into living stone. Now, only the retrieval of her gemstone heart can end the curse and allow passage to the Oracle's domicile. , using icon path ReplaceableTextures\CommandButtons\BTNHeartofAszune.tga
    Set VariableSet QuestHeartOfAszune = (Last created quest)
    -------- Heart of Aszune Requirement 1 --------
    Quest - Create a quest requirement for QuestHeartOfAszune with the description Find the Heart of Aszune
    Set VariableSet QuestHeartOfAszuneReq01 = (Last created quest requirement)
    -------- Heart of Aszune Requirement 2 --------
    Quest - Create a quest requirement for QuestHeartOfAszune with the description Return the Heart to Aszune
    Set VariableSet QuestHeartOfAszuneReq02 = (Last created quest requirement)
    -------- Enchanted Gemstone quest --------
    Quest - Create a Required, undiscovered quest titled Enchanted Gemstone with the description The spectral bridge that leads to the Oracle's domicile is powered by an enchanted gemstone. You must recover the enchanted stone before the bridge's magics can be activated. , using icon path ReplaceableTextures\CommandButtons\BTNEnchantedGemstone.tga
    Set VariableSet QuestEnchantedGemstone = (Last created quest)
    -------- Enchanted Gemstone Requirement 1 --------
    Quest - Create a quest requirement for QuestEnchantedGemstone with the description Find the Enchanted Gemstone
    Set VariableSet QuestEnchantedGemstoneReq1 = (Last created quest requirement)
    -------- Enchanted Gemstone Requirement 2 --------
    Quest - Create a quest requirement for QuestEnchantedGemstone with the description Bring the Enchanted Gemstone to the Spectral Bridge
    Set VariableSet QuestEnchantedGemstoneReq2 = (Last created quest requirement)
SetupEnvironment
  Events
  Conditions
  Actions
    Game - Set the time of day to 18.01
    Game - Turn the day/night cycle Off
    -------- Fire Death Animation --------
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton01 <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton02 <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton03 <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton04 <gen>.
SetupAszune
  Events
  Conditions
  Actions
    Animation - Play the Stand (animationname) animation for all doodads of type AOgs (doodadcode) within (Playable map area).
    -------- Invulnerable Obelisk --------
    Unit - Make Enchanted Gemstone Obelisk 0000 <gen> Invulnerable
SetupSpectralBridge
  Events
  Conditions
  Actions
    Destructible - Set life of Force Bridge 0099 <gen> to 0.00
    Animation - Play the death (animationname) animation for all doodads of type YOlb (doodadcode) within (Playable map area).
    Animation - Play Enchanted Gemstone Obelisk 0000 <gen>'s stand second (animationname) animation
    Set VariableSet EnchantedGemstone = gg_item_engs_0021
Player Settings
  Events
  Conditions
  Actions
    Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Ally
    Player - Make Player 6 (Orange) treat Player 11 (Dark Green) as an Ally
    Player - Make Player 10 (Light Blue) treat Player 11 (Dark Green) as an Ally
    Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Ally
    Player - Make Player 11 (Dark Green) treat Player 6 (Orange) as an Ally
    Player - Make Player 11 (Dark Green) treat Player 10 (Light Blue) as an Ally
    Player - For Player 1 (Red), turn Friendly spell targeting Off toward Player 11 (Dark Green)
    Player - For Player 6 (Orange), turn Friendly spell targeting Off toward Player 11 (Dark Green)
    Player - For Player 11 (Dark Green), turn Friendly spell targeting Off toward Player 1 (Red)
    Player - For Player 11 (Dark Green), turn Friendly spell targeting Off toward Player 6 (Orange)
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 10 (Light Blue) as an Ally with shared vision
    Player - Make Player 1 (Red) treat Player 10 (Light Blue) as an Ally with shared vision
    Player - Make Player 10 (Light Blue) treat Player 6 (Orange) as an Ally with shared vision
    Player - Make Player 10 (Light Blue) treat Player 1 (Red) as an Ally with shared vision
SetupDoors
  Events
  Conditions
  Actions
    Trigger - Run DoorDragon <gen> (checking conditions)
SetupSpikes
  Events
  Conditions
  Actions
    Destructible - Pick every destructible in HumanTrapDest <gen> and do (Play (Picked destructible)'s death (animationname) animation)
    Destructible - Pick every destructible in QuillboarArea <gen> and do (Play (Picked destructible)'s death (animationname) animation)
Setup Creatures
  Events
  Conditions
  Actions
    -------- Salamander Lord --------
    Unit - Order Salamander Lord 0053 <gen> to Patrol To.(Center of SalamanderPatrol <gen>)
    -------- Quilboar Group --------
    Unit Group - Pick every unit in (Units in QuillboarArea <gen>) and do (Add (Picked unit) to QuillboarGroup)
    -------- Statues --------
    Set VariableSet Statue01 = War Golem 0120 <gen>
    Set VariableSet Statue02 = War Golem 0180 <gen>
    Set VariableSet Statue03 = Siege Golem 0179 <gen>
    Unit Group - Add Statue01 to StatueGroup
    Unit Group - Add Statue02 to StatueGroup
    Unit Group - Add Statue03 to StatueGroup
    -------- Animation of a statue --------
    Unit Group - Pick every unit in StatueGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    -------- Alliance --------
    Player - Make Player 12 (Brown) treat Player 1 (Red) as an Ally
    Player - Make Player 12 (Brown) treat Player 6 (Orange) as an Ally
    Player - Make Player 12 (Brown) treat Player 10 (Light Blue) as an Ally
    Player - For Player 12 (Brown), turn Friendly spell targeting Off toward Player 1 (Red)
    Player - For Player 12 (Brown), turn Friendly spell targeting Off toward Player 6 (Orange)
    Player - For Player 12 (Brown), turn Friendly spell targeting Off toward Player 10 (Light Blue)
    Player - Make Player 1 (Red) treat Player 12 (Brown) as an Ally
    Player - Make Player 6 (Orange) treat Player 12 (Brown) as an Ally
    Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Ally
    Player - For Player 1 (Red), turn Friendly spell targeting Off toward Player 12 (Brown)
    Player - For Player 6 (Orange), turn Friendly spell targeting Off toward Player 12 (Brown)
    Player - For Player 10 (Light Blue), turn Friendly spell targeting Off toward Player 12 (Brown)
    -------- Sheep --------
    Unit Group - Pick every unit in (Units in SheepContainmentArea <gen>) and do (Add (Picked unit) to SheepGroup)
    -------- Every Creature Remain Awake --------
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Make (Picked unit) Remain awake when unprovoked at night)
SetupKingFires
  Events
  Conditions
  Actions
    -------- Left Side --------
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton01 <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton03 <gen>.
    -------- Right Side --------
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton02 <gen>.
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton04 <gen>.
SetupScoreScreen
  Events
  Conditions
  Actions
    Player - Hide Player 9 (Gray) in the post-game score screen
    Player - Hide Player 7 (Green) in the post-game score screen
    Player - Hide Player 5 (Yellow) in the post-game score screen
    Player - Hide Player 11 (Dark Green) in the post-game score screen
    Player - Hide Player 12 (Brown) in the post-game score screen
Turned on from 'SetupHeroes'
ThrallLevelLimiter
  Events
    Unit - A unit owned by Player 1 (Red).Gains a level
  Conditions
    (Leveling Hero) Equal to Thrall
    (Hero level of Thrall) Greater than or equal to 8
  Actions
    Hero - Disable experience gain for Thrall.
Turned on from 'SetupHeroes'
CairneLevelLimiter
  Events
    Unit - A unit owned by Player 6 (Orange).Gains a level
  Conditions
    (Leveling Hero) Equal to Cairne
    (Hero level of Cairne) Greater than or equal to 8
  Actions
    Hero - Disable experience gain for Cairne.
Turned on from 'SetupHeroes'
DrekTharLevelLimiter
  Events
    Unit - A unit owned by Player 10 (Light Blue).Gains a level
  Conditions
    (Leveling Hero) Equal to Far Seer 0008 <gen>
    (Hero level of Cairne) Greater than or equal to 8
  Actions
    Hero - Disable experience gain for Far Seer 0008 <gen>.
OpeningCancelled
  Events
  Conditions
  Actions
    Set VariableSet SkipVote1 = False
    Set VariableSet SkipVote2 = False
    Set VariableSet SkipVote3 = False
    Trigger - Turn off (This trigger)
    Set VariableSet OpeningCancelled = True
    Cinematic - Fade out over 2.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Environment - Reset fog to default values
    Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 0 seconds
    Camera - Reset camera for Player 10 (Light Blue) to standard game-view over 0 seconds
    Visibility - Destroy OpeningVisibility01a
    Visibility - Destroy OpeningVisibility01b
    Visibility - Destroy OpeningVisibility02a
    Visibility - Destroy OpeningVisibility02b
    Visibility - Destroy OpeningVisibility03a
    Visibility - Destroy OpeningVisibility03b
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Black mask across (Playable map area)
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Black mask across (Playable map area)
    Visibility - Destroy (Last created visibility modifier)
    Camera - .Apply. gg_cam_OpeningFinal for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Camera_015 for Player 6 (Orange) over 0.00 seconds
    Unit - Move Frostwolf Shaman 0009 <gen> instantly to (Center of Shaman01 <gen>), facing 250.00 degrees
    Unit - Move Grunt 0005 <gen> instantly to (Center of Grunt01 <gen>), facing 280.00 degrees
    Unit - Move Grunt 0004 <gen> instantly to (Center of Grunt02 <gen>), facing 310.00 degrees
    Unit - Move Raider 0006 <gen> instantly to (Center of Raider01 <gen>), facing 190.00 degrees
    Unit - Move Raider 0011 <gen> instantly to (Center of Raider02 <gen>), facing 220.00 degrees
    Unit - Move |c00FF0303Warchief|r 0230 <gen> instantly to (Center of OpeningThrallFinal <gen>), facing 180.00 degrees
    Unit - Move Tauren Chieftain 0231 <gen> instantly to (Center of OpeningCairneFinal <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Far Seer 0008 <gen> instantly to (Center of OpeningTauren <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Tauren Bruiser 0007 <gen> instantly to (Center of OpeningTauren_Copy <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Tauren Bruiser 0012 <gen> instantly to (Center of OpeningTauren_Copy_2 <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Spirit Walker 0232 <gen> instantly to (Center of OpeningTauren_Copy_3 <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Headhunter 0010 <gen> instantly to (Center of _______________221 <gen>), facing (Center of OpeningTauren_facing <gen>)
    Cinematic - Turn cinematic mode Off for (All players)
    Set VariableSet Cinematic = False
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    -------- ************** --------
    Selection - Select Thrall for Player 1 (Red)
    Selection - Select Cairne for Player 6 (Orange)
    Selection - Select Far Seer 0008 <gen> for Player 10 (Light Blue)
    Wait 1.00 seconds
    Quest - Mark QuestOracle as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01MAIN QUEST|r|c00FF0303The Oracle|r - Seek out the Oracle - Thrall and Cairne must survive
    Wait 10.00 seconds
    Quest - Display to (All players) the Hint message: |cffff8c00NOTICE|r - Thrall's Far Sight spell is not available for use in undergound caverns.
    Trigger - Run Unpause_Dragons_After_Intro <gen> (checking conditions)
Opening01
  Events
  Conditions
  Actions
    Environment - Set fog to style 0 (fogstyle), z-start 1000, z-end 3000.00, density 0 and color (44.00%, 16.00%, 9.00%)
    Cinematic - Fade out over 0.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Turn cinematic mode On for (All players)
    -------- Cameras Start --------
    Camera - .Apply. gg_cam_Opening01 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Opening01 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Opening01 for Player 10 (Light Blue) over 0 seconds
    Camera - .Apply. gg_cam_Opening02 for Player 1 (Red) over 6.00 seconds
    Camera - .Apply. gg_cam_Opening02 for Player 6 (Orange) over 6.00 seconds
    Camera - .Apply. gg_cam_Opening02 for Player 10 (Light Blue) over 6.00 seconds
    -------- Music --------
    Sound - Clear the music list
    Wait 0.01 seconds
    Sound - Set the music list to Music, starting with song 0
    Sound - Play Dark Agents.
    -------- *********************** --------
    Cinematic - Fade in over 2.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    -------- Movement --------
    Unit - Order Thrall to Move To.(Center of OpeningThrallPost <gen>)
    Unit - Order Cairne to Move To.(Center of OpeningCairnePost <gen>)
    Unit - Order Raider 0011 <gen> to Move To.(Center of OpeningRaider01 <gen>)
    Unit - Order Raider 0006 <gen> to Move To.(Center of OpeningRaider02 <gen>)
    Unit - Order Grunt 0004 <gen> to Move To.(Center of OpeningGrunt01 <gen>)
    Unit - Order Grunt 0005 <gen> to Move To.(Center of OpeningGrunt02 <gen>)
    Unit - Order Frostwolf Shaman 0009 <gen> to Move To.(Center of OpeningShaman02 <gen>)
    Unit - Order Far Seer 0008 <gen> to Move To.(Center of OpeningTauren01 <gen>)
    Unit - Order Tauren Bruiser 0007 <gen> to Move To.(Center of OpeningTauren02 <gen>)
    Unit - Order Tauren Bruiser 0012 <gen> to Move To.(Center of OpeningTauren03 <gen>)
    Unit - Order Spirit Walker 0232 <gen> to Move To.(Center of Region_201 <gen>)
    Unit - Order Headhunter 0010 <gen> to Move To.(Center of Opening_HeadHunter <gen>)
    -------- Remove Farsight --------
    Player - Disable Far Sight for Player 1 (Red)
    -------- NOW SKIPPABLE --------
    Trigger - Turn on OpeningCancelled <gen>
    Trigger - Turn on Skip_Cinematic <gen>
    Wait 4.00 seconds
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Tauren Chieftain 0231 <gen> named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne01 <gen> and display The path cuts off in different directions.. Modify duration: Add 0.00 seconds and Wait
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from |c00FF0303Warchief|r 0230 <gen> named |c00FF0303Go'el "Thrall"|r: Play O07Thrall02 <gen> and display Either of those caverns could stretch for miles. Perhaps we should split up?. Modify duration: Add 0 seconds and Wait
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Tauren Chieftain 0231 <gen> named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne03 <gen> and display Very well. Be careful, young one. There's no telling what ancient creatures lie within the mountain's depths.. Modify duration: Add 0 seconds and Wait
    Sound - Set position of GargoyleSpireWhat1 <gen> to (Center of CairneGroup <gen>) with Z offset 0
    Sound - Play GargoyleSpireWhat1 <gen>
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from |c00FF0303Warchief|r 0230 <gen> named |c00FF0303Go'el "Thrall"|r: Play O07Thrall04 <gen> and display I will, Cairne. Good luck.. Modify duration: Add 0 seconds and Wait
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Thrall to Move To.(Center of OpeningThrallMove <gen>)
    Unit - Order Cairne to Move To.(Center of OpeningCairneMove <gen>)
    Wait 0.20 seconds
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit Group - Pick every unit in ThrallGroup and do (Order (Picked unit) to Move To.(Center of OpeningThrallgroupMove <gen>))
    Unit Group - Pick every unit in CairneGroup and do (Order (Picked unit) to Move To.(Center of OpeningCairneGroupMove <gen>))
    Wait 1.00 seconds
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Fade out over 2 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Environment - Reset fog to default values
    If (OpeningCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- NO LONGER SKIPPABLE --------
    Trigger - Turn off OpeningCancelled <gen>
    Trigger - Turn off Skip_Cinematic <gen>
    -------- *********************** --------
    Unit - Move Frostwolf Shaman 0009 <gen> instantly to (Center of Shaman01 <gen>), facing 250.00 degrees
    Unit - Move Grunt 0005 <gen> instantly to (Center of Grunt01 <gen>), facing 280.00 degrees
    Unit - Move Grunt 0004 <gen> instantly to (Center of Grunt02 <gen>), facing 310.00 degrees
    Unit - Move Raider 0006 <gen> instantly to (Center of Raider01 <gen>), facing 190.00 degrees
    Unit - Move Raider 0011 <gen> instantly to (Center of Raider02 <gen>), facing 220.00 degrees
    Unit - Move |c00FF0303Warchief|r 0230 <gen> instantly to (Center of OpeningThrallFinal <gen>), facing 180.00 degrees
    Unit - Move Tauren Chieftain 0231 <gen> instantly to (Center of OpeningCairneFinal <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Far Seer 0008 <gen> instantly to (Center of OpeningTauren <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Tauren Bruiser 0007 <gen> instantly to (Center of OpeningTauren_Copy <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Tauren Bruiser 0012 <gen> instantly to (Center of OpeningTauren_Copy_2 <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Spirit Walker 0232 <gen> instantly to (Center of OpeningTauren_Copy_3 <gen>), facing (Center of OpeningTauren_facing <gen>)
    Unit - Move Headhunter 0010 <gen> instantly to (Center of _______________221 <gen>), facing (Center of OpeningTauren_facing <gen>)
    Wait 1.00 seconds
    -------- *********************** --------
    Cinematic - Turn cinematic mode Off for (All players)
    Set VariableSet SkipVote1 = False
    Set VariableSet SkipVote2 = False
    Set VariableSet Cinematic = False
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Visibility - Destroy OpeningVisibility01a
    Visibility - Destroy OpeningVisibility01b
    Visibility - Destroy OpeningVisibility02a
    Visibility - Destroy OpeningVisibility02b
    Visibility - Destroy OpeningVisibility03a
    Visibility - Destroy OpeningVisibility03b
    Camera - Reset camera for Player 1 (Red) to standard game-view over 0 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 0 seconds
    Camera - Reset camera for Player 10 (Light Blue) to standard game-view over 0 seconds
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Black mask across (Playable map area)
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Black mask across (Playable map area)
    Visibility - Destroy (Last created visibility modifier)
    Camera - .Apply. gg_cam_OpeningFinal for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Camera_015 for Player 6 (Orange) over 0.00 seconds
    Camera - .Apply. gg_cam_OpeningFinal for Player 10 (Light Blue) over 0.00 seconds
    -------- ************ --------
    Selection - Select Thrall for Player 1 (Red)
    Selection - Select Cairne for Player 6 (Orange)
    Selection - Select Far Seer 0008 <gen> for Player 10 (Light Blue)
    Wait 1.00 seconds
    Quest - Mark QuestOracle as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01MAIN QUEST|r|c00FF0303The Oracle|r - Seek out the Oracle - Thrall and Cairne must survive
    Wait 10.00 seconds
    Quest - Display to (All players) the Hint message: |cffff8c00NOTICE|r - Drek-Thars Far Sight spell is not available for use in undergound caverns.
    -------- ************ --------
    Trigger - Run Unpause_Dragons_After_Intro <gen> (checking conditions)
EndingCancelled
  Events
  Conditions
    EndingCancelled Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet EndingCancelled = True
    Sound - Stop the currently playing music theme
    -------- Fade out --------
    Cinematic - Fade out over 2 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2 seconds
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
      Loop - Actions
        Unit - Hide (Picked unit)
        Unit - Pause (Picked unit)
    Cinematic - Turn cinematic mode Off for (All players)
    Trigger - Run Endgame_Text <gen> (checking conditions)
Ending01
  Events
    Unit - A unit enters OracleArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
    GemstoneReturned Equal to True
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet GAMEOVER = True
    Unit - Make Cairne Invulnerable
    Unit - Make Thrall Invulnerable
    Item - Remove gg_item_kybl_0069
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet Cinematic = True
    Wait 1.00 seconds
    -------- ---------- --------
    Selection - Clear selection
    Unit - Remove All buffs from Thrall
    Unit - Remove All buffs from Cairne
    Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally
    Player - Make Player 10 (Light Blue) treat Player 2 (Blue) as an Ally
    Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally
    Player - Make Player 2 (Blue) treat Player 10 (Light Blue) as an Ally
    Environment - Set fog to style 0 (fogstyle), z-start 1000, z-end 3000.00, density 0 and color (44.00%, 16.00%, 9.00%)
    Cinematic - Turn cinematic mode On for (All players)
    -------- Music --------
    Sound - Play Dark Agents.
    -------- ************** --------
    Trigger - Run Player_Settings <gen> (checking conditions)
    Animation - Play the Stand Second (animationname) animation for all doodads of type YOr2 (doodadcode) within FrostTrapbehingMedivh <gen>.
    Camera - .Apply. gg_cam_Ending_1 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_1 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_1 for Player 10 (Light Blue) over 0 seconds
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Order (Picked unit) to Stop.)
    Unit - Move Thrall instantly to (Center of EndingThrallStart <gen>)
    Unit - Move Cairne instantly to (Center of EndingCairneStart <gen>)
    Unit - Unhide Archmage 0003 <gen>
    Unit - Unhide Footman 0060 <gen>
    Unit - Unhide Footman 0059 <gen>
    -------- NOW SKIPPABLE --------
    Trigger - Turn on EndingCancelled <gen>
    Trigger - Turn on Skip_Cinematic <gen>
    -------- ************** --------
    Wait 0.10 seconds
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Thrall to Move To.(Center of EndingThrallPost_Copy <gen>)
    Unit - Order Cairne to Move To.(Center of EndingCairnePost_Copy <gen>)
    Animation - Lock Archmage 0003 <gen>'s Head to face Thrall, offset by (0, 0, 90)
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Quest - Mark QuestOracle as Completed
    Camera - .Apply. gg_cam_Ending_2 for Player 1 (Red) over (Length of O07Jaina34 <gen>) seconds
    Camera - .Apply. gg_cam_Ending_2 for Player 6 (Orange) over (Length of O07Jaina34 <gen>) seconds
    Camera - .Apply. gg_cam_Ending_2 for Player 10 (Light Blue) over (Length of O07Jaina34 <gen>) seconds
    Cinematic - Send transmission to (All players) from Archmage 0003 <gen> named Jaina Proudmoore: Play O07Jaina34 <gen> and display Orcs. I knew that we were being followed. Defend yourselves!. Modify duration: Add 0 seconds and Don't wait
    Wait for O07Jaina34 <gen> to be ((Length of O07Jaina34 <gen>) x 0.50) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Archmage 0003 <gen> to Move To.(Center of EndingJainaPost_Copy <gen>)
    Unit - Order Footman 0060 <gen> to Move To.(Center of EndingFootman2Post <gen>)
    Unit - Order Footman 0059 <gen> to Move To.(Center of EndingFootman1Post <gen>)
    Wait for O07Jaina34 <gen> to be ((Length of O07Jaina34 <gen>) x 0.35) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Thrall face (Center of EndingJainaPost_Copy <gen>) over 0 seconds
    Unit - Make Cairne face (Center of EndingJainaPost_Copy <gen>) over 0 seconds
    Wait for O07Jaina34 <gen> to be ((Length of O07Jaina34 <gen>) x 0.15) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Ending_Medivh_Closup for Player 1 (Red) over 0.00 seconds
    Camera - .Apply. gg_cam_Ending_Medivh_Closup for Player 6 (Orange) over 0.00 seconds
    Camera - .Apply. gg_cam_Ending_Medivh_Closup for Player 10 (Light Blue) over 0.00 seconds
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh35 <gen> and display Stop! There will be no violence in this place.. Modify duration: Add 0 seconds and Don't wait
    Animation - Play Medivh 0001 <gen>'s Stand First (animationname) animation
    Animation - Queue Medivh 0001 <gen>'s stand (animationname) animation
    Animation - Lock Medivh 0001 <gen>'s Head to face Thrall, offset by (0, 0, 90)
    Wait for O07Medivh35 <gen> to be ((Length of O07Medivh35 <gen>) x 0.70) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Medivh 0001 <gen>'s Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh35 <gen> to be ((Length of O07Medivh35 <gen>) x 0.55) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Medivh 0001 <gen>'s Head to face Cairne, offset by (0, 0, 90)
    Wait for O07Medivh35 <gen> to be 0 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Ending_3 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_3 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_3 for Player 10 (Light Blue) over 0 seconds
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall36 <gen> and display That voice. You're no oracle! You're the prophet!. Modify duration: Add 0 seconds and Don't wait
    Animation - Lock Thrall's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Wait for O07Thrall36 <gen> to be ((Length of O07Thrall36 <gen>) x 0.20) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Thrall to Move To.(Center of EndingThrallPost <gen>)
    Unit - Order Cairne to Move To.(Center of EndingCairnePost <gen>)
    Animation - Reset Archmage 0003 <gen>'s body-part facing
    Unit - Order Archmage 0003 <gen> to Move To.(Center of EndingJainaPost <gen>)
Ending02
  Events
    Unit - A unit enters EndingJainaPost <gen>
  Conditions
    (Triggering unit) Equal to Archmage 0003 <gen>
  Actions
    Wait for O07Thrall36 <gen> to be 0.00 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Thrall face (Center of Thrall_Look_At <gen>) over 0 seconds
    Unit - Make Cairne face (Center of Thrall_Look_At <gen>) over 0 seconds
    Animation - Lock Thrall's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Cairne's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Archmage 0003 <gen>'s Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Medivh 0001 <gen>'s Head to face Thrall, offset by (0, 0, 90)
    Camera - .Apply. gg_cam_Ending_Group for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 10 (Light Blue) over 0 seconds
    Animation - Play Cairne's stand (animationname) animation, using only Common animations
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh37 <gen> and display Very perceptive, son of Durotan. I am the prophet. And, now that I've lured you all here, I will tell you what destiny holds.. Modify duration: Add 0 seconds and Wait
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Thrall---------------------------------- --------
    Camera - .Apply. gg_cam_Ending_Thrall for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Thrall for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Thrall for Player 10 (Light Blue) over 0 seconds
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall38 <gen> and display What the hell is going on here?. Modify duration: Add 0 seconds and Wait
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Medivh---------------------------------- --------
    Camera - .Apply. gg_cam_Ending_Group for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 10 (Light Blue) over 0 seconds
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh39 <gen> and display Thrall, this is Jaina Proudmoore, leader of the survivors of Lordaeron. . Modify duration: Add 0 seconds and Don't wait
    Wait for O07Medivh39 <gen> to be ((Length of O07Medivh39 <gen>) x 0.80) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Medivh 0001 <gen>'s Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh39 <gen> to be ((Length of O07Medivh39 <gen>) x 0.60) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Thrall's Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh39 <gen> to be ((Length of O07Medivh39 <gen>) x 0.40) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Cairne's Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh39 <gen> to be 0.00 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Thrall--------------------------------- --------
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall40 <gen> and display Survivors? What are you talking about?. Modify duration: Add 0 seconds and Don't wait
    Animation - Lock Medivh 0001 <gen>'s Head to face Thrall, offset by (0, 0, 90)
    Animation - Lock Thrall's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Cairne's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Wait for O07Thrall40 <gen> to be 0 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Medivh---------------------------------- --------
    Camera - .Apply. gg_cam_Ending_Medivh_Closup2 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Medivh_Closup2 for Player 6 (Orange) over 0 seconds
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh41 <gen> and display The invasion of the Burning Legion has begun! Lordaeron has already fallen, and now the demons come to invade Kalimdor! Only together, united against the shadow, will you be able to save this world from the flame. . Modify duration: Add 0 seconds and Don't wait
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.70) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Medivh 0001 <gen>'s Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.55) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Medivh 0001 <gen>'s Head to face Cairne, offset by (0, 0, 90)
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.40) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Ending_GroupPan_1 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_GroupPan_1 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_GroupPan_1 for Player 10 (Light Blue) over 0 seconds
    Camera - .Apply. gg_cam_Ending_GroupPan_2 for Player 1 (Red) over ((Length of O07Medivh41 <gen>) x 0.60) seconds
    Camera - .Apply. gg_cam_Ending_GroupPan_2 for Player 6 (Orange) over ((Length of O07Medivh41 <gen>) x 0.60) seconds
    Camera - .Apply. gg_cam_Ending_GroupPan_2 for Player 10 (Light Blue) over ((Length of O07Medivh41 <gen>) x 0.60) seconds
    Animation - Lock Thrall's Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Animation - Lock Cairne's Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Animation - Lock Archmage 0003 <gen>'s Head to face Thrall, offset by (0, 0, 120.00)
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.30) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Thrall's Head to face Cairne, offset by (0, 0, 90)
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.25) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Cairne's Head to face Thrall, offset by (0, 0, 120.00)
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.20) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Archmage 0003 <gen>'s Head to face Cairne, offset by (0, 0, 120.00)
    Wait for O07Medivh41 <gen> to be ((Length of O07Medivh41 <gen>) x 0.10) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Archmage 0003 <gen>'s Head to face Thrall, offset by (0, 0, 120.00)
    Animation - Lock Thrall's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh41 <gen> to be 0 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Jaina---------------------------------- --------
    Camera - .Apply. gg_cam_Ending_Jaina_Cam for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Jaina_Cam for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Jaina_Cam for Player 10 (Light Blue) over 0 seconds
    Cinematic - Send transmission to (All players) from Archmage 0003 <gen> named Jaina Proudmoore: Play O07Jaina42 <gen> and display Unite with them? Are you mad?. Modify duration: Add 0 seconds and Don't wait
    Animation - Lock Thrall's Head to face Archmage 0003 <gen>, offset by (0, 0, 90)
    Animation - Lock Cairne's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Archmage 0003 <gen>'s Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Wait for O07Jaina42 <gen> to be 0 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Medivh---------------------------------- --------
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh43 <gen> and display Have you heard nothing that I've said? The Legion comes to undo history and end all life! Thrall, your friend Hellscream has already fallen under the demons' influence. Soon he and your whole race will be lost forever!. Modify duration: Add 0 seconds and Don't wait
    Animation - Lock Thrall's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Cairne's Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Animation - Lock Archmage 0003 <gen>'s Head to face Medivh 0001 <gen>, offset by (0, 0, 90)
    Wait for O07Medivh43 <gen> to be ((Length of O07Medivh43 <gen>) x 0.81) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Ending_Group for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 10 (Light Blue) over 0 seconds
    Animation - Play Medivh 0001 <gen>'s Stand Talk First (animationname) animation
    Animation - Queue Medivh 0001 <gen>'s stand (animationname) animation
    Wait for O07Medivh43 <gen> to be ((Length of O07Medivh43 <gen>) x 0.69) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Medivh 0001 <gen>'s Stand Talk Second (animationname) animation
    Animation - Queue Medivh 0001 <gen>'s stand (animationname) animation
    Wait for O07Medivh43 <gen> to be ((Length of O07Medivh43 <gen>) x 0.57) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Medivh 0001 <gen>'s Head to face Thrall, offset by (0, 0, 90)
    Wait for O07Medivh43 <gen> to be 0 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Thrall--------------------------------- --------
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall44 <gen> and display No... I'll die before I let that happen!. Modify duration: Add 0 seconds and Don't wait
    Wait for O07Thrall44 <gen> to be 0 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Medivh---------------------------------- --------
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh45 <gen> and display Then you must rescue him immediately! He is the key to the destiny I promised you. However, you will need help. . Modify duration: Add 0 seconds and Don't wait
    Animation - Play Medivh 0001 <gen>'s Stand Talk First (animationname) animation
    Animation - Queue Medivh 0001 <gen>'s stand (animationname) animation
    Wait for O07Medivh45 <gen> to be 2.50 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Medivh 0001 <gen>'s Stand Talk Third (animationname) animation
    Animation - Queue Medivh 0001 <gen>'s stand (animationname) animation
    Wait for O07Medivh45 <gen> to be 0.15 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Jaina---------------------------------- --------
    Camera - .Apply. gg_cam_Ending_Jaina_Cam for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Jaina_Cam for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Jaina_Cam for Player 10 (Light Blue) over 0 seconds
    Cinematic - Send transmission to (All players) from Archmage 0003 <gen> named Jaina Proudmoore: Play O07Jaina46 <gen> and display Wait! This is insane! You can't possibly expect me to--. Modify duration: Add 0 seconds and Don't wait
    Wait for O07Jaina46 <gen> to be 0.75 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- ---------------------------Inserted Medivh---------------------------------- --------
    Cinematic - Send transmission to (All players) from Medivh 0001 <gen> named The Prophet: Play O07Medivh47 <gen> and display Destiny is at hand, young sorceress. The time to choose has come. For the fate of all who live, humanity must join forces with the Horde.. Modify duration: Subtract 1.25 seconds and Don't wait
    Wait for O07Medivh47 <gen> to be ((Length of O07Medivh47 <gen>) x 0.75) seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Reset Medivh 0001 <gen>'s body-part facing
    Animation - Play Medivh 0001 <gen>'s Stand Talk Fourth (animationname) animation
    Camera - .Apply. gg_cam_Ending_Group for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Ending_Group for Player 10 (Light Blue) over 0 seconds
    Wait for O07Medivh47 <gen> to be 1.75 seconds from finished playing
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Stop the currently playing music theme
    If (EndingCancelled Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Fade out over 2 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Trigger - Turn off Skip_Cinematic <gen>
    Trigger - Turn off EndingCancelled <gen>
    Wait 2 seconds
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
      Loop - Actions
        Unit - Hide (Picked unit)
        Unit - Pause (Picked unit)
    Cinematic - Turn cinematic mode Off for (All players)
    Trigger - Run Endgame_Text <gen> (checking conditions)
Jaina Face Thrall
  Events
    Unit - A unit enters EndingJainaPost_Copy <gen>
  Conditions
    (Entering unit) Equal to Archmage 0003 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Order Archmage 0003 <gen> to Stop.
    Unit - Make Archmage 0003 <gen> face (Center of EndingThrallPost_Copy <gen>) over 0 seconds
Thrall Facing at Medivh
  Events
    Unit - A unit enters EndingThrallPost <gen>
  Conditions
    (Entering unit) Equal to Thrall
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Order Thrall to Stop.
    Unit - Make Thrall face (Center of Thrall_Look_At <gen>) over 0 seconds
Cairne Facing at Medivh
  Events
    Unit - A unit enters EndingCairnePost <gen>
  Conditions
    (Entering unit) Equal to Cairne
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Order Cairne to Stop.
    Unit - Make Cairne face (Center of Thrall_Look_At <gen>) over 0 seconds
Jaina Facing at Medivh
  Events
    Unit - A unit enters EndingJainaPost <gen>
  Conditions
    (Entering unit) Equal to Archmage 0003 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Order Archmage 0003 <gen> to Stop.
    Unit - Make Archmage 0003 <gen> face (Center of Jaina_Look_At <gen>) over 0 seconds
Dialog
  Events
    Unit - A unit enters AszuneArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Enchanted Gemstone Obelisk 0000 <gen> named Aszune: Play O07Statue14 <gen> and display I am Aszune, ancient princess of the moon-children. None may pass until my heart is returned to me.. Modify duration: Add 0 seconds and Wait
    If ((Thrall has HeartOfAszune) Equal to True) then do (Do nothing) else do (Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall15 <gen> and display The statue's magic has created an impassable barrier. I wonder what it means by its heart?. Modify duration: Add 0 seconds and Wait)
    If ((Thrall has HeartOfAszune) Equal to True) then do (Run QuestDiscoveredWithHeart <gen> (checking conditions)) else do (Do nothing)
    Sound - Reset all volume channels to 100%
    If ((Thrall has HeartOfAszune) Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Wait 2 seconds
    Wait Campaign quest delay seconds
    Trigger - Turn on HeartReturned <gen>
QuestReq01
  Events
    Unit - A unit owned by Player 1 (Red).Acquires an item
    Unit - A unit owned by Player 10 (Light Blue).Acquires an item
  Conditions
    (Item being manipulated) Equal to HeartOfAszune
    GAMEOVER Equal to False
  Actions
    Wait 1.00 seconds
    Trigger - Turn off QuestHeartOfAszune <gen>
    If ((QuestHeartOfAszune is discovered) Equal to True) then do (Mark QuestHeartOfAszuneReq01 as Completed) else do (Do nothing)
    If ((QuestHeartOfAszune is discovered) Equal to True) then do (Display to (All players) the Quest Update message: |c00FFFC01MAIN QUEST UPDATE|r|c00FF0303Heart of Aszune|r - |cff808080Find the Heart of Aszune (Completed)|r - Bring the Heart to Aszune) else do (Do nothing)
QuestHeartOfAszune
  Events
  Conditions
    (Thrall has an item of type Heart of Aszune) Equal to False
    GAMEOVER Equal to False
  Actions
    Quest - Mark QuestHeartOfAszune as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01MAIN QUEST|r|c00FF0303The Heart of Aszune|r - Find the Heart of Aszune - Return the Heart to Aszune
QuestDiscoveredWithHeart
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Quest - Mark QuestHeartOfAszune as Discovered
    Quest - Mark QuestHeartOfAszuneReq01 as Completed
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01MAIN QUEST|r|c00FF0303The Heart of Aszune|r - |cff808080Find the Heart of Aszune (Completed)|r - Return the Heart to Aszune
    Wait Campaign quest delay seconds
    Trigger - Run HeartReturned <gen> (ignoring conditions)
Turned on from 'Dialog' for safety reasons
HeartReturned
  Events
    Unit - A unit enters AszuneArea <gen>
  Conditions
    ((Entering unit) has an item of type Heart of Aszune) Equal to True
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off Dialog <gen>
    Sound - Setup all volume channels for speech
    Item - Remove HeartOfAszune
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall16 <gen> and display Here is your heart, Aszune. Now, grant us passage to the Oracle.. Modify duration: Add 0 seconds and Don't wait
    Wait 2 seconds
    Animation - Play the Stand Alternate (animationname) animation for all doodads of type AOgs (doodadcode) within (Playable map area).
    Sound - Set position of ResurrectTarget <gen> to (Center of AszuneArea <gen>) with Z offset 0
    Sound - Play ResurrectTarget <gen>
    Wait 4.16 seconds
    Wait for O07Thrall16 <gen> to be 0 seconds from finished playing
    Sound - Reset all volume channels to 100%
    Destructible - Kill ForceWall 1237 <gen>
    Wait 2 seconds
    Quest - Mark QuestHeartOfAszune as Discovered
    Quest - Mark QuestHeartOfAszune as Completed
    Quest - Mark QuestHeartOfAszuneReq01 as Completed
    Quest - Mark QuestHeartOfAszuneReq02 as Completed
    Quest - Display to (All players) the Quest Completed message: |c00FFFC01MAIN QUEST COMPLETED|r|c00FF0303Heart of Aszune|r
    Wait Campaign quest delay seconds
    Unit - Order Thrall to Move To.(Center of ThrallBridgeMove <gen>)
    Trigger - Run ObeliskThrallNoGem <gen> (ignoring conditions)
RevealerStart
  Events
    Unit - A unit enters AszuneReveal <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across VisibilityAszune <gen>
    Set VariableSet VisibilityAszune1 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across VisibilityAszune <gen>
    Set VariableSet VisibilityAszune2 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility across VisibilityAszune <gen>
    Set VariableSet VisibilityAszune2 = (Last created visibility modifier)
RevealerGroupAdd
  Events
    Unit - A unit enters AszuneReveal <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
    GAMEOVER Equal to False
  Actions
    Unit Group - Add (Entering unit) to AszuneRevealerGroup
    Trigger - Run RevealerCheck <gen> (checking conditions)
RevealerGroupSub
  Events
    Unit - A unit leaves AszuneReveal <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Leaving unit)) Equal to Player 1 (Red)
        (Owner of (Leaving unit)) Equal to Player 6 (Orange)
        (Owner of (Leaving unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit Group - Remove (Leaving unit) from AszuneRevealerGroup.
    Trigger - Run RevealerCheck <gen> (checking conditions)
RevealerCheck
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    If ((Number of units in AszuneRevealerGroup) Greater than or equal to 1) then do (Enable VisibilityAszune1) else do (Disable VisibilityAszune1)
RevealerAszuneSafety
  Events
    Unit - A unit owned by Player 1 (Red).Dies
    Unit - A unit owned by Player 6 (Orange).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
  Conditions
    ((Dying unit) is in AszuneRevealerGroup.) Equal to True
  Actions
    Unit Group - Remove (Dying unit) from AszuneRevealerGroup.
    Trigger - Run RevealerCheck <gen> (checking conditions)
AllyDoorMessage
  Events
    Unit - A unit enters QuillboarGate <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 6 (Orange)
    (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
    (Dungeon Gate 1299 <gen> is alive) Equal to True
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Quest - Display to (All players) the Hint message: |cff32cd32LOCKED DOOR|r - The door is locked, it appears to be waiting for something.
Invulnerable
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Item - Make gg_item_engs_0021 Invulnerable
    Item - Make EnchantedGemstone Undroppable
ObeliskThrallNoGem
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall18 <gen> and display Apparently, this is some kind of spectral bridge. But the enchanted gemstone that powers it is missing. With any luck, Cairne will find it for us.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    -------- Cairne Start --------
    Wait 1.00 seconds
    Sound - Play LargeCityGateOpen1 <gen>
    Destructible - Open Dungeon Gate 1299 <gen>
    Camera - Pan camera for Player 1 (Red) to (Position of Cairne) over 0 seconds
    Camera - Pan camera for Player 10 (Light Blue) to (Position of Cairne) over 0 seconds
    -------- ************** --------
    Wait 0.20 seconds
    Sound - Play CairneWhat2 <gen>
    Wait 1.00 seconds
    Quest - Mark QuestEnchantedGemstone as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01MAIN QUEST|r|c00FF0303Enchanted Gemstone|r - Find the Enchanted Gemstone - Bring the Enchanted Gemstone to the Spectral Bridge - Cairne must survive
Run from 'GemstoneAcquired'
QuestGemstoneReq1
  Events
  Conditions
    GAMEOVER Equal to False
  Actions
    Quest - Mark QuestEnchantedGemstoneReq1 as Completed
    Quest - Display to (All players) the Quest Update message: |c00FFFC01MAIN QUEST UPDATE|r|c00FF0303Enchanted Gemstone|r - |cff808080Find the Enchanted Gemstone (Completed)|r - Bring the Enchanted Gemstone to the Spectral Bridge - Cairne Bloodhoof must survive
GemstoneReturned
  Events
    Unit - A unit enters EnchantedGemStone <gen>
  Conditions
    ((Entering unit) has an item of type Enchanted Gemstone) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off ObeliskCairneNoGem <gen>
    Item - Remove EnchantedGemstone
    Animation - Play Enchanted Gemstone Obelisk 0000 <gen>'s stand (animationname) animation
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        HEROICMODE Equal to False
      Then - Actions
        Trigger - Run Reveal_Bridge <gen> (checking conditions)
      Else - Actions
        Sound - Play ReviveUndead <gen> at 100% volume, located at (Position of Enchanted Gemstone Obelisk 0000 <gen>) with Z offset 0
        Special Effect - Create a special effect at (Position of Enchanted Gemstone Obelisk 0000 <gen>) using Abilities\Spells\Undead\Unsummon\UnsummonTarget.mdl
        Set VariableSet EffectSummoing = (Last created special effect)
        Wait 0.60 seconds
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Wait 0.60 seconds
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Wait 0.40 seconds
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Wait 0.20 seconds
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Wait 0.20 seconds
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at (Random point in Region_215 <gen>) using Abilities\Spells\Undead\DeathCoil\DeathCoilSpecialArt.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Remove Enchanted Gemstone Obelisk 0000 <gen> from the game
        Unit - Create 1.Aszune for Player 12 (Brown) at (Center of Region_215 <gen>) facing 0.00 degrees
        Unit Group - Add (Last created unit) to GroupAzsune
        Unit - Create 1.Spirit for Player 12 (Brown) at (Center of Region_216 <gen>) facing 0.00 degrees
        Unit Group - Add (Last created unit) to GroupAzsune
        Unit - Create 1.Spirit for Player 12 (Brown) at (Center of Region_216_Copy <gen>) facing 0.00 degrees
        Unit Group - Add (Last created unit) to GroupAzsune
        Unit - Create 1.Spirit for Player 12 (Brown) at (Center of Region_216_Copy_2 <gen>) facing 0.00 degrees
        Unit Group - Add (Last created unit) to GroupAzsune
        Unit - Create 1.Spirit for Player 12 (Brown) at (Center of Region_216_Copy_3 <gen>) facing 0.00 degrees
        Unit Group - Add (Last created unit) to GroupAzsune
        Game - Display to (All players) the text: (String((Number of units in GroupAzsune)))
        Trigger - Turn on Insane_Boss_Death <gen>
        Wait 1.00 seconds
        Special Effect - Destroy EffectSummoing
Turned off from 'GemstoneAcquired'
ObeliskCairneNoGem
  Events
    Unit - A unit enters ObeliskArea <gen>
  Conditions
    GAMEOVER Equal to False
    ((Entering unit) has an item of type Enchanted Gemstone) Equal to False
    (Entering unit) Equal to Cairne
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne28 <gen> and display If the legends are correct, then this should be the Spirits' Bridge. But the spirit stone that powers it has been lost. Perhaps we should return to the quillboars' pit and retrieve the gemstone we saw there.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
Reveal Bridge
  Events
  Conditions
  Actions
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne32 <gen> and display Ah, the Spirits' Bridge... Just as the legends described it. Now, young warchief, the path to the Oracle is revealed!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Camera - Pan camera as necessary for Player 1 (Red) to (Center of Bridge <gen>) over 0.5 seconds
    Camera - Pan camera as necessary for Player 6 (Orange) to (Center of Bridge <gen>) over 0.5 seconds
    Camera - Pan camera as necessary for Player 10 (Light Blue) to (Center of Bridge <gen>) over 0.5 seconds
    Wait 1.00 seconds
    Destructible - Resurrect Force Bridge 0099 <gen> with (Max life of (Last created destructible)) life and Show birth animation
    Set VariableSet GemstoneReturned = True
    Sound - Set position of ReviveOrc <gen> to (Center of BridgeActivateSound <gen>) with Z offset 0
    Sound - Play ReviveOrc <gen>
    Wait 2.50 seconds
    Quest - Display to (All players) the Quest Completed message: |c00FFFC01MAIN QUEST COMPLETED|r|c00FF0303Enchanted Gemstone|r
    Quest - Mark QuestEnchantedGemstone as Completed
    Quest - Mark QuestEnchantedGemstoneReq2 as Completed
Insane Boss Death
  Events
    Unit - A unit Dies
  Conditions
    ((Triggering unit) is in GroupAzsune.) Equal to True
  Actions
    Unit Group - Pick every unit in GroupAzsune and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Picked unit) is alive) Equal to True
          Then - Actions
            Skip remaining actions
          Else - Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Reveal_Bridge <gen> (checking conditions)
PopWolves04
  Events
    Unit - A unit enters WolfEnterSheepArea <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Spirit Wolf (Level 1)
    (Sorceress 0057 <gen> is alive) Equal to True
  Actions
    Unit - Kill (Entering unit)
PopWolves05
  Events
    Unit - A unit enters WolfEnterSheepArea <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Dire Wolf (Level 2)
    (Sorceress 0057 <gen> is alive) Equal to True
  Actions
    Unit - Kill (Entering unit)
PopWolves06
  Events
    Unit - A unit enters WolfEnterSheepArea <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Shadow Wolf (Level 3)
    (Sorceress 0057 <gen> is alive) Equal to True
  Actions
    Unit - Kill (Entering unit)
PopWolvesStatue01
  Events
    Unit - A unit enters WolfPopStatueRoom <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Spirit Wolf (Level 1)
    (Siege Golem 0179 <gen> is alive) Equal to True
  Actions
    Unit - Kill (Entering unit)
PopWolvesStatue02
  Events
    Unit - A unit enters WolfPopStatueRoom <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Dire Wolf (Level 2)
    (Siege Golem 0179 <gen> is alive) Equal to True
  Actions
    Unit - Kill (Entering unit)
PopWolvesStatue03
  Events
    Unit - A unit enters WolfPopStatueRoom <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Shadow Wolf (Level 3)
    (Siege Golem 0179 <gen> is alive) Equal to True
  Actions
    Unit - Kill (Entering unit)
RevenantRun
  Events
    Unit - A unit enters RevenantRun <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit - Order Fire Revenant 0036 <gen> to Move To.(Center of RevenantRunDest <gen>)
SkeletonsOnline
  Events
    Unit - A unit enters SkeletonsOnline <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit - Order Burning Archer 0052 <gen> to Move To.(Center of Region_035 <gen>)
    Unit - Order Burning Archer 0051 <gen> to Move To.(Center of Region_036 <gen>)
    Unit - Order Burning Archer 0046 <gen> to Move To.(Center of Region_037 <gen>)
    Unit - Order Burning Archer 0056 <gen> to Move To.(Center of Region_038 <gen>)
Trap01
  Events
    Unit - A unit enters KingSkeletonTrap01 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    -------- *********************** --------
    Animation - Play the stand (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton01 <gen>.
    Animation - Play the stand (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton02 <gen>.
    Wait 0.20 seconds
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of KingSkeleton01 <gen>) facing 270.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of KingSkeleton01Move <gen>)
    -------- *********************** --------
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of KingSkeleton02 <gen>) facing 270.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of KingSkeleton02Move <gen>)
Trap02
  Events
    Unit - A unit enters KingSkeletonTrap02 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    -------- *********************** --------
    Animation - Play the stand (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton03 <gen>.
    Animation - Play the stand (animationname) animation for all doodads of type YOtf (doodadcode) within KingSkeleton04 <gen>.
    Wait 0.20 seconds
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of KingSkeleton03 <gen>) facing 270.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of KingSkeleton03Move <gen>)
    -------- *********************** --------
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of KingSkeleton04 <gen>) facing 270.00 degrees
    Unit - Order (Last created unit) to Move To.(Center of KingSkeleton04Move <gen>)
KingsDoor
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Destructible - Make Iron Gate 0053 <gen> Invulnerable
KingsDoorMessage
  Events
    Unit - A unit enters GateTough <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 1 (Red)
    (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
    ((Entering unit) has an item of type Blood Key) Equal to False
    (Iron Gate 0053 <gen> is alive) Equal to True
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Quest - Display to (All players) the Hint message: |cff32cd32KING'S DOOR|r - The door to the treasure room is locked.
KingsDoorOpen
  Events
    Unit - A unit enters GateTough <gen>
  Conditions
    ((Entering unit) has an item of type Blood Key) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet BonusesFound = (BonusesFound + 1)
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of KingsDoor <gen>) to a radius of 512.
    Set VariableSet KingsVis = (Last created visibility modifier)
    Wait 0.50 seconds
    Destructible - Kill Iron Gate 0053 <gen>
    Item - Remove (Item carried by (Entering unit) of type Blood Key)
    Wait 2 seconds
    Visibility - Destroy KingsVis
Cell01
  Events
    Unit - A unit enters Cell01Trigger <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Wait 2 seconds
    Destructible - Kill Dungeon Gate 0100 <gen>
    Wait 0.50 seconds
    Unit - Order Kobold Taskmaster 0034 <gen> to Attack-Move To.(Center of Cell01Trigger <gen>)
Cell02
  Events
    Destructible - Dungeon Gate 0101 <gen> dies
  Conditions
  Actions
    Unit - Rescue SpearThrower 0235 <gen> for Player 1 (Red) and Change color
    Unit - Rescue SpearThrower 0239 <gen> for Player 1 (Red) and Change color
    Unit - Rescue SpearThrower 0240 <gen> for Player 1 (Red) and Change color
    Wait 1.50 seconds
    Sound - Setup all volume channels for speech
    Sound - Play HeadHunterWhat1 <gen>
    Wait 1.50 seconds
    Sound - Reset all volume channels to 100%
Cell03
  Events
    Destructible - Dungeon Gate 0106 <gen> dies
  Conditions
  Actions
    Unit - Create 1.Salamander Lord for Player 8 (Pink) at (Center of Cell03Start <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of Cell03End <gen>)
    Set VariableSet Salamander = (Last created unit)
SalamanderDrop
  Events
    Unit - A unit owned by Player 8 (Pink).Dies
  Conditions
    (Dying unit) Equal to Salamander
  Actions
    Trigger - Turn off (This trigger)
    Item - Create Sobi Mask at (Position of (Dying unit))
    Animation - Play the death (animationname) animation for all doodads of type YOtf (doodadcode) within FirePrison <gen>.
SkeletonPrisonStart
  Events
    Unit - A unit enters SkeletonPrisonStart <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn on SkeletonsDead <gen>
    -------- *********** --------
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of Skeleton01Prison <gen>) facing 270.00 degrees
    Animation - Play (Last created unit)'s birth (animationname) animation
    Set VariableSet BurningArcher01 = (Last created unit)
    Unit Group - Add BurningArcher01 to BurningArcherGroup
    -------- *********** --------
    Wait 1.00 seconds
    -------- *********** --------
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of Skeleton02Prison <gen>) facing 280.00 degrees
    Animation - Play (Last created unit)'s birth (animationname) animation
    Set VariableSet BurningArcher02 = (Last created unit)
    Unit Group - Add BurningArcher02 to BurningArcherGroup
    Wait 1.00 seconds
    -------- *********** --------
    Unit - Create 1.Burning Archer for Player 8 (Pink) at (Center of Skeleton03Prison <gen>) facing 240.00 degrees
    Animation - Play (Last created unit)'s birth (animationname) animation
    Set VariableSet BurningArcher03 = (Last created unit)
    Unit Group - Add BurningArcher03 to BurningArcherGroup
SkeletonsDead
  Events
    Unit - A unit owned by Player 8 (Pink).Dies
  Conditions
    ((Dying unit) is in BurningArcherGroup.) Equal to True
  Actions
    Unit Group - Remove (Dying unit) from BurningArcherGroup.
    If ((Number of units in BurningArcherGroup) Less than or equal to 0) then do (Run RescueHunters <gen> (ignoring conditions)) else do (Do nothing)
RescueHunters
  Events
  Conditions
  Actions
    Set VariableSet BonusesFound = (BonusesFound + 1)
    Trigger - Turn off (This trigger)
    Unit - Rescue SpearThrower 0032 <gen> for Player 1 (Red) and Change color
    Unit - Rescue SpearThrower 0031 <gen> for Player 1 (Red) and Change color
    Wait 0.50 seconds
    Sound - Play HeadHunterYesAttack1 <gen>
FootmenStart
  Events
    Unit - A unit enters FootmenSkulkingStart <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    -------- Crate Vis for Footman --------
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility from (Center of SkulkingAttackDest <gen>) to a radius of 600.00.
    Set VariableSet SkulkingFootmanVis = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility from (Center of SkulkingAttackDest <gen>) to a radius of 600.00.
    Set VariableSet SkulkingFootmanVis = (Last created visibility modifier)
    Unit - Make Peasant 0045 <gen> face (Center of SkulkingFacing <gen>) over 0 seconds
    Wait 0.50 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Peasant 0015 <gen> named Footman: Play O07FootmanA11 <gen> and display Orcs! Arm yourselves!. Modify duration: Add 0.00 seconds and Don't wait
    Sound - Reset all volume channels to 100%
    Unit - Order Peasant 0022 <gen> to Move To.(Center of FootmenSkulkingDest <gen>)
    Unit - Order Peasant 0015 <gen> to Move To.(Center of FootmenSkulkingDest <gen>)
    Unit - Order Peasant 0045 <gen> to Move To.(Center of FootmenSkulkingDest <gen>)
    Wait 2.24 seconds
    Wait for O07FootmanA11 <gen> to be 0 seconds from finished playing
    Visibility - Destroy SkulkingFootmanVis
FootmenSuitup
  Events
    Unit - A unit enters FootmenSkulkingDest <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Peasant
    ((Entering unit) is alive) Equal to True
  Actions
    Unit - Replace (Entering unit) with a Footman using The old unit's relative life and mana
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SkulkingAttackDest <gen>)
Pause Dragons During Intro
  Events
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in DragonArea <gen>) and do (Pause (Picked unit))
Unpause Dragons After Intro
  Events
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in DragonArea <gen>) and do (Unpause (Picked unit))
DragonDialog
  Events
    Unit - A unit enters TriggerDragonArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off DamageControl <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across DragonArea <gen>
    Set VariableSet DragonVisiblility = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility across DragonArea <gen>
    Set VariableSet DragonVisiblility = (Last created visibility modifier)
    Wait 2 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall12 <gen> and display Those harpies have nearly killed that wretched creature! It looks as if they're after its treasure! Kill them all, and we'll take what's left for ourselves!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Wait 2 seconds
    Visibility - Destroy DragonVisiblility
DamageControl
  Events
    Time - Every 2 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in DragonArea <gen>) and do (Set life of (Picked unit) to 500.00)
    Unit - Set life of Red Dragon 0013 <gen> to 1600.00
DragonDropped
  Events
    Unit - Red Dragon 0013 <gen> Dies
  Conditions
  Actions
    Item - Create Heart of Aszune at (Position of (Dying unit))
    Set VariableSet HeartOfAszune = (Last created item)
    Item - Make HeartOfAszune Invulnerable
    Item - Make HeartOfAszune Undroppable
    Wait 2 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall13 <gen> and display The great beast was protecting a magical amulet. I'd better hold on to this.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Wait 2 seconds
Run from 'InitDoors'
DoorDragon
  Events
  Conditions
  Actions
    Destructible - Kill Dungeon Gate 0125 <gen>
    Destructible - Kill Dungeon Gate 0124 <gen>
SheepDyingCheck
  Events
    Unit - A unit owned by Neutral Passive.Dies
  Conditions
    ((Dying unit) is in SheepGroup.) Equal to True
  Actions
    Unit Group - Remove (Dying unit) from SheepGroup.
SheepStart
  Events
    Unit - A unit enters SheepTrap <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Thrall named |c00FF0303Go'el "Thrall"|r: Play O07Thrall05 <gen> and display That's strange. I don't recall seeing any sheep in this land.. Modify duration: Add 0 seconds and Wait
    Cinematic - Send transmission to (All players) from Sorceress 0057 <gen> named Sorceress: Play O07Sorceress06 <gen> and display He's fairly bright for an orc! . Modify duration: Add 0 seconds and Don't wait
    Unit - Grant shared vision of Sorceress 0057 <gen> to Player 1 (Red)
    Unit - Grant shared vision of Sorceress 0057 <gen> to Player 10 (Light Blue)
    Wait 3.00 seconds
    Unit - Deny shared vision of Sorceress 0057 <gen> to Player 1 (Red)
    Unit - Deny shared vision of Sorceress 0057 <gen> to Player 10 (Light Blue)
    Sound - Reset all volume channels to 100%
    -------- Sheep01 --------
    Unit Group - Pick every unit in SheepGroup and do (Replace (Random unit from SheepGroup) with a Footman using The old unit's relative life and mana)
    Unit - Change ownership of (Last replaced unit) to Player 2 (Blue) and Change color
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SheepAttack <gen>)
    Wait 0.10 seconds
    -------- Sheep02 --------
    Unit Group - Pick every unit in SheepGroup and do (Replace (Random unit from SheepGroup) with a Footman using The old unit's relative life and mana)
    Unit - Change ownership of (Last replaced unit) to Player 2 (Blue) and Change color
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SheepAttack <gen>)
    Wait 0.10 seconds
    -------- Sheep03 --------
    Unit Group - Pick every unit in SheepGroup and do (Replace (Random unit from SheepGroup) with a Footman using The old unit's relative life and mana)
    Unit - Change ownership of (Last replaced unit) to Player 2 (Blue) and Change color
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SheepAttack <gen>)
    Wait 0.20 seconds
    Wait for O07Sorceress06 <gen> to be 0 seconds from finished playing
    Cinematic - Send transmission to (All players) from Thrall named Thrall: Play O07Thrall07 <gen> and display It's a trap! Defend yourselves!. Modify duration: Add 0 seconds and Don't wait
    -------- Sheep04 --------
    Unit Group - Pick every unit in SheepGroup and do (Replace (Random unit from SheepGroup) with a Footman using The old unit's relative life and mana)
    Unit - Change ownership of (Last replaced unit) to Player 2 (Blue) and Change color
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SheepAttack <gen>)
    Wait 0.10 seconds
    -------- Sheep05 --------
    Unit Group - Pick every unit in SheepGroup and do (Replace (Random unit from SheepGroup) with a Footman using The old unit's relative life and mana)
    Unit - Change ownership of (Last replaced unit) to Player 2 (Blue) and Change color
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SheepAttack <gen>)
    -------- Sheep06 --------
    Unit Group - Pick every unit in SheepGroup and do (Replace (Random unit from SheepGroup) with a Footman using The old unit's relative life and mana)
    Unit - Change ownership of (Last replaced unit) to Player 2 (Blue) and Change color
    Unit - Order (Last replaced unit) to Attack-Move To.(Center of SheepAttack <gen>)
    -------- ************ --------
    Unit Group - Pick every unit in (Units of type Footman) and do (Actions)
      Loop - Actions
        Unit - Change ownership of (Picked unit) to Player 2 (Blue) and Change color
    Wait 2.30 seconds
    Wait for O07Thrall07 <gen> to be 0 seconds from finished playing
    Sound - Reset all volume channels to 100%
SheepContainment
  Events
    Unit - A unit leaves SheepContainmentArea <gen>
  Conditions
    (Unit-type of (Leaving unit)) Equal to Sheep
  Actions
    Unit - Order (Leaving unit) to Move To.(Random point in SheepContainmentArea <gen>)
Crates01
  Events
    Destructible - Crates 0049 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Healing at (Center of Crate01 <gen>)
Crates02
  Events
    Destructible - Crates 0626 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate02 <gen>) facing 40.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate02 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate02 <gen>) facing 270.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate02 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate02 <gen>) facing 150.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate02 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate02 <gen>) facing 0.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate02 <gen>)
Crates03
  Events
    Destructible - Crates 0633 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Mana at (Center of Crate03 <gen>)
Crates04
  Events
    Destructible - Crates 0080 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Healing at (Center of Crate04 <gen>)
    Unit - Create 1.Wraith for Neutral Hostile at (Center of Crate04 <gen>) facing 25.00 degrees
Crates05
  Events
    Destructible - Crates 0088 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Greater Mana at (Position of Crates 0088 <gen>)
Crates06
  Events
    Destructible - Crates 0690 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Animate Dead at (Center of Crate06 <gen>)
Crates07
  Events
    Destructible - Crates 0688 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Slippers of Agility +3 at (Center of Crate07 <gen>)
Crates08
  Events
    Destructible - Crates 1542 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Greater Healing at (Center of Crate08 <gen>)
Crates09
  Events
    Destructible - Crates 1541 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Greater Mana at (Center of Crate09 <gen>)
Crates10
  Events
    Destructible - Crates 1545 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate10 <gen>) facing 40.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate10 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate10 <gen>) facing 60.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate10 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate10 <gen>) facing 240.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate10 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate10 <gen>) facing 80.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate10 <gen>)
    Wait 0.10 seconds
    Unit - Create 1.Rat for Neutral Passive at (Center of Crate10 <gen>) facing 20.00 degrees
    Unit - Order (Last created unit) to Move To.(Random point in Crate10 <gen>)
    Wait 0.10 seconds
Crates11
  Events
    Destructible - Crates 0525 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Healing at (Center of Crate11 <gen>)
Crates12
  Events
    Destructible - Crates 0526 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Protection at (Center of Crate12 <gen>)
Crates13
  Events
    Destructible - Crates 0524 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Mana at (Center of Crate13 <gen>)
Crates14
  Events
    Destructible - Crates 0630 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Healing at (Center of Crate14 <gen>)
Crates15
  Events
    Destructible - Crates 1519 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Mana at (Center of Crate15 <gen>)
Crates16
  Events
    Destructible - Crates 1520 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Healing at (Position of Crates 1520 <gen>)
Crates17
  Events
    Destructible - Crates 1521 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Greater Mana at (Position of Crates 1521 <gen>)
Crates18
  Events
    Destructible - Crates 0415 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of Resurrection at (Position of Crates 0415 <gen>)
BloodKeyGuardianSleep
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Unit - Make Salamander Vizier 0122 <gen> Sleep when unprovoked at night
    Unit - Make Salamander 0157 <gen> Sleep when unprovoked at night
BloodKeyGuardianAwake
  Events
    Destructible - Dungeon Gate 0724 <gen> dies
  Conditions
  Actions
    Trigger - Turn off BloodKeyGuardianSleep <gen>
    Unit - Wake up Salamander Vizier 0122 <gen>
    Unit - Wake up Salamander 0157 <gen>
    Unit - Order Salamander Vizier 0122 <gen> to Attack-Move To.(Center of BloodKeyGuardianAttack <gen>)
Key Vulnerability
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Item - Make gg_item_kybl_0069 Invulnerable
Run Hungry Set Arrays Swap Loop
  Events
  Conditions
  Actions
    Set VariableSet HungryHungrySalamander = Hungry Hungry Lizard 0043 <gen>
    AI - Ignore HungryHungrySalamander's guard position
    Set VariableSet HungrySize = 5
    Set VariableSet HungrySwapper = 1
    Set VariableSet HungryEatingInteger = 1
    Set VariableSet HungryRegArray01[1] = Eat01 <gen>
    Set VariableSet HungryRegArray01[2] = Eat02 <gen>
    Set VariableSet HungryRegArray01[3] = Eat03 <gen>
    Set VariableSet HungryRegArray01[4] = Eat04 <gen>
    Set VariableSet HungryRegArray01[5] = Eat05 <gen>
    Set VariableSet HungryRegArray02[1] = EatA01 <gen>
    Set VariableSet HungryRegArray02[2] = EatA02 <gen>
    Set VariableSet HungryRegArray02[3] = EatA03 <gen>
    Set VariableSet HungryRegArray02[4] = EatA04 <gen>
    Set VariableSet HungryRegArray02[5] = EatA05 <gen>
    Set VariableSet HungryRegArray03[1] = EatB01 <gen>
    Set VariableSet HungryRegArray03[2] = EatB02 <gen>
    Set VariableSet HungryRegArray03[3] = EatB03 <gen>
    Set VariableSet HungryRegArray03[4] = EatB04 <gen>
    Set VariableSet HungryRegArray03[5] = EatB05 <gen>
    Set VariableSet HungryRegArray04[1] = EatC01 <gen>
    Set VariableSet HungryRegArray04[2] = EatC02 <gen>
    Set VariableSet HungryRegArray04[3] = EatC03 <gen>
    Set VariableSet HungryRegArray04[4] = EatC04 <gen>
    Set VariableSet HungryRegArray04[5] = EatC05 <gen>
    Set VariableSet HungryRegArray05[1] = EatD01 <gen>
    Set VariableSet HungryRegArray05[2] = EatD02 <gen>
    Set VariableSet HungryRegArray05[3] = EatD03 <gen>
    Set VariableSet HungryRegArray05[4] = EatD04 <gen>
    Set VariableSet HungryRegArray05[5] = EatD05 <gen>
    For each (Integer A) from 1 to 5, do (Run Hungry_Swap_Loop01 <gen> (checking conditions))
    For each (Integer A) from 1 to 5, do (Run Hungry_Swap_Loop02 <gen> (checking conditions))
    For each (Integer A) from 1 to 5, do (Run Hungry_Swap_Loop03 <gen> (checking conditions))
    For each (Integer A) from 1 to 5, do (Run Hungry_Swap_Loop04 <gen> (checking conditions))
    For each (Integer A) from 1 to 5, do (Run Hungry_Swap_Loop05 <gen> (checking conditions))
Hungry Swap Loop01
  Events
  Conditions
  Actions
    Set VariableSet HungrySwapper = (Random integer number between 1 and HungrySize)
    Set VariableSet HungryTemp = HungryRegArray01[(Integer A)]
    Set VariableSet HungryRegArray01[(Integer A)] = HungryRegArray01[HungrySwapper]
    Set VariableSet HungryRegArray01[HungrySwapper] = HungryTemp
Hungry Swap Loop02
  Events
  Conditions
  Actions
    Set VariableSet HungrySwapper = (Random integer number between 1 and HungrySize)
    Set VariableSet HungryTemp = HungryRegArray02[(Integer A)]
    Set VariableSet HungryRegArray02[(Integer A)] = HungryRegArray02[HungrySwapper]
    Set VariableSet HungryRegArray02[HungrySwapper] = HungryTemp
Hungry Swap Loop03
  Events
  Conditions
  Actions
    Set VariableSet HungrySwapper = (Random integer number between 1 and HungrySize)
    Set VariableSet HungryTemp = HungryRegArray03[(Integer A)]
    Set VariableSet HungryRegArray03[(Integer A)] = HungryRegArray03[HungrySwapper]
    Set VariableSet HungryRegArray03[HungrySwapper] = HungryTemp
Hungry Swap Loop04
  Events
  Conditions
  Actions
    Set VariableSet HungrySwapper = (Random integer number between 1 and HungrySize)
    Set VariableSet HungryTemp = HungryRegArray04[(Integer A)]
    Set VariableSet HungryRegArray04[(Integer A)] = HungryRegArray04[HungrySwapper]
    Set VariableSet HungryRegArray04[HungrySwapper] = HungryTemp
Hungry Swap Loop05
  Events
  Conditions
  Actions
    Set VariableSet HungrySwapper = (Random integer number between 1 and HungrySize)
    Set VariableSet HungryTemp = HungryRegArray05[(Integer A)]
    Set VariableSet HungryRegArray05[(Integer A)] = HungryRegArray05[HungrySwapper]
    Set VariableSet HungryRegArray05[HungrySwapper] = HungryTemp
Start HungryHungryLizard
  Events
    Unit - A unit enters HungryLizardStart <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Pick_Mushroom_01 <gen> (checking conditions)
Pick Mushroom 01
  Events
  Conditions
  Actions
    Unit - Order HungryHungrySalamander to Move To.(Center of HungryRegArray01[HungryEatingInteger])
    Wait 2.50 seconds
    Unit - Order HungryHungrySalamander to Stop.
    Unit - Make HungryHungrySalamander face (Center of HungryRegArray01[HungryEatingInteger]) over 0.20 seconds
    If ((Distance between (Position of HungryHungrySalamander) and (Center of HungryRegArray01[HungryEatingInteger])) Greater than 384.00) then do (Skip remaining actions) else do (Do nothing)
    Wait 0.50 seconds
    Animation - Play HungryHungrySalamander's Spell Slam (animationname) animation
    Wait 0.30 seconds
    Destructible - Pick every destructible in HungryRegArray01[HungryEatingInteger] and do (Kill (Picked destructible))
    Wait 0.40 seconds
    Animation - Reset HungryHungrySalamander's animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait 2.00 seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Sound - Attach KodoBeastPuke1 <gen> to HungryHungrySalamander
    Sound - Play KodoBeastPuke1 <gen>
    Wait 1.00 seconds
    Set VariableSet HungryEatingInteger = (HungryEatingInteger + 1)
    If (HungryEatingInteger Greater than or equal to 6) then do (Set VariableSet HungryEatingInteger = 1) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Run Pick_Mushroom_02 <gen> (checking conditions)) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run (This trigger) (checking conditions)
Pick Mushroom 02
  Events
  Conditions
  Actions
    Unit - Order HungryHungrySalamander to Move To.(Center of HungryRegArray02[HungryEatingInteger])
    Wait 1.00 seconds
    Unit - Order HungryHungrySalamander to Stop.
    Unit - Make HungryHungrySalamander face (Center of HungryRegArray02[HungryEatingInteger]) over 0.20 seconds
    If ((Distance between (Position of HungryHungrySalamander) and (Center of HungryRegArray02[HungryEatingInteger])) Greater than 384.00) then do (Skip remaining actions) else do (Do nothing)
    Wait 0.50 seconds
    Animation - Play HungryHungrySalamander's Spell Slam (animationname) animation
    Wait 0.30 seconds
    Destructible - Pick every destructible in HungryRegArray02[HungryEatingInteger] and do (Kill (Picked destructible))
    Wait 0.40 seconds
    Animation - Reset HungryHungrySalamander's animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait 2.50 seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Sound - Attach KodoBeastPuke1 <gen> to HungryHungrySalamander
    Sound - Play KodoBeastPuke1 <gen>
    Wait 1.00 seconds
    Set VariableSet HungryEatingInteger = (HungryEatingInteger + 1)
    If (HungryEatingInteger Greater than or equal to 6) then do (Set VariableSet HungryEatingInteger = 1) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Run Pick_Mushroom_03 <gen> (checking conditions)) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run (This trigger) (checking conditions)
Pick Mushroom 03
  Events
  Conditions
  Actions
    Unit - Order HungryHungrySalamander to Move To.(Center of HungryRegArray03[HungryEatingInteger])
    Wait 1.00 seconds
    Unit - Order HungryHungrySalamander to Stop.
    Unit - Make HungryHungrySalamander face (Center of HungryRegArray03[HungryEatingInteger]) over 0.20 seconds
    If ((Distance between (Position of HungryHungrySalamander) and (Center of HungryRegArray03[HungryEatingInteger])) Greater than 384.00) then do (Skip remaining actions) else do (Do nothing)
    Wait 0.50 seconds
    Animation - Play HungryHungrySalamander's Spell Slam (animationname) animation
    Wait 0.30 seconds
    Destructible - Pick every destructible in HungryRegArray03[HungryEatingInteger] and do (Kill (Picked destructible))
    Wait 0.40 seconds
    Animation - Reset HungryHungrySalamander's animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait 2.50 seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Sound - Attach KodoBeastPuke1 <gen> to HungryHungrySalamander
    Sound - Play KodoBeastPuke1 <gen>
    Wait 1.00 seconds
    Set VariableSet HungryEatingInteger = (HungryEatingInteger + 1)
    If (HungryEatingInteger Greater than or equal to 6) then do (Set VariableSet HungryEatingInteger = 1) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Run Pick_Mushroom_04 <gen> (checking conditions)) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run (This trigger) (checking conditions)
Pick Mushroom 04
  Events
  Conditions
  Actions
    Unit - Order HungryHungrySalamander to Move To.(Center of HungryRegArray04[HungryEatingInteger])
    Wait 1.00 seconds
    Unit - Order HungryHungrySalamander to Stop.
    Unit - Make HungryHungrySalamander face (Center of HungryRegArray04[HungryEatingInteger]) over 0.20 seconds
    If ((Distance between (Position of HungryHungrySalamander) and (Center of HungryRegArray04[HungryEatingInteger])) Greater than 384.00) then do (Skip remaining actions) else do (Do nothing)
    Wait 0.50 seconds
    Animation - Play HungryHungrySalamander's Spell Slam (animationname) animation
    Wait 0.30 seconds
    Destructible - Pick every destructible in HungryRegArray04[HungryEatingInteger] and do (Kill (Picked destructible))
    Wait 0.40 seconds
    Animation - Reset HungryHungrySalamander's animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait 2.50 seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Sound - Attach KodoBeastPuke1 <gen> to HungryHungrySalamander
    Sound - Play KodoBeastPuke1 <gen>
    Wait 1.00 seconds
    Set VariableSet HungryEatingInteger = (HungryEatingInteger + 1)
    If (HungryEatingInteger Greater than or equal to 6) then do (Set VariableSet HungryEatingInteger = 1) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Run Pick_Mushroom_05 <gen> (checking conditions)) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run (This trigger) (checking conditions)
Pick Mushroom 05
  Events
  Conditions
  Actions
    Unit - Order HungryHungrySalamander to Move To.(Center of HungryRegArray05[HungryEatingInteger])
    Wait 1.00 seconds
    Unit - Order HungryHungrySalamander to Stop.
    Unit - Make HungryHungrySalamander face (Center of HungryRegArray05[HungryEatingInteger]) over 0.20 seconds
    If ((Distance between (Position of HungryHungrySalamander) and (Center of HungryRegArray05[HungryEatingInteger])) Greater than 384.00) then do (Skip remaining actions) else do (Do nothing)
    Wait 0.50 seconds
    Animation - Play HungryHungrySalamander's Spell Slam (animationname) animation
    Wait 0.30 seconds
    Destructible - Pick every destructible in HungryRegArray05[HungryEatingInteger] and do (Kill (Picked destructible))
    Wait 0.40 seconds
    Animation - Reset HungryHungrySalamander's animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait 2.50 seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Sound - Attach KodoBeastPuke1 <gen> to HungryHungrySalamander
    Sound - Play KodoBeastPuke1 <gen>
    Wait 1.00 seconds
    Set VariableSet HungryEatingInteger = (HungryEatingInteger + 1)
    If (HungryEatingInteger Greater than or equal to 6) then do (Set VariableSet HungryEatingInteger = 1) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Run TooManyMushrooms <gen> (checking conditions)) else do (Do nothing)
    If (HungryEatingInteger Equal to 1) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run (This trigger) (checking conditions)
Hungry Size Up
  Events
  Conditions
  Actions
    Set VariableSet HungrySizeX = (HungrySizeX + 0.20)
    Set VariableSet HungrySizeY = (HungrySizeY + 0.20)
    Set VariableSet HungrySizeZ = (HungrySizeZ + 0.20)
TooManyMushrooms
  Events
  Conditions
  Actions
    Wait 2 seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Animation - Play HungryHungrySalamander's attack (animationname) animation
    Animation - Change HungryHungrySalamander's size to (HungrySizeX%, HungrySizeY%, HungrySizeZ%) of its original size
    Trigger - Run Hungry_Size_Up <gen> (checking conditions)
    Wait HungryHungryARRRGH seconds
    Unit - Explode HungryHungrySalamander.
Hungry Vision
  Events
    Unit - A unit enters HungryLizardStart <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 6 (Orange)
    (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
    HungryBoolean Equal to False
  Actions
    Set VariableSet HungryBoolean = True
    Unit - Grant shared vision of HungryHungrySalamander to Player 6 (Orange)
Hungry No Vision
  Events
    Unit - A unit leaves HungryLizardStart <gen>
    Unit - A unit owned by Player 6 (Orange).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
  Conditions
    (Number of units in (Units in HungryLizardStart <gen> matching ((((Matching unit) is alive) Equal to True) and ((Owner of (Matching unit)) Equal to Player 1 (Red))))) Equal to 0
    HungryBoolean Equal to True
  Actions
    Set VariableSet HungryBoolean = False
    Unit - Deny shared vision of HungryHungrySalamander to Player 6 (Orange)
FootmanDialogue
  Events
    Unit - A unit enters FootmanDialogue <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Footman 0112 <gen> named Footman: Play O07FootmanA08 <gen> and display I've had it with skulking in these caves!. Modify duration: Add 0.00 seconds and Wait
    Sound - Reset all volume channels to 100%
RocksBreakStart
  Events
    Unit - A unit enters RocksBreakInit <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Wait 10.00 seconds
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility from (Center of RocksBreakArea <gen>) to a radius of 256.00.
    Set VariableSet KoboldVisibility = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility from (Center of RocksBreakArea <gen>) to a radius of 256.00.
    Set VariableSet KoboldVisibility = (Last created visibility modifier)
    Destructible - Pick every destructible in RocksBreakArea <gen> and do (Kill (Picked destructible))
    Unit Group - Order (Units in KoboldAttackGroup <gen>) to Attack-Move To.(Center of KoboldAttackDest <gen>)
    Wait 10.00 seconds
    Visibility - Destroy KoboldVisibility
HumanTrapStart
  Events
    Unit - A unit enters HumanTrapInit <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility from (Center of RevealerTrap <gen>) to a radius of 1024.00.
    Set VariableSet FootmanTrapVisibility = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility from (Center of RevealerTrap <gen>) to a radius of 1024.00.
    Set VariableSet FootmanTrapVisibility = (Last created visibility modifier)
    Unit - Order Footman 0016 <gen> to Move To.(Center of Region_062 <gen>)
    Unit - Order Footman 0103 <gen> to Move To.(Center of HumanTrapDest <gen>)
    Unit - Order Rifleman 0105 <gen> to Move To.(Center of HumanTrapDest <gen>)
    Unit - Order Footman 0102 <gen> to Move To.(Center of HumanTrapDest <gen>)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Footman 0103 <gen> named Footman: Play O07FootmanA22 <gen> and display Let's get the hell out of here!. Modify duration: Add 0.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Footman 0016 <gen> named Footman: Play O07FootmanB23 <gen> and display No, not that way!. Modify duration: Add 0.00 seconds and Wait
    Sound - Reset all volume channels to 100%
    Wait 5.00 seconds
    Visibility - Destroy FootmanTrapVisibility
TrapSpring
  Events
    Unit - A unit enters HumanTrapDest <gen>
  Conditions
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Wait 1.00 seconds
    Destructible - Pick every destructible in HumanTrapDest <gen> and do (Play (Picked destructible)'s birth (animationname) animation)
    Wait 0.10 seconds
    Sound - Attach AxeMissile1 <gen> to (Entering unit)
    Sound - Play AxeMissile1 <gen>
    Unit Group - Pick every unit in (Units in HumanTrapDest <gen>) and do (Explode (Picked unit).)
    Wait 3.00 seconds
    Destructible - Pick every destructible in HumanTrapDest <gen> and do (Play (Picked destructible)'s death (animationname) animation)
TrapRecycle
  Events
    Unit - A unit enters HumanTrapDest <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Wait 1.00 seconds
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility from (Center of HumanTrapDest <gen>) to a radius of 512.
    Set VariableSet Trapvis = (Last created visibility modifier)
    Destructible - Pick every destructible in HumanTrapDest <gen> and do (Play (Picked destructible)'s birth (animationname) animation)
    Wait 1.00 seconds
    Sound - Attach AxeMissile1 <gen> to (Entering unit)
    Sound - Play AxeMissile1 <gen>
    Unit Group - Pick every unit in (Units in HumanTrapDest <gen>) and do (Set life of (Entering unit) to ((Life of (Entering unit)) - 100.00))
    Wait 3.00 seconds
    Destructible - Pick every destructible in HumanTrapDest <gen> and do (Play (Picked destructible)'s death (animationname) animation)
    Wait 1.00 seconds
    Visibility - Destroy Trapvis
    Trigger - Turn on (This trigger)
Crates19
  Events
    Destructible - Crates 0807 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Greater Mana at (Center of Crate19 <gen>)
Crates20
  Events
    Destructible - Crates 1166 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Potion of Mana at (Center of Crate20 <gen>)
Crates21
  Events
    Destructible - Crates 1240 <gen> dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Scroll of the Beast at (Center of Crate21 <gen>)
CairneSeesQuillboar
  Events
    Unit - A unit enters QuillboarDialogue <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Camera - Pan camera for Player 6 (Orange) to (Center of QuillboarRoamArea <gen>) over 0.50 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne24 <gen> and display The spiked pit is filled with quillboars. It looks as if they're protecting some kind of gemstone.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
CairneFindsTrigger
  Events
    Unit - A unit enters TrapDialogueQuillboar <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Entering unit)) Equal to Tauren Chieftain
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne25 <gen> and display This must activate the trap mechanism.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
CairneActivatesTrap
  Events
    Unit - A unit enters SpringQuillboarTrap <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Unit-type of (Entering unit)) Equal to Tauren Chieftain
  Actions
    Trigger - Turn off (This trigger)
    -------- Sound --------
    Sound - Set volume of RockGolemAttack2 <gen> to 80.00%
    Sound - Play RockGolemAttack2 <gen>
    -------- ****** --------
    Wait 1.00 seconds
    Camera - Pan camera for Player 6 (Orange) to (Center of QuillboarRoamArea <gen>) over 0.50 seconds
    Camera - Pan camera for Player 10 (Light Blue) to (Center of QuillboarRoamArea <gen>) over 0.50 seconds
    Wait 1.00 seconds
    Trigger - Run RemoveRazermane <gen> (checking conditions)
    Destructible - Pick every destructible in QuillboarArea <gen> and do (Play (Picked destructible)'s birth (animationname) animation)
    Wait 0.10 seconds
    Sound - Set position of AxeMissile1 <gen> to (Center of QuillboarRoamArea <gen>) with Z offset 0
    Sound - Play AxeMissile1 <gen>
    Wait 0.10 seconds
    Unit Group - Pick every unit in (Units in QuillboarArea <gen>) and do (Explode (Picked unit).)
    Trigger - Run QuillboarDeathSound <gen> (checking conditions)
    Wait 3.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne26 <gen> and display A gruesome death.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Destructible - Pick every destructible in QuillboarRoamArea <gen> and do (Play (Picked destructible)'s death (animationname) animation)
RemoveRazermane
  Events
  Conditions
    (Number of units in RazermaneGroup) Equal to 1
  Actions
    Unit - Remove Razormane Chieftain 0024 <gen> from the game
SetupRazermaneGroup
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Unit Group - Add Razormane Chieftain 0024 <gen> to RazermaneGroup
RazermaneLeaves
  Events
    Unit - A unit leaves QuillboarRoamArea <gen>
  Conditions
    (Leaving unit) Equal to Razormane Chieftain 0024 <gen>
  Actions
    Unit Group - Remove (Leaving unit) from RazermaneGroup.
RazermaneEnters
  Events
    Unit - A unit enters QuillboarRoamArea <gen>
  Conditions
    (Entering unit) Equal to Razormane Chieftain 0024 <gen>
  Actions
    Unit Group - Add Razormane Chieftain 0024 <gen> to RazermaneGroup
QuillboarDeathSound
  Events
  Conditions
  Actions
    Sound - Attach BristlebackDeath1 <gen> to Razormane Chieftain 0024 <gen>
    Sound - Play BristlebackDeath1 <gen>
QuillboarRoam
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Unit Group - Pick every unit in QuillboarGroup and do (Order (Random unit from QuillboarGroup) to Attack-Move To.(Random point in QuillboarRoamArea <gen>))
GemstoneAcquired
  Events
    Unit - A unit owned by Player 6 (Orange).Acquires an item
    Unit - A unit owned by Player 10 (Light Blue).Acquires an item
  Conditions
    (Item being manipulated) Equal to gg_item_engs_0021
    GAMEOVER Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off ObeliskCairneNoGem <gen>
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne27 <gen> and display The gemstone has an inscription on its base. Ah... this is the spirit stone of Stonetalon Chasm. If the legends are true, then this will activate the spirit bridge that leads to the Oracle!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Wait 2.00 seconds
    Trigger - Run QuestGemstoneReq1 <gen> (checking conditions)
CairneDoor
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Destructible - Make Iron Gate 1575 <gen> Invulnerable
CairneDoorMessage
  Events
    Unit - A unit enters CairneDoorMessage <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
        ((Entering unit) has an item of type Ghost Key) Equal to False
        (Iron Gate 1575 <gen> is alive) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Quest - Display to (All players) the Hint message: |cff32cd32DOOR|r - The door is locked.
CairneDoorOpen
  Events
    Time - Every 1.00 seconds of game time
  Conditions
    (Number of units in (Units in CairneDoorMessage <gen> matching (((Matching unit) has an item of type Ghost Key) Equal to True))) Greater than 0
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    -------- Sound --------
    Sound - Set position of LightningBolt <gen> to (Center of QuillboarGate <gen>) with Z offset 0
    Sound - Set volume of LargeCityGateOpen1 <gen> to 70.00%
    Sound - Play LargeCityGateOpen1 <gen>
    -------- *********** --------
    Destructible - Open Iron Gate 1575 <gen>
    Item - Remove GhostKey
Rock01
  Events
    Destructible - Rock Chunks 0799 <gen> dies
    Destructible - Rock Chunks 0761 <gen> dies
    Destructible - Rock Chunks 0789 <gen> dies
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Wait 1.00 seconds
    Destructible - Pick every destructible in RockTrap <gen> and do (Kill (Picked destructible))
    Unit - Create 1.Granite Golem for Player 8 (Pink) at (Center of RockTrapGolem <gen>) facing 270.00 degrees
    Animation - Play (Last created unit)'s birth (animationname) animation
RevealerStartQuillboar
  Events
    Unit - A unit enters RevealerQuillboarArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across QuillboarArea <gen>
    Set VariableSet VisibilityQuillboar = (Last created visibility modifier)
RevealerGroupAddQuillboar
  Events
    Unit - A unit enters RevealerQuillboarArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit Group - Add (Entering unit) to QuillboarRevealerGroup
    Trigger - Run RevealerCheckQuillboar <gen> (checking conditions)
RevealerGroupSubtractQuillboar
  Events
    Unit - A unit leaves RevealerQuillboarArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit Group - Remove (Leaving unit) from QuillboarRevealerGroup.
    Trigger - Run RevealerCheckQuillboar <gen> (checking conditions)
RevealerCheckQuillboar
  Events
  Conditions
  Actions
    If ((Number of units in QuillboarRevealerGroup) Greater than or equal to 1) then do (Enable VisibilityQuillboar) else do (Disable VisibilityQuillboar)
RevealerQillboarSafety
  Events
    Unit - A unit owned by Player 6 (Orange).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
  Conditions
    ((Dying unit) is in QuillboarRevealerGroup.) Equal to True
  Actions
    Unit Group - Remove (Dying unit) from QuillboarRevealerGroup.
    Trigger - Run RevealerCheckQuillboar <gen> (checking conditions)
RevealerStartSludge
  Events
    Unit - A unit enters VisibilitySludgeStart <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 6 (Orange)
    (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across VisibilitySludgeArea <gen>
    Set VariableSet VisibilitySludge = (Last created visibility modifier)
RevealerGroupAddSludge
  Events
    Unit - A unit enters VisibilitySludgeStart <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 6 (Orange)
    (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit Group - Add (Entering unit) to SludgeRevealerGroup
    Trigger - Run RevealerCheckSludge <gen> (checking conditions)
RevealerGroupSubtractSludge
  Events
    Unit - A unit leaves VisibilitySludgeStart <gen>
  Conditions
    (Owner of (Leaving unit)) Equal to Player 6 (Orange)
    (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Unit Group - Remove (Leaving unit) from SludgeRevealerGroup.
    Trigger - Run RevealerCheckSludge <gen> (checking conditions)
RevealerCheckSludge
  Events
  Conditions
  Actions
    If ((Number of units in SludgeRevealerGroup) Greater than or equal to 1) then do (Enable VisibilitySludge) else do (Disable VisibilitySludge)
RevealerSludgeSafety
  Events
    Unit - A unit owned by Player 6 (Orange).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
  Conditions
    ((Dying unit) is in SludgeRevealerGroup.) Equal to True
  Actions
    Unit Group - Remove (Dying unit) from SludgeRevealerGroup.
    Trigger - Run RevealerCheckSludge <gen> (checking conditions)
StatuesComeAlive
  Events
    Unit - A unit enters StatueArea <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Wait 2.00 seconds
    Player - Make Player 12 (Brown) treat Player 1 (Red) as an Enemy
    Player - Make Player 12 (Brown) treat Player 6 (Orange) as an Enemy
    Player - Make Player 12 (Brown) treat Player 10 (Light Blue) as an Enemy
    Player - Make Player 1 (Red) treat Player 12 (Brown) as an Enemy
    Player - Make Player 6 (Orange) treat Player 12 (Brown) as an Enemy
    Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Enemy
    Animation - Change Statue01's animation speed to 100% of its original speed
    Unit - Order Statue01 to Attack-Move To.(Center of StatueArea <gen>)
    Wait 1.00 seconds
    Animation - Change Statue02's animation speed to 100% of its original speed
    Unit - Order Statue02 to Attack-Move To.(Center of StatueArea <gen>)
    Wait 1.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Cairne named |c00FF8000Cairne Bloodhoof|r: Play O07Cairne21 <gen> and display The statues are coming to life! Defend yourselves!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
StatueBigComeAlive
  Events
    Unit - A unit enters StatueBigActivate <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Wait 2.00 seconds
    Animation - Change Statue03's animation speed to 100% of its original speed
    Unit - Order Statue03 to Attack-Move To.(Center of StatueArea <gen>)
StatueBigDies
  Events
    Unit - Siege Golem 0179 <gen> Dies
  Conditions
  Actions
    Wait 0.10 seconds
    Item - Create Ghost Key at (Position of (Dying unit))
    Item - Make (Last created item) Invulnerable
    Set VariableSet GhostKey = (Last created item)
ExtraInit
  Events
    Map initialization
  Conditions
  Actions
    Destructible - Pick every destructible in Region_165 <gen> and do (Actions)
      Loop - Actions
        Destructible - Make (Picked destructible) Invulnerable
    Unit - Pause Rock Golem 0193 <gen>
    Unit - Pause Rock Golem 0194 <gen>
    Unit - Change ownership of Missile Tower 0208 <gen> to Neutral Passive and Change color
    Unit - Change ownership of Missile Tower 0209 <gen> to Neutral Passive and Change color
    Unit - Make Rock Golem 0193 <gen> Invulnerable
    Unit - Make Rock Golem 0194 <gen> Invulnerable
    Animation - Play Rock Golem 0193 <gen>'s sleep (animationname) animation
    Animation - Play Rock Golem 0194 <gen>'s sleep (animationname) animation
    Destructible - Kill Long Wooden Bridge 1060 <gen>
    Unit - Hide Falling Debris 0236 <gen>
    Unit - Hide Falling Debris 0237 <gen>
BridgeMessage
  Events
    Unit - A unit enters Region_204 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Mortar Goblins 0225 <gen> is alive) Equal to True
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Quest - Display to (All players) the Hint message: |cff32cd32HINT|r - The bridge is down and the mechanism appears to be missing a piece.
BridgeRepair
  Events
    Unit - A unit enters Region_206 <gen>
  Conditions
    ((Triggering unit) has an item of type Bridge Gear) Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Unit - Remove Circle of Power 0065 <gen> from the game
    Sound - Play GoodJob <gen>
    Item - Remove (Item carried by (Triggering unit) of type Bridge Gear)
    Destructible - Resurrect Lever 2163 <gen> with (Max life of (Last created destructible)) life and Show birth animation
    Trigger - Turn on BridgeSwitch <gen>
    Wait 0.50 seconds
    Sound - Play GateOpen <gen> at 100% volume, located at (Position of Bridge Mechanism 0064 <gen>) with Z offset 0
    Animation - Play Bridge Mechanism 0064 <gen>'s work (animationname) animation
BridgeSwitch
  Events
    Destructible - Lever 2163 <gen> dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        BridgeUp Equal to False
      Then - Actions
        Sound - Play LargeCityGateOpen1 <gen>
        Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Actions)
          Loop - Actions
            Unit - Pause (Picked unit)
        Camera - Lock camera target for Player 6 (Orange) to Camera Dummy 0204 <gen>, offset by (0, 0) using Default rotation
        Camera - Lock camera target for Player 10 (Light Blue) to Camera Dummy 0204 <gen>, offset by (0, 0) using Default rotation
        Destructible - Resurrect Long Wooden Bridge 1060 <gen> with (Max life of (Last created destructible)) life and Show birth animation
        Sound - Play StoneBridgeRise <gen> at 100% volume, located at (Position of Camera Dummy 0204 <gen>) with Z offset 0
        Wait 5.50 seconds
        Camera - Pan camera for Player 6 (Orange) to (Center of Region_206 <gen>) over 0 seconds
        Camera - Pan camera for Player 10 (Light Blue) to (Center of Region_206 <gen>) over 0 seconds
        Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Actions)
          Loop - Actions
            Unit - Unpause (Picked unit)
        Destructible - Open Elevator Wall 1672 <gen>
        Destructible - Open Elevator Wall 1680 <gen>
        Wait 1.00 seconds
        Set VariableSet BridgeUp = True
        Destructible - Resurrect Lever 2163 <gen> with (Max life of (Last created destructible)) life and Show birth animation
      Else - Actions
        Sound - Play LargeCityGateOpen1 <gen>
        Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Actions)
          Loop - Actions
            Unit - Pause (Picked unit)
        Camera - Lock camera target for Player 6 (Orange) to Camera Dummy 0204 <gen>, offset by (0, 0) using Default rotation
        Camera - Lock camera target for Player 10 (Light Blue) to Camera Dummy 0204 <gen>, offset by (0, 0) using Default rotation
        Destructible - Kill Long Wooden Bridge 1060 <gen>
        Sound - Play Elevator <gen> at 100% volume, located at (Position of Camera Dummy 0204 <gen>) with Z offset 0
        Wait 1.00 seconds
        Camera - Pan camera for Player 6 (Orange) to (Center of Region_206 <gen>) over 0 seconds
        Camera - Pan camera for Player 10 (Light Blue) to (Center of Region_206 <gen>) over 0 seconds
        Unit Group - Pick every unit in (Units owned by Player 6 (Orange).) and do (Actions)
          Loop - Actions
            Unit - Unpause (Picked unit)
        Destructible - Close Elevator Wall 1672 <gen>
        Destructible - Close Elevator Wall 1680 <gen>
        Wait 1.00 seconds
        Set VariableSet BridgeUp = False
        Destructible - Resurrect Lever 2163 <gen> with (Max life of (Last created destructible)) life and Show birth animation
TaurenRescue
  Events
    Unit - A unit enters Region_213 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Order Tauren Bruiser 0195 <gen> to Attack.Rock Chunks 1804 <gen>
    Wait 0.50 seconds
    Unit - Grant shared vision of Tauren Bruiser 0195 <gen> to Player 6 (Orange)
    Unit - Grant shared vision of Spirit Walker 0196 <gen> to Player 6 (Orange)
    Camera - Pan camera for Player 6 (Orange) to (Center of Region_214 <gen>) over 0 seconds
    Camera - Pan camera for Player 10 (Light Blue) to (Center of Region_214 <gen>) over 0 seconds
    Wait 0.50 seconds
    Unit - Rescue Tauren Bruiser 0195 <gen> for Player 6 (Orange) and Change color
    Unit - Rescue Spirit Walker 0196 <gen> for Player 6 (Orange) and Change color
    Destructible - Kill Rock Chunks 1804 <gen>
    Destructible - Kill Rock Chunks 1094 <gen>
    Destructible - Kill Rock Chunks 1725 <gen>
RocksMessage
  Events
    Unit - A unit enters Region_165 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Rock Chunks 2178 <gen> is alive) Equal to True
        (gg_item_I000_0234 is owned) Equal to False
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Quest - Display to (All players) the Hint message: |cff32cd32HINT|r - These rocks are too tough to be destroyed by any normal means.
RocksDestroy
  Events
    Unit - A unit enters Region_212 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
        ((Triggering unit) has gg_item_I000_0234) Equal to True
        (Triggering unit) Equal to Cairne
  Actions
    Trigger - Turn off (This trigger)
    Unit - Remove Circle of Power 0066 <gen> from the game
    Item - Remove gg_item_I000_0234
    Unit - Create 1.TNT for Neutral Passive at (Center of Region_207 <gen>) facing Default building facing degrees
    Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
    Wait 1.00 seconds
    Floating Text - Create floating text that reads 5! at (Center of Region_207 <gen>) with Z offset 0, using font size 10, color (100%, 100%, 100%), and 0% transparency
    Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
    Floating Text - Change (Last created floating text): Disable permanence
    Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
    Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
    Wait 1.00 seconds
    Floating Text - Create floating text that reads 4! at (Center of Region_207 <gen>) with Z offset 0, using font size 10, color (100%, 100%, 100%), and 0% transparency
    Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
    Floating Text - Change (Last created floating text): Disable permanence
    Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
    Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
    Wait 1.00 seconds
    Floating Text - Create floating text that reads 3! at (Center of Region_207 <gen>) with Z offset 0, using font size 10, color (100%, 100%, 100%), and 0% transparency
    Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
    Floating Text - Change (Last created floating text): Disable permanence
    Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
    Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
    Wait 1.00 seconds
    Floating Text - Create floating text that reads 2! at (Center of Region_207 <gen>) with Z offset 0, using font size 10, color (100%, 100%, 100%), and 0% transparency
    Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
    Floating Text - Change (Last created floating text): Disable permanence
    Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
    Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
    Wait 1.00 seconds
    Floating Text - Create floating text that reads 1! at (Center of Region_207 <gen>) with Z offset 0, using font size 10, color (100%, 100%, 100%), and 0% transparency
    Floating Text - Set the velocity of (Last created floating text) to 64 towards 90 degrees
    Floating Text - Change (Last created floating text): Disable permanence
    Floating Text - Change the fading age of (Last created floating text) to 0.50 seconds
    Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
    Wait 1.00 seconds
    Camera - Shake the camera for Player 6 (Orange) with magnitude 3
    Camera - Shake the camera for Player 10 (Light Blue) with magnitude 3
    Camera - Shake the camera for Player 1 (Red) with magnitude 1.50
    Special Effect - Create a special effect at (Center of Region_207 <gen>) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
    Special Effect - Destroy (Last created special effect)
    Wait 0.50 seconds
    Unit Group - Pick every unit in (Units within 256.00 of (Center of Region_211 <gen>) matching ((Owner of (Matching unit)) Equal to Player 6 (Orange)).) and do (Actions)
      Loop - Actions
        Unit - Cause (Picked unit) to damage (Picked unit), dealing 200.00 damage of attack type Chaos and damage type Normal
    Unit Group - Pick every unit in (Units within 512.00 of (Center of Region_211 <gen>) matching ((Owner of (Matching unit)) Equal to Player 6 (Orange)).) and do (Actions)
      Loop - Actions
        Unit - Cause (Picked unit) to damage (Picked unit), dealing 200.00 damage of attack type Chaos and damage type Normal
    Unit - Unhide Falling Debris 0236 <gen>
    Special Effect - Destroy (Last created special effect)
    Destructible - Kill Rock Chunks 2178 <gen>
    Destructible - Kill Rock Chunks 1729 <gen>
    Wait 0.20 seconds
    Special Effect - Create a special effect at (Center of Region_209 <gen>) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect at (Center of Region_210 <gen>) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
    Special Effect - Destroy (Last created special effect)
    Destructible - Kill Rock Chunks 1728 <gen>
    Destructible - Kill Rock Chunks 1733 <gen>
    Unit - Create 1.Falling Debris for Neutral Passive at (Center of Region_210 <gen>) facing Default building facing degrees
    Unit - Unhide Falling Debris 0237 <gen>
    Wait 0.50 seconds
    Special Effect - Create a special effect at (Center of Region_207 <gen>) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
    Special Effect - Destroy (Last created special effect)
    Camera - Stop swaying/shaking the camera for Player 1 (Red).
    Camera - Stop swaying/shaking the camera for Player 6 (Orange).
    Camera - Stop swaying/shaking the camera for Player 11 (Dark Green).
Golems Attack
  Events
    Unit - A unit enters Region_205 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
        (Owner of (Entering unit)) Equal to Player 10 (Light Blue)
  Actions
    Trigger - Turn off (This trigger)
    Animation - Play Rock Golem 0193 <gen>'s birth (animationname) animation
    Animation - Play Rock Golem 0194 <gen>'s birth (animationname) animation
    Sound - Play RockGolemYes1 <gen> at 100% volume, located at (Center of Region_205 <gen>) with Z offset 0
    Wait 1.50 seconds
    Unit - Change ownership of Rock Golem 0193 <gen> to Player 8 (Pink) and Change color
    Unit - Change ownership of Rock Golem 0194 <gen> to Player 8 (Pink) and Change color
    Unit - Unpause Rock Golem 0193 <gen>
    Unit - Unpause Rock Golem 0194 <gen>
    Unit - Make Rock Golem 0194 <gen> Vulnerable
    Unit - Make Rock Golem 0193 <gen> Vulnerable
GateInvulnerable
  Events
    Time - Elapsed game time is 5 seconds
  Conditions
  Actions
    Destructible - Make Dungeon Gate 1299 <gen> Invulnerable
Footman Attacked
  Events
    Unit - A unit owned by Player 10 (Light Blue).Is attacked
  Conditions
    (Unit-type of (Attacked unit)) Equal to Footman
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play Footman_Agro <gen> at 100% volume, attached to (Attacking unit)
Footman Attacked Blue
  Events
    Unit - A unit owned by Player 2 (Blue).Is attacked
  Conditions
    (Unit-type of (Attacked unit)) Equal to Footman
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play Footman_Agro <gen> at 100% volume, attached to (Attacking unit)
Skip Cinematic
  Events
    Player - Player 1 (Red) skips a cinematic sequence
    Player - Player 6 (Orange) skips a cinematic sequence
    Player - Player 10 (Light Blue) skips a cinematic sequence
  Conditions
    Cinematic Equal to True
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 1 (Red)
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Game - Display to (All players) the text: ((Name of Player 1 (Red)) + wishes to skip the cinematic.)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 6 (Orange)
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote2 = True
        Game - Display to (All players) the text: ((Name of Player 6 (Orange)) + wishes to skip the cinematic.)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 10 (Light Blue)
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to True
      Then - Actions
        Set VariableSet SkipVote3 = True
        Game - Display to (All players) the text: ((Name of Player 6 (Orange)) + wishes to skip the cinematic.)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 1 (Red)
        SkipVote1 Equal to False
        SkipVote2 Equal to True
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Trigger - Turn off (This trigger)
        Game - Display to (All players) the text: Cinematic was skipped.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (OpeningCancelled <gen> is on) Equal to True
          Then - Actions
            Trigger - Run OpeningCancelled <gen> (checking conditions)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (EndingCancelled <gen> is on) Equal to True
          Then - Actions
            Trigger - Run EndingCancelled <gen> (checking conditions)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 6 (Orange)
        SkipVote1 Equal to True
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Trigger - Turn off (This trigger)
        Game - Display to (All players) the text: Cinematic was skipped.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (OpeningCancelled <gen> is on) Equal to True
          Then - Actions
            Trigger - Run OpeningCancelled <gen> (checking conditions)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (EndingCancelled <gen> is on) Equal to True
          Then - Actions
            Trigger - Run EndingCancelled <gen> (checking conditions)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 10 (Light Blue)
        SkipVote1 Equal to False
        SkipVote2 Equal to True
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Trigger - Turn off (This trigger)
        Game - Display to (All players) the text: Cinematic was skipped.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (OpeningCancelled <gen> is on) Equal to True
          Then - Actions
            Trigger - Run OpeningCancelled <gen> (checking conditions)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (EndingCancelled <gen> is on) Equal to True
          Then - Actions
            Trigger - Run EndingCancelled <gen> (checking conditions)
          Else - Actions
      Else - Actions
Leaves Game
  Events
    Player - Player 1 (Red) leaves the game
    Player - Player 6 (Orange) leaves the game
    Player - Player 10 (Light Blue) leaves the game
  Conditions
  Actions
    Game - Display to (All players) the text: ((Name of (Triggering player)) + has left the game.)
    Sound - Play CreepAggroWhat1 <gen>
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        GameSelection Equal to True
      Then - Actions
        Set VariableSet EnoughPlayers = False
        Cinematic - Clear the screen of text messages for (All players).
        Sound - Play QuestLog <gen>
      Else - Actions
click
  Events
    Dialog - A dialog button is clicked for Win
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Buttons[1]
      Then - Actions
        Trigger - Run Opening01 <gen> (ignoring conditions)
        Trigger - Run Map_Initialization <gen> (checking conditions)
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Clicked dialog button) Equal to Buttons[2]
          Then - Actions
            Trigger - Run Opening01 <gen> (ignoring conditions)
            Trigger - Run Map_Initialization <gen> (checking conditions)
          Else - Actions
    Dialog - Hide Win for Player 1 (Red)
SapperDeath
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Dying unit)) Equal to Mortar Goblins
  Actions
    Special Effect - Create a special effect at (Position of (Dying unit)) using Abilities\Spells\Other\Doom\DoomDeath.mdl
    Special Effect - Destroy (Last created special effect)
    Unit Group - Pick every unit in (Units within 256.00 of (Position of (Dying unit)) matching ((Owner of (Matching unit)) Equal to Player 6 (Orange)).) and do (Actions)
      Loop - Actions
        Unit - Cause (Dying unit) to damage (Picked unit), dealing 100.00 damage of attack type Spells and damage type Normal
Endgame Text
  Events
  Conditions
  Actions
    Sound - Play ClanInvitation <gen>
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 7 COMPLETED =-|r
    Wait 5.00 seconds
    Game - Victory Player 1 (Red) (Skip dialogs, Show scores)
    Game - Victory Player 6 (Orange) (Skip dialogs, Show scores)
    Game - Victory Player 5 (Yellow) (Skip dialogs, Show scores)
Normal delete
  Events
  Conditions
  Actions
    Unit - Hide Missile Tower 0208 <gen>
    Unit - Hide Missile Tower 0209 <gen>
    Unit - Hide Mortar Goblins 0227 <gen>
    Unit - Hide Heretic 0146 <gen>
    Unit - Hide Fire Revenant 0036 <gen>
Custom Variables
  Events
    Map initialization
  Conditions
  Actions
    Game - Set Lock resource trading to On
    Cinematic - Fade out over 0.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet MissionNumber = 47
    Set VariableSet SubquestsTotal = 0
    Set VariableSet BonusesTotal = 9
    Set VariableSet ExtraTotal = 17
    Set VariableSet TimeMin = 600.00
    Set VariableSet TimeMax = 2400.00
    Set VariableSet TimeRange = (TimeMax - TimeMin)
    Set VariableSet ScoreBonuses = 10
    Set VariableSet ScoreExtra = 5
    Set VariableSet ScoreSubquests = 0
    Set VariableSet ScoreTime = 120
    Set VariableSet ScoreMax = ((SubquestsTotal x ScoreSubquests) + ((BonusesTotal x ScoreBonuses) + ((ExtraTotal x ScoreExtra) + ScoreTime)))
    Set VariableSet ScoreLimit[4] = (Integer((((Real(ScoreMax)) x 0.90) + 0.50)))
    Set VariableSet ScoreLimit[3] = (Integer((((Real(ScoreMax)) x 0.75) + 0.50)))
    Set VariableSet ScoreLimit[2] = (Integer((((Real(ScoreMax)) x 0.55) + 0.50)))
    Set VariableSet ScoreLimit[1] = (Integer((((Real(ScoreMax)) x 0.30) + 0.50)))
    Set VariableSet Player1 = Player 1 (Red)
    Set VariableSet Player2 = Player 6 (Orange)
    Set VariableSet Player3 = Player 10 (Light Blue)
    Set VariableSet Hero1 = |c00FF0303Warchief|r 0230 <gen>
    Set VariableSet Hero2 = Tauren Chieftain 0231 <gen>
    Set VariableSet Hero3 = Far Seer 0008 <gen>
    Set VariableSet Thrall = |c00FF0303Warchief|r 0230 <gen>
    Set VariableSet Cairne = Tauren Chieftain 0231 <gen>
    Set VariableSet DrekThar = Far Seer 0008 <gen>
    -------- Items To be Saved --------
    Set VariableSet SaveLoad_Items[1] = Potion of Healing
    Set VariableSet SaveLoad_Items[2] = Potion of Mana
    Set VariableSet SaveLoad_Items[3] = Ring of Protection +1
    Set VariableSet SaveLoad_Items[4] = Maul of Strength
    Set VariableSet SaveLoad_Items[5] = Healing Wards
    Set VariableSet SaveLoad_Items[6] = Wand of Lightning Shield
    Set VariableSet SaveLoad_Items[7] = Scroll of the Beast
    Set VariableSet SaveLoad_Items[8] = Periapt of Vitality
    Set VariableSet SaveLoad_Items[9] = Health Stone
    Set VariableSet SaveLoad_Items[10] = Druid Pouch
    Set VariableSet SaveLoad_Items[11] = Scroll of Healing
    Set VariableSet SaveLoad_Items[12] = Scroll of Protection
    Set VariableSet SaveLoad_Items[13] = Potion of Greater Healing
    Set VariableSet SaveLoad_Items[14] = Ancient Figurine
    Set VariableSet SaveLoad_Items[17] = Potion of Greater Mana
    Set VariableSet SaveLoad_Items[18] = Mantle of Intelligence +3
    Set VariableSet SaveLoad_Items[19] = Scroll of Mana
    Set VariableSet SaveLoad_Items[20] = Gauntlets of Ogre Strength +3
    Set VariableSet SaveLoad_Items[21] = Wand of Negation
    Set VariableSet SaveLoad_Items[22] = Claws of Attack +9
    Set VariableSet SaveLoad_Items[23] = Circlet of Nobility
    Set VariableSet SaveLoad_Items[24] = Claws of Attack +3
    Set VariableSet SaveLoad_Items[25] = Totem of Might
    Set VariableSet SaveLoad_Items[26] = Lion's Ring
    Set VariableSet SaveLoad_Items[27] = Pendant of Mana
    Set VariableSet SaveLoad_Items[28] = Slippers of Agility +3
    Set VariableSet SaveLoad_Items[29] = Scroll of Animate Dead
    Set VariableSet SaveLoad_Items[30] = Scroll of Resurrection
    Set VariableSet SaveLoad_Items[31] = Talisman of Evasion
    Set VariableSet SaveLoad_Items[32] = The Lion Horn of Stormwind
    Set VariableSet SaveLoad_Items[33] = Necklace of Spell Immunity
    Set VariableSet SaveLoad_Items[34] = Claws of Attack +12
    Set VariableSet SaveLoad_Items[35] = Belt of Giant Strength +6
    Set VariableSet SaveLoad_Items[36] = Crown of Kings +5
    Set VariableSet SaveLoad_Items[37] = Orb of Fire
    Set VariableSet SaveLoad_Items[38] = Battle Drums
    Set VariableSet SaveLoad_Items[39] = Runed Bracers
    Set VariableSet SaveLoad_Items[40] = Boots of Speed
    Set VariableSet SaveLoad_Items[41] = Ring of Protection +4
    Set VariableSet SaveLoad_Items[42] = Bloodhoof Runespear
    Set VariableSet SaveLoad_Items[43] = Doomhammer
    Set VariableSet SaveLoad_Items_LastIndex = 43
    -------- Leave as is. Used to autocreate variables when copy & pasting to a new map --------
    Set VariableSet SaveLoad_Alphabet = ABCDEFGHIJKLMNPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz
    Set VariableSet SaveLoad_CaseSensitive = True
    Set VariableSet SaveLoad_UsePlayername = False
    -------- Required: false --------
    Set VariableSet SaveLoad_Initialized = False
    Set VariableSet Code = AceHart
    Set VariableSet Save[1] = 0
    Set VariableSet SaveCount = 1
    Set VariableSet Validate = False
    Set VariableSet SaveLoad_Compress[1] = 0
    Set VariableSet SaveLoad_Uncompress[1] = 0
Init Gametext
  Events
    Map initialization
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) controller) Equal to User
        (Player 6 (Orange) controller) Equal to User
        (Player 10 (Light Blue) controller) Equal to User
        (Player 1 (Red) slot status) Equal to Is playing
        (Player 6 (Orange) slot status) Equal to Is playing
        (Player 10 (Light Blue) slot status) Equal to Is playing
      Then - Actions
        Set VariableSet EnoughPlayers = True
        Trigger - Run Startgame_Text <gen> (ignoring conditions)
      Else - Actions
        Trigger - Run Startgame_Text_3 <gen> (ignoring conditions)
Startgame Text
  Events
    Player - Player 1 (Red) types a chat message containing -normal (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -normal (stringnoformat) as An exact match
    Player - Player 10 (Light Blue) types a chat message containing -normal (stringnoformat) as An exact match
  Conditions
    HEROICMODE Equal to True
    GameSelection Equal to True
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Sound - Play QuestLog <gen>
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 7=-|r
    Game - Display to (All players) for 600.00 seconds the text: |c00FFFC01Chapter Seven:|r The OracleWelcome to the 3Player: Orc Campaign made by deflinok2 . Inspired by the work of Pyraeus and the-spoon.|c00FFFC01The In-Game Commands Are:|rUse |c00fEBA0E/AForce|r |c00E55BB0(For Full Shared Unit Control and Vision Control among Player's Groups)|r and |c00fEBA0E/AVision|r |c00E55BB0(For Only Shared Vision among Player's Groups)|r|c00FFFC01Please type in your difficulty below with the|r "|c00FF7F00-|r" |c00FFFC01included|r:|r-Normal-Heroic
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Type '-load' and your code you obtained from the previous chapter.
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Alternatively, both players type '-new' if you do not have a code.
    Game - Display to (All players) for 600.00 seconds the text: New game is at Normal difficulty. Type '-heroic' to play at a higher difficulty.
    Set VariableSet HEROICMODE = False
Startgame Text 2
  Events
    Player - Player 1 (Red) types a chat message containing -heroic (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -heroic (stringnoformat) as An exact match
    Player - Player 10 (Light Blue) types a chat message containing -heroic (stringnoformat) as An exact match
  Conditions
    HEROICMODE Equal to False
    GameSelection Equal to True
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Sound - Play QuestLog <gen>
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 7=-|r
    Game - Display to (All players) for 600.00 seconds the text: |c00FFFC01Chapter Seven:|r The OracleWelcome to the 3Player: Orc Campaign made by deflinok2 . Inspired by the work of Pyraeus and the-spoon.|c00FFFC01The In-Game Commands Are:|rUse |c00fEBA0E/AForce|r |c00E55BB0(For Full Shared Unit Control and Vision Control among Player's Groups)|r and |c00fEBA0E/AVision|r |c00E55BB0(For Only Shared Vision among Player's Groups)|r|c00FFFC01Please type in your difficulty below with the|r "|c00FF7F00-|r" |c00FFFC01included|r:|r-Normal-Heroic