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

Trigger Viewer

BDPmap14v0.050.w3x
Variables
Initialization
Intial
Environment
Research Alliance
Easy Mode
Normal Mode
Insane Mode
Difficulty
AI ally or not
Choose Control
Choose AI
Prevent Higher Level
Tura Lock level
Khad Lock level
prevent high
Music trigs
Music Elwyn INITIAL
Music Elwyn trigger
Music Khalakr trigger
Music Pokemon trigger
Sewer enter diag
Kilmaat Save System
README
Edit each map
Set Variables
Set Hero Abilities
Load Hero Abilities
Don't Edit
README
Save Heroes
Load Heroes
Initialize Game
Save and End Game
Tome Count
Autocreate Variables
Defeat
Defeat Blue
Defeat Teal
Defeat Pink
Defeat Our base
Opening Cinematic
Start The Game
Opening Cinematic
Opening Cinematic Skipped
Opening Cinematic Quest
Orange Attack Waves
Orange Left Attack
Orange Bottom Attack
Pokemon
Bulbasaur Trigger
Squirtle Trigger
Charmander Trigger
Pokemon Cinematic
Pokemon Cinematic Skip
Pokemon Cinematic Quest
Pokeballs
Ash Pokeball
Jessie Poke Rat
Jessie Poke Mew
Jessie Poke Arbok
Golem Dies
Golem Dies Trig
Golem Dies Cin
Golem Dies Skip
Golem Dies Quest
DG Attack Waves
Bases Destroyed
Purple die
Red die
Orc bases Die
Orc Base Die Trig
Orc Base Die Cin
Orc Base Die Skip
Orc Base Die Quest
Boss Fight Stuff
Enter Region Boss Fight
Boss Dies Finally
Ending Cinematic
End Cine Skip
Alternate Altar
Human
Forest Creatures
Normal Forest Creatures
Elite Forest Creatures
Gold Coin Destroyed
Peons
Bandit Peons
Pink Peons
Light Blue Peons
Red Peons
Purple Peons
Green peons
AI
Bandit AI and gold all
Pink AI
Light Blue AI
Red AI
Purple AI
Green AI
Yellow Gold check
Grey Gold Check
Brown Gold Check
Pink lumber check
Lightblue lumber check
Single Player
Single Player share
Blue leaves
Teal leaves
Horde Unit Spells
Shredder
Rexxar
Rexxar Spells Double Spinning Blades
Configuration
Double Spinning Blade
DSB Loop
Rexxar Spells Beast Attack
Beast Attack
Rexxar Spells Earth Fury
Earth Fury
Rexxar Spells Combat Urgency
Rexxar Spells Haratha
Grom
Groms Spells Cutting Edge
Hastable for CE
Cutting Edge
Cutting Edge Knock
Remove Dummies
Grom Spells Fade Step
Init
Fade Step
Fade Step Loop
Grom Spells Agile
ReadMe
AgileConfig
AgileAbilityCast
AgileTime
Groms Spells Wind Storm
Wind Storm A
Wind Storm B
Grom Spells Sinister Strike
Sinister Strike
Teron
Teron Spells Shadow Drain
Shadow Drain Cast
Shadow Drain Loop
Teron Spells Soul Tether
Soul Tether Configuration
Soul Tether Activation
Soul Tether Loop
Teron Spells Walk of Shadows
Walk of Shadows Cast
Walk of Shadows Loop
Teron Spells Knowledge of Shadows
Knowledge of Shadows
Teron Spells Love of Shadows
Love the Shadows
Teron Spells Extra System
Add Special Effect to System
SpecialEffectSystemLoop
Dentarg
Dentarg Spells Power Suction
Dentarg Spells Earth Slam
EarthSlam
Dentarg Spells Glyph of Nature
Glyph of Nature
Dentarg Spells Thorn Armour
Thorn Armor Config
Thorn Armor
Remove Dummy Leak
Thorns GDD
GDD Variable Creator
GUI Friendly Damage Detection
Dentarg Spells Psychic Onslaught
Psychic Rape
Fenris
Fenris Spells Aqua Burst
Aqua Burst
Fenris Spells Hydro
HydroJetCast
HydroJetDebug
HydroJetWater
Fenris Spells Elemental
LiquidElementalCast
LiquidElemetalPuddles
LiquidElementalDeath
Fenris Spells Watery Chill
Fenris Spells Whirlpool
WhirlPoolCast
WhirlPoolLoop
Fenris Water
HashtableSetup
Tagar
Tagar Spells Raging Slam
Start
Loop
Tagar Spells Conflict Craving
Tagar Spells Earth Pulse
EarthPulse A
EarthPulse B
Tagar Spells Raze
Tagar Spells Bolder Bombardment
BoulderBombardment A
BoulderBombardment B
Danath
Danath Spells Unexpected Charge
Cast Charge
Projectile Dash by Paladon
FadeDummyEffects System by Paladon
getFaded
callFading
Danath Spells Fury Peak
Fury Peak
Danath Spells Battle Focus
Init Copy 2
Battle Focus
Battle Focus Loop
Tagar Spells Storming Flame
DDS Main
DDS Add Unit
DDS Init
Storming Flame loop
Danath Spells Power Slam
Power Slam
Kurdan
Kurdan Spells Storm Rotation
SR Start
SR Loop
Kurdan Spells Lightning Field
Preload SF
Static Field
Lightning Fade
Kurdan Spells Surging Pulse
Surging Pulse
Kurdan Spells Energizing Presence
Kurdan Spells Voltage Overload
Turalyon
Turalyon Spells Holy Blessing
Holy Blessing
Turalyon Spells Hammer of Thor
|ZZZZZZZZZZZZZZZZZZZZZZ|
|ZZZZZZZ| README |ZZZZZZZ|
Hammer of Thor
Hammer of Thor Move Up Down
Hammer of Thor Lightning Move
Hammer of Thor Slam
Hammer of Thor Up
Hammer of Thor Stun
|ZZZZZZZZZZZZZZZZZZZZZZ|
Hammer of Thor Hash
Melee Initialization Copy
Turalyon Spells Volatile Light
VL readme SS
VL Config SS
VL Cast SS
VL Loop SS
Bribe's GUI Spell System
Spell System Config
Spell System
Turalyon Spells Song of Angels
Turalyon Spells Heaven's Justice
---------------------------
Spell Information: Heaven's Justice
Heavens Justice Configuration
Heavens Justice Execution
Heavens Justice Loop
---------------------------
Unit Indexer System ( Bribe )
---------------------------
Unit Indexer
---------------------------
Khadgar
Khadgar Spells Phantom Bolt
Phantom Bolt Init
Phantom Bolt Per
Khadgar Spells Star
Importing
AbsoluteINT
AbsoluteCAST
AbsoluteLOOP
Khadgar Spells Telekinesis
Initial Telekinesis GUI
Telekinesis GUI
Khadgar Spells Arcane Resort
Arcane Resort
Khadgar Spells Arcane Storm
ASHashtable
ASInit
ASPeriodic
Krasus
Krasus Spells Fire Blast
Fire blast init
Fire Blast loop
Krasus Spells Blaze
Blaze init
Blaze loop
Krasus Spells Molten Armour
Molten Armor
Krasus Spells Draconian Invocation
Antonidas
Antonidas Spells Stop
Stop cast
Stop loop
Antonidas Spells Temporal Flick
Flick INIT
Flick
Reflect
Trigg Reflect
Reflect
Deathwing Spells Sandstorm
SandStormCast
SandStormMovement
Deathwing Spells Shadowwalk
Shadow Walk
Extra
Khadgar Item Teleport
TP Actions to apply basic
TP Actions to apply FULL
Example Jaina
How to import
How it's work
TP Setup
TP Call
TP Loop
Rexxar Spells Assassin Aura
AA Preload
AA Effect
Fenris Spells Water Wave
WaterWaveCast
WaveMovement
Meteor Slash
Meteor Slash On
Meteor Slash Loop
Holy Shockwave
Details
HS init
HS cast
HS loop
HS cancel
IsDestructableTree
init Copy
system
system
init
event
prepare
Holy Cross
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
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_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_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
        call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Decoding sucessful")
        return true
    endif
    call DisplayTextToPlayer(GetTriggerPlayer(),0,0,"Decoding failed")
    return false
endfunction


function CreateTextFile takes string Code returns nothing
    
    local integer i = 1

loop
    exitwhen i > udg_NumHeroesToSave
    set udg_SaveText[i] = "
" + "
" + udg_HeroToSaveName[i] + "
" + udg_SaveText[i]
    set i = i + 1
endloop


    call PreloadGenClear()
    call PreloadGenStart()

    // The line below creates the log
    call Preload(udg_SaveText[1] + udg_SaveText[2] + udg_SaveText[3] + udg_SaveText[4] + "
")   
    // The line below creates the file at the specified location
    call PreloadGenEnd(udg_TextFileName + ".txt")
endfunction
Name Type Is Array Initial Value
A_AoE real No
A_Bool boolean No
A_Damage real No
A_Duration real No
A_Int integer No
A_Real real No
A_Real2 real No
A_Speed real No
A_UType unitcode No
AA_A_Group group No
AA_Cstr_Group group No
AA_E_HP real No
AA_HPcount real No
AA_Loc location Yes
AA_Percent real Yes
AA_PreLoop integervar No
Absolaoe real No
AbsolBoolean1 boolean No
AbsolBoolean2 boolean No
AbsolBoolean3 boolean No
AbsolBoolean4 boolean No
AbsolCast unit No
AbsolCnt integer No
AbsolCol real No
AbsolDamg real No
AbsolDestroy boolean No
AbsolDummy unit No
AbsolDummy2 unit No
AbsolGroup group No
AbsolGroupTARGET group No
AbsolId integer No
AbsolINTEGER integer No
AbsolLightningId integer No
AbsolLoop integervar No
AbsolMax integer No
AbsolMaxBound integer No
AbsolPlayer player No
AbsolREAL real No
AbsolRealHeightUp real No
AbsolTrigger integer No
AbsolUnitInteger integer No
Agile_AoE real No
AgileAbility abilcode No
AgileAmount integer Yes
AgileCasters unit Yes
AgileCasterSE effect Yes
AgileDamage integer No
AgileDamageArea location No
AgileDamageEnemy group No
AgileDamagePercent real No
AgileDamageSize integer No
AgileEnemies unit No
Agileindex integer Yes
Agileindex_max_size integer No
Agileindex_size integer No
AgileInteger integer No
AgileLevel integer No
AgileLoop integervar No
AgileRAmount integer No
AgileRTime integer No
AgileSFX1 string No
AgileSFX1_AP string No
AgileSFX2 string No
AgileSFX2_AP string No
AgileSFX3 string No
AgileSFX3_Ap string No
AgileTime integer Yes
AH1 real No
AH2 real No
AH3 real No
AIorNot boolean No
AL lightning No
ALT lightningtype No
Amount real No
Angle_setter real No
AP location No
AP2 location No
AP3 location No
Aqua_Burst_Ability_Level integer No
Aqua_Burst_Area_of_Effect real No
Aqua_Burst_Base_Damage real No
Aqua_Burst_Caster unit No
Aqua_Burst_Damage_Group group No
Aqua_Burst_Location location No
Aqua_Burst_Total_Damage real No
AR_Point location No
AS integervar No
AS_Angle real Yes
AS_Animation real No
AS_Defense_fake integer Yes
AS_Distance real Yes
AS_Equation real Yes
AS_FLY real Yes
AS_Formula real Yes
AS_Group group Yes
AS_Hero unit Yes
AS_Max_Height real Yes
AS_Off boolean Yes
AS_Point location Yes
AS_Skip integer No
AS_Special effect Yes
AS_Speed real Yes
AS_Stable_Distance real Yes
AS_Times integer No
AS_X_Special effect Yes
ASAOE real No
ASCaster unit No
ASCasterGroup group No
ASCasterPoint location No
ASDamage real No
ASDamageGroup group No
ASExplosion unit No
ASHashtable hashtable No
ASPlayer player No
ASRandomGroup group No
ASRay unit No
ASRayFly real No
ASTarget unit No
ASTargetPoint location No
ASTime real No
BB integervar No
BB2 integervar No
BB_Angle real Yes
BB_Attacked unit No
BB_Caster unit Yes
BB_Casting unit Yes
BB_CastNumber integer No
BB_Chance integer No
BB_Damage real Yes
BB_Distance real Yes
BB_Expire integer Yes
BB_Group group No
BB_Height real Yes
BB_LEVEL integer No
BB_Loop integervar No
BB_Missile unit Yes
BB_Off boolean Yes
BB_Point location Yes
BB_Real_Damage_Spam integer Yes
BB_Skip integer No
BB_Speed real Yes
BB_Switch integer No
BB_Targ unit Yes
BB_Times integer No
BB_Up boolean Yes
Beast_Attack_Ability_Level integer No
Beast_Attack_Atribute integer No
Beast_Attack_Atribute_Damage real No
Beast_Attack_Caster unit No
Beast_Attack_Damage_Splitter integer No
Beast_Attack_Life_Damage real No
Beast_Attack_Location location No
Beast_Attack_Location2 location No
Beast_Attack_Max_Life real No
Beast_Attack_Target unit No
Beast_Attack_Total_Damage real No
BFAbility abilcode Yes
BFAura unit Yes
BFAura2 unit Yes
BFAura3 unit Yes
BFCaster unit Yes
BFCasterAbility abilcode Yes
BFCount integer No
BFGroup group Yes
BFHas boolean Yes
BFIndex integer No
BFInteger integervar No
BFLastRecycled integer No
BFMax integer No
BFRecycledList integer Yes
BFTimer real Yes
BlazeCaster unit Yes
BlazeDuration real Yes
BlazeIndexsize integer No
BlazeInteger integer Yes
BlazeLoop integervar No
BlazeMaxsize integer No
BlazePoint location No
BlazeTemp integer No
Caster unit No
CE_Ability_Level integer No
CE_Area_of_Effect real No
CE_Base_Damage real No
CE_Caster unit No
CE_Damage_Group group No
CE_Destroy_Trees boolean No
CE_Knock_Angle real No
CE_Knock_Distance real No
CE_Knock_Group group No
CE_Knock_Loc1 location No
CE_Knock_Loc2 location No
CE_Knock_Speed real No
CE_Knocktable hashtable No
CE_Location location No
CE_Location2 location No
CE_Pathing_On boolean No
CE_Special_Effect effect No
CE_Special_Effect1 effect No
CE_Total_Damage real No
ChooseComputer boolean No
ChosenPokemon unit No
Code string No
Currant_intstances integer No
currentHerotoLoad integer No
currentHerotoSave integer No
DANATHhero unit No
DANATHorc unit No
DDS_Detect group No
Debug integervar No
Degrees_set real No
Dfficultychosen boolean No
DSB_Ability_ID abilcode No
DSB_Ability_Level integer Yes
DSB_Angle real Yes
DSB_Animation_Speed real No
DSB_AoE real No
DSB_Caster unit Yes
DSB_Conditions boolean Yes
DSB_Current_Index integervar No
DSB_Damage real Yes
DSB_Damage_Group group No
DSB_Destroy_Tree boolean No
DSB_Destroyer unit No
DSB_Distance real No
DSB_Dummy unit Yes
DSB_Dummy2 unit Yes
DSB_Dummy2_Animation string No
DSB_Dummy2_BLUE real No
DSB_Dummy2_GREEN real No
DSB_Dummy2_Lifetime real No
DSB_Dummy2_RED real No
DSB_Dummy2_Transparency real No
DSB_Dummy_Type unitcode No
DSB_Dummy_Type2 unitcode No
DSB_Max_Index integer No
DSB_Owner player Yes
DSB_Shadow boolean No
DSB_Shdow boolean Yes
DSB_SoundEffect sound No
DSB_Special_Effect string No
DSB_Special_Effect_Location string No
DSB_Stage integer Yes
DSB_Start_Range real No
DSB_UnDamage_Group group Yes
Earth_Fury_Ability_Level integer No
Earth_Fury_AoE_Bouns real No
Earth_Fury_Base_Area_of_Effect real No
Earth_Fury_Base_Damage real No
Earth_Fury_Bonus_Damage real No
Earth_Fury_Caster unit No
Earth_Fury_Chance real No
Earth_Fury_Damage_Group group No
Earth_Fury_Dummy_Ability abilcode No
Earth_Fury_Dummy_Ability_2 abilcode No
Earth_Fury_Location location No
Earth_Fury_Owner player No
Earth_Fury_Total_Area_of_Effec real No
Earth_Fury_Total_Damage real No
Ending_Cinematic_Is_On boolean No
EnemyTeams force No
EP integervar No
EP_Angle real Yes
EP_Caster unit Yes
EP_CastNumber integer No
EP_ConstDistance real Yes
EP_Distance real Yes
EP_Height real Yes
EP_Integer integervar No
EP_Missile unit Yes
EP_Off boolean Yes
EP_Point location Yes
EP_Speed real Yes
EP_Switch integer No
ES_Caster unit No
ES_Group group No
ES_Integer integervar No
ES_Point location Yes
ES_Target unit No
F_Integers integer Yes
F_ReachedFading real Yes
F_Time real Yes
F_Unit unit Yes
FA_Time real No
FA_Unit unit No
FB_Blast unit Yes
FB_Caster unit Yes
FB_Dummy unit Yes
FB_Explosion integervar Yes
FB_Indexsize integer No
FB_Integer integer Yes
FB_Loop integervar No
FB_Maxindexsize integer No
FB_Point location Yes
FB_Real real Yes
FB_Temp integer No
FENRISHERO unit No
Flck_Ability abilcode No
Flck_CaptureDistance real No
Flck_CaptureRadius real No
Flck_Caster unit No
Flck_CasterPoint location No
Flck_Facing real No
Flck_SpecialEffectWarpInCaster string No
Flck_SpecialEffectWarpOutCast string No
Flck_TargetPoint location No
Flck_Tempangle real No
Flck_Tempgroup group No
Flck_Temppoint location No
Flck_Temppoint2 location No
Flck_Temppoint3 location No
Flck_Victim unit No
FP_Point location No
FSCaster unit Yes
FSCasterPoint location Yes
FSCount integer No
FSDistance real Yes
FSDummy unit Yes
FSDummyGroup group Yes
FSFace real Yes
FSFade real Yes
FSFadeC real Yes
FSHas boolean Yes
FSIndex integer No
FSInteger integervar No
FSLastRecycled integer No
FSMax integer No
FSMaxDistance real Yes
FSMove real Yes
FSRecycledList integer Yes
FSTime real No
GDD__Integers integer Yes
GDD__LeftMapGroup group No
GDD__TriggerArray trigger Yes
GDD__UnitArray unit Yes
GDD_Damage real No
GDD_DamagedUnit unit No
GDD_DamageSource unit No
GDD_Event real No
Gravity_unit unit No
Gravity_Unit_ID handle No
GromEnd unit No
Handle_Absol integer No
HarathaEnd unit No
HashAbsol hashtable No
Hashtable hashtable No
HeroFifthAbility abilcode Yes
HeroFirstAbility abilcode Yes
HeroFourthAbility abilcode Yes
HeroLoadedornew boolean No
HeroSecondAbility abilcode Yes
HeroThirdAbility abilcode Yes
HeroToLoad unit Yes
HeroToSave unit Yes
HeroToSaveName string Yes
hidelastdgunits group No
HJ_Ability abilcode No
HJ_AbilityMaxLevel integer No
HJ_AttackType attacktype No
HJ_Caster unit Yes
HJ_CasterPlayer player Yes
HJ_CollisionRange real No
HJ_CustomBoolean boolean Yes
HJ_CustomInteger integervar No
HJ_CustomReal real Yes
HJ_CustomReal2 real Yes
HJ_CustomReal3 real Yes
HJ_CustomReal4 real Yes
HJ_DamageType damagetype No
HJ_DummyType unitcode No
HJ_Effect string Yes
HJ_EffectCount integer No
HJ_EnemySoulModelHandler effect Yes
HJ_EnemySoulUnit unit Yes
HJ_FriendlySoulModelHandler effect Yes
HJ_FriendlySoulUnit unit Yes
HJ_Group group No
HJ_ID integer No
HJ_JudgeDuration real Yes
HJ_JudgeDurationCounter real Yes
HJ_Level integer Yes
HJ_LevitateSpeedCalculation real Yes
HJ_LoopInterval real No
HJ_ModelHandler effect Yes
HJ_Pause boolean No
HJ_PauseAbility abilcode No
HJ_PauseEnemyEffectAttach string No
HJ_PauseEnemyEffectHandler effect Yes
HJ_PauseFriendlyEffectAttach string No
HJ_PauseFriendlyEffectHandler effect Yes
HJ_PauseOrder string No
HJ_PickedUnit unit No
HJ_Radius real Yes
HJ_RadiusEffectAngle real No
HJ_RadiusEffectCount integer Yes
HJ_ReturnHeightCalculation real Yes
HJ_SoulDamage real Yes
HJ_SoulDistance real Yes
HJ_SoulDistanceCounter real Yes
HJ_SoulEnemyExitAttach string No
HJ_SoulEnemyModelAttach string No
HJ_SoulFriendlyExitAttach string No
HJ_SoulFriendlyModelAttach string No
HJ_SoulHeal real Yes
HJ_SoulInitialHeight real Yes
HJ_SoulLevitateTime real Yes
HJ_SoulLevitateTravel boolean No
HJ_SoulLevitateTravelAngle real Yes
HJ_SoulMaxHeight real Yes
HJ_SoulMotionEffect string Yes
HJ_SoulMotionEffectAttach string Yes
HJ_SoulMotionEffectChance integer No
HJ_SoulReturnDamageAttach string No
HJ_SoulReturnHealAttach string No
HJ_SoulSize real Yes
HJ_SoulUnit unit Yes
HJ_TravelSpeedCalculation real Yes
HJ_Unit unit No
HoT_Const_AoE real No
HoT_Const_Dmg_Base real No
HoT_Const_Dmg_Bonus real No
HoT_Const_Dmg_Burn real No
HoT_Const_Dmg_Stun real No
HoT_Const_Dmg_Stun_Bonus real No
HoT_Const_Duration real No
HoT_Const_Range real No
HoT_Const_Stun_Duration real No
HoT_Group group No
HoT_Hash hashtable No
HoT_Lightning_Group group No
HoT_Slam_Group group No
HoT_Stun_Group group No
HoT_Targets group No
HoT_Up_Group group No
HS_ability abilcode No
HS_animation string No
HS_attack_type attacktype No
HS_caster unit No
HS_caster_loc location No
HS_charge_counter integer No
HS_charges integer Yes
HS_cone real No
HS_counter real No
HS_damage real Yes
HS_damageType damagetype No
HS_destroy_dest boolean No
HS_detect_area real No
HS_direction real No
HS_effect string No
HS_effect2 string No
HS_explosion_count integer No
HS_facing real No
HS_group group No
HS_hash hashtable No
HS_height real No
HS_knockup boolean No
HS_knockup_animation string No
HS_knockup_effect string No
HS_knockup_speed real No
HS_level integer No
HS_loop_speed real No
HS_speed real Yes
HS_temp_loc location No
HS_time real No
HS_trigger trigger No
HS_trigger2 trigger No
HydroJetCasters group No
HydroJetProjectiles group No
InitTrigger trigger No
Insanemodeactivated boolean No
Intervals timer No
ISD_boolean boolean No
ISD_d destructable No
ISD_dummy unit No
ISD_loc location No
ISD_p location No
KHADGARHERO unit No
KNIGHTBOT unit No
KNIGHTTOP unit No
KoS_Angle real Yes
KOS_BackstabEffect string No
KURDRANhero unit No
KURDRANORC unit No
KUS_animation string No
KUS_effect modelfile No
KUS_group group No
KUS_hash hashtable No
KUS_height real No
KUS_knockup boolean No
KUS_speed real No
KUS_target unit No
KUS_temp_loc location No
KUS_temp_speed real No
Leak_Point location No
LF_A_Decrease real Yes
LF_Alpha real Yes
LF_B real Yes
LF_CountInteger integer Yes
LF_Debug boolean Yes
LF_G real Yes
LF_Lightning lightning Yes
LF_R real Yes
LiquidElementals group No
MA_Chance integer No
MA_Chance2 real No
MA_Nova integervar No
MA_Point location Yes
MA_Real real No
NumHeroAquiringTome integer No
NumHeroesToLoad integer No
NumHeroesToSave integer No
Opening_Cinematic_Is_On boolean No
Orangeinitialatttack group No
Orc_Base_Cinematic_Is_On boolean No
orcbasehiddenunit group No
P1 player No
P2 player No
pb_angle_1 real Yes
pb_angle_2 real Yes
pb_caster unit Yes
pb_caster_loc location Yes
pb_counter real Yes
pb_distance_1 real Yes
pb_distance_2 real Yes
pb_effect_1 unit Yes
pb_effect_2 unit Yes
pb_effect_3 unit Yes
pb_index1 integer No
pb_index2 integer No
pb_index3 integervar No
pb_light_1 lightning Yes
pb_light_2 lightning Yes
pb_loopon boolean Yes
pb_segment_1 location Yes
pb_segment_2 location Yes
pb_segment_3 location Yes
pb_target_loc location Yes
PD_Angle real Yes
PD_Distances real Yes
PD_Integers integer Yes
PD_ReachedDistance real Yes
PD_RealTimer real Yes
PD_SpeedUnits real Yes
PD_TempPoint location Yes
PD_TestGroup group No
PD_TreesDestroy boolean Yes
PD_Unit unit Yes
Pokemon_Cinematic_Is_On boolean No
pokemonhiddenunit group No
potionopenhiddenunit group No
Power_Slam_Ability_Level integer No
Power_Slam_Base_Chance real No
Power_Slam_Caster unit No
Power_Slam_Damage real No
Power_Slam_Damage_Multiplier real No
Power_Slam_Dummy_Ability abilcode No
Power_Slam_Location location No
Power_Slam_Owner player No
Power_Slam_Strength integer No
Power_Slam_Target unit No
Power_Slam_Total_Chance real No
PR_Ability_Level integer No
PR_Atribute integer No
PR_Caster unit No
PR_Caster_Loc location No
PR_Damage real No
PR_Damage_Factor real No
PR_Dummy_Ability abilcode No
PR_Target unit No
PR_Target_Loc location No
PR_Target_Mana real No
QuestionVisionRQ1 questitem No
QuestNecessity quest No
QuestNecessityRQ1 questitem No
QuestNecessityRQ2 questitem No
QuestVision quest No
QuestVisionRQ2 questitem No
QuestVisionRQ3 questitem No
Reflect_Users group No
Returning_to_normal_fly_height group No
revealspellgreen effect No
revealspellpurple effect No
revealspellred effect No
RexxarEnd unit No
RS_Angle real Yes
RS_Boolean boolean Yes
RS_Caster unit Yes
RS_CurDis real Yes
RS_Damage real Yes
RS_Index integer Yes
RS_LevelA integer Yes
RS_Loc location Yes
RS_MaxD real Yes
RS_MaxH real Yes
RS_Player player Yes
RS_Real real Yes
RS_Speed real Yes
RS_Target unit Yes
S_caster unit Yes
S_dummy unit Yes
S_dummypoint location No
S_index1 integer Yes
S_index2 integer No
S_index3 integervar No
S_index_max integer No
S_index_size integer No
S_pause boolean Yes
S_speed real Yes
S_stopduration real Yes
S_stopgroup group Yes
S_targetpoint location No
SandStorm group No
Save integer Yes
SaveCount integer No
SaveLoad_Abilities abilcode Yes
SaveLoad_Abilities_LastIndex integer No
SaveLoad_Alphabet string No
SaveLoad_CaseSensitive boolean No
SaveLoad_Compress integer Yes
SaveLoad_Heroes unitcode Yes
SaveLoad_Heroes_LastIndex integer No
SaveLoad_Initialized boolean No
SaveLoad_Items itemcode Yes
SaveLoad_Items_LastIndex integer No
SaveLoad_Uncompress integer Yes
SaveLoad_UsePlayername boolean No
SaveText string Yes
SD_Caster unit Yes
SD_Damage real Yes
SD_DamageEffect string Yes
SD_Index integer Yes
SD_LightningEffect lightning Yes
SD_MaxDistance real Yes
SD_Off boolean Yes
SD_TargetedUnit unit Yes
SD_Timer real Yes
SD_TimeToDoDamage real Yes
selectorcdie1 group No
selectorcdie2 group No
selectpokemon1 group No
selectpokemon2 group No
selectpotionstart1 group No
selectpotionstart2 group No
Sepharic_Star_Hashtable hashtable No
Sepharic_Star_Speed integer No
SES_Index integer Yes
SES_Off boolean Yes
SES_SpecialEffect effect Yes
SES_Timer real Yes
SF integervar No
SF_AoE real No
SF_Caster unit No
SF_CastNumber integer No
SF_ChainProc integer No
SF_Hero unit Yes
SF_Integer integervar Yes
SF_Loc location Yes
SF_Loc1 location Yes
SF_Off boolean Yes
SF_Real real No
SF_Switch integer No
SF_Time real Yes
Sinister_Strike_Ability_Level integer No
Sinister_Strike_Atribute integer No
Sinister_Strike_Base_Chance real No
Sinister_Strike_Bonus_Armor integer No
Sinister_Strike_Caster unit No
Sinister_Strike_Damage_Factor real No
Sinister_Strike_Dummy_Ability abilcode No
Sinister_Strike_Dummy_Ability2 abilcode No
Sinister_Strike_Location location No
Sinister_Strike_Normal_Armor integer No
Sinister_Strike_Owner player No
Sinister_Strike_Target unit No
Sinister_Strike_Total_Chance real No
Sinister_Strike_Total_Damage real No
SoulripperDead unit No
Soulripperend unit No
Spell__Ability abilcode No
Spell__Caster unit No
Spell__CasterOwner player No
Spell__CastPoint location No
Spell__Channeling boolean No
Spell__Completed boolean No
Spell__DummyOwner player No
Spell__DummyType unitcode No
Spell__Duration real No
Spell__Expired boolean No
Spell__Filter_AllowAlly boolean No
Spell__Filter_AllowDead boolean No
Spell__Filter_AllowEnemy boolean No
Spell__Filter_AllowFlying boolean No
Spell__Filter_AllowHero boolean No
Spell__Filter_AllowLiving boolean No
Spell__Filter_AllowMagicImmune boolean No
Spell__Filter_AllowMechanical boolean No
Spell__Filter_AllowNonHero boolean No
Spell__Filter_AllowStructure boolean No
Spell__Hash hashtable No
Spell__Index integer No
Spell__InRange real No
Spell__InRangeCount integer No
Spell__InRangeGroup group No
Spell__InRangePoint location No
Spell__InRangeUnits unit Yes
Spell__Interval real No
Spell__Level integer No
Spell__LevelMultiplier real No
Spell__Running boolean No
Spell__Target unit No
Spell__TargetGroup group No
Spell__TargetPoint location No
Spell__Time real No
Spell__Trigger_OnCast trigger No
Spell__Trigger_OnChannel trigger No
Spell__Trigger_OnEffect trigger No
Spell__Trigger_OnFinish trigger No
Spell__Trigger_OnLoop trigger No
Spell__UseTargetGroup boolean No
Spell__WakeTargets boolean No
Spell_i_AllowAlly boolean Yes
Spell_i_AllowDead boolean Yes
Spell_i_AllowEnemy boolean Yes
Spell_i_AllowFlying boolean Yes
Spell_i_AllowHero boolean Yes
Spell_i_AllowLiving boolean Yes
Spell_i_AllowMagicImmune boolean Yes
Spell_i_AllowMechanical boolean Yes
Spell_i_AllowNonHero boolean Yes
Spell_i_AllowStructure boolean Yes
Spell_i_Caster unit Yes
Spell_i_Channeling boolean Yes
Spell_i_Completed boolean Yes
Spell_i_Duration real Yes
Spell_i_EventType integer Yes
Spell_i_GroupN integer No
Spell_i_GroupStack group Yes
Spell_i_Head integer Yes
Spell_i_Instances integer No
Spell_i_LastTime real Yes
Spell_i_Level integer Yes
Spell_i_Linked boolean Yes
Spell_i_OnCastStack trigger Yes
Spell_i_OnChannelStack trigger Yes
Spell_i_OnEffectStack trigger Yes
Spell_i_OnFinishStack trigger Yes
Spell_i_OnLoopStack trigger Yes
Spell_i_PreloadDummy unit No
Spell_i_Recycle integer No
Spell_i_RecycleList integer Yes
Spell_i_Stack integer Yes
Spell_i_StackN integer No
Spell_i_StackRef integer Yes
Spell_i_Target unit Yes
Spell_i_TargetGroup group Yes
Spell_i_TargetX real Yes
Spell_i_TargetY real Yes
Spell_i_Time real Yes
Spell_i_Timer timer No
Spell_i_UseTG boolean Yes
SpellLevel integer No
SR_Angle real Yes
SR_Boolean boolean Yes
SR_Caster unit Yes
SR_Duration real Yes
SR_Group group Yes
SR_Index integer Yes
SR_Loc location Yes
SR_Projectile unit Yes
SR_WaitCounter real Yes
ST_Angle real No
ST_Aoe real Yes
ST_AoeBase real No
ST_AoePerLevel real No
ST_BarrierModel string No
ST_BarrierSpaceTaken real No
ST_Core unit Yes
ST_CurrentLightningEffect lightning Yes
ST_DissappearenceSFX string No
ST_DummyType unitcode No
ST_EffectScalingSpawn real No
ST_HealthPenaltyPerSecond real No
ST_Index integervar No
ST_LightningBlue real No
ST_LightningEffect string No
ST_LightningGreen real No
ST_LightningRed real No
ST_LightningZ real No
ST_MaxIndex integer No
ST_OriginalCaster unit Yes
ST_SecondaryIndex integervar No
ST_SpawnSFX string No
ST_SpecialEffect effect Yes
ST_Spell abilcode No
ST_StageID integer Yes
ST_TempGroup group No
ST_TempInteger integer No
ST_TempPoint location No
ST_TempPoint2 location No
ST_TempReal real No
ST_TempUnit unit No
ST_TempUnit2 unit No
ST_TempUnit3 unit No
ST_TempX real No
ST_TempX2 real No
ST_TempY real No
ST_TempY2 real No
ST_TempZ real No
ST_TempZ2 real No
ST_TetherDurationBase real No
ST_TetherDurationPerLevel real No
ST_TetherModel string No
ST_TriggeringHealthPercent real No
ST_UndeadDuration real Yes
ST_UndeadDurationBase real No
ST_UndeadDurationPerLevel real No
ST_UnitIDStorage unit No
ST_UnitIndex unit Yes
ST_UnitTransparency real No
StaffforKhadgar item No
Surging_Pulse_Caster_Loc location No
Surging_Pulse_Formula real No
Surging_Pulse_Location location No
Surging_Pulse_Loop integer No
Surging_Pulse_Loop_Location location No
Surging_Pulse_Owner player No
SystemPoint location Yes
SystemUnitGroup group Yes
TA_BaseChance integer No
TA_BaseDamage real No
TA_ChanceGrowth integer No
TA_DamageGrowth real No
TA_Levels integer No
TA_SFX string No
TA_ThornEffect location No
TA_ThornSpawn location No
TAGARHERO unit No
Target_Dummy unit No
Temp_Group group No
Temp_Group_1 group No
Temp_Group_2 group No
Temp_Lightning lightning No
Temp_Loc_1 location No
Temp_Loc_2 location No
Temp_Loc_3 location No
Temp_Point location No
Temp_Point_2 location No
Temp_Real_1 real No
Temp_Real_2 real No
Temp_Real_3 real No
Temp_Unit_1 unit No
Temp_Unit_2 unit No
Temp_Unit_3 unit No
Temp_Unit_4 unit No
TempDest destructable No
TempGroup group No
TempHandle handle No
TempInteger integer No
TempItem item No
TempItemType itemcode No
TempLoc location No
TempPoint location No
TempPoint2 location No
TempPoint3 location No
temppointnature location No
tempSESSpecialEffect effect No
tempSESTimer real No
TempUnit unit No
TempUnit2 unit No
TextFileName string No
Thorn_Dummy unit No
TK_AttackType attacktype No
TK_DamageType damagetype No
TK_FlyingUnits group No
TK_FSpeed real Yes
TK_HDmgInPercIncreasement real No
TK_HDmgInPercStart real No
TK_Hero unit Yes
TK_ImpactDmgIncreasement real No
TK_ImpactDmgStart real No
TK_ImpactSFX string No
TK_Integers integer Yes
TK_Interval real Yes
TK_Level integer Yes
TK_LiftSFX string No
TK_LiftSFXTimer real No
TK_LsfxT real Yes
TK_MaxHeight real Yes
TK_MaxHeightIncreasement real No
TK_MaxHeightStart real No
TK_MinHeightIncreasement real No
TK_MinHeightStart real No
TK_Pause boolean No
TK_Speed real No
TK_SpeedVariationPerc real No
TK_SpellAoEIncreasement real No
TK_SpellAoEStart real No
TK_StartSFX string No
TK_TempPoint location Yes
TK_Unit unit Yes
TK_UnitGroup group No
TomeAgility integer Yes
TomeHealth integer Yes
TomeIntelligence integer Yes
TomeStrength integer Yes
TP_A_down_height_min real No
TP_A_infinity_longs boolean Yes
TP_A_Only_Top boolean No
TP_A_Only_Top_ex boolean Yes
TP_A_Pan_Camera boolean No
TP_A_Pan_Camera_ex boolean Yes
TP_A_Pan_Camera_Time real No
TP_A_Pan_Camera_Time_ex real Yes
TP_A_player player No
TP_A_point_create location No
TP_A_point_destination location No
TP_A_size real No
TP_A_time_before_created real No
TP_A_time_closing real No
TP_A_time_life real No
TP_A_time_opening real No
TP_A_top_height_max real No
TP_A_top_height_min real No
TP_A_two_directions boolean No
TP_accelerate real No
TP_accelerate_ex real Yes
TP_angle real No
TP_angle_ex real Yes
TP_distance real No
TP_distance_current real Yes
TP_distance_max real Yes
TP_DOWN_1_effect effect Yes
TP_DOWN_2_effect effect Yes
TP_down_height_min_ex real Yes
TP_dummy_down_model string No
TP_dummy_down_model_ex string Yes
TP_dummy_down_size real No
TP_dummy_down_size_ex real Yes
TP_dummy_top_model string No
TP_dummy_top_model_ex string Yes
TP_dummy_top_size real No
TP_dummy_top_size_ex real Yes
TP_dummy_type unitcode No
TP_E_eff_constant string No
TP_E_eff_constant_ex effect Yes
TP_E_eff_constant_ex2 effect Yes
TP_E_eff_create_finish string No
TP_E_eff_create_finish_ex string Yes
TP_E_eff_create_start string No
TP_E_eff_create_start_ex string Yes
TP_E_eff_dissapear_finish string No
TP_E_eff_dissapear_finish_ex string Yes
TP_E_eff_dissapear_start string No
TP_E_eff_dissapear_start_ex string Yes
TP_E_eff_unit_move string No
TP_E_eff_unit_move2 string No
TP_E_eff_unit_move2_ex string Yes
TP_E_eff_unit_move_ex string Yes
TP_fly_height real No
TP_fly_heights real Yes
TP_get_X real Yes
TP_get_Y real Yes
TP_Go_go_missile boolean No
TP_Go_go_missile_ex boolean Yes
TP_go_X real Yes
TP_go_Y real Yes
TP_i integer Yes
TP_i_last integer No
TP_index integer No
TP_life_timer_is_expired boolean Yes
TP_loop_interval real No
TP_Max_Size integer No
TP_missile unit Yes
TP_missile_eff effect Yes
TP_missile_gfx string No
TP_missile_gfx_ex string Yes
TP_missile_scale real No
TP_missile_scale_ex real Yes
TP_move_units_now boolean Yes
TP_move_units_now_2 boolean Yes
TP_Movement_type integer No
TP_player_ex player Yes
TP_point_temp location No
TP_point_temp2 location No
TP_portal_created_ex boolean Yes
TP_Potral_Index integer Yes
TP_Potral_Number integer Yes
TP_real real No
TP_Recently_Teleported group No
TP_Recently_Teleported_time real Yes
TP_seconds_to_reach real No
TP_size_ex real Yes
TP_slow_time_factor real No
TP_slow_time_factor_ex real Yes
TP_slow_time_finished_ex boolean Yes
TP_slow_time_place real No
TP_slow_time_place_ex real Yes
TP_slow_time_started_ex boolean Yes
TP_slow_time_width real No
TP_slow_time_width_ex real Yes
TP_speed real No
TP_speed_ex real Yes
TP_speed_up real No
TP_t_activated boolean Yes
TP_t_activated_2 boolean Yes
TP_t_down unit Yes
TP_t_down2 unit Yes
TP_t_is_busy1 boolean Yes
TP_t_is_busy2 boolean Yes
TP_t_top unit Yes
TP_t_top2 unit Yes
TP_t_unbusy1 boolean Yes
TP_t_unbusy2 boolean Yes
TP_t_unbusy_timer1 real Yes
TP_t_unbusy_timer2 real Yes
TP_teleported_unit unit Yes
TP_TEMP_LOOP integer No
TP_TEMP_POINT_0 location No
TP_TEMP_POINT_1 location No
TP_TEMP_POINT_2 location No
TP_this_is_not_portal boolean Yes
TP_time_before_create_ex real Yes
TP_time_closing_ex real Yes
TP_time_life_ex real Yes
TP_time_opening_ex real Yes
TP_time_to_move real Yes
TP_time_to_move_2 real Yes
TP_TOP_1_effect effect Yes
TP_TOP_2_effect effect Yes
TP_top_height_max_ex real Yes
TP_top_height_min_ex real Yes
TP_Transparecy_down real No
TP_Transparecy_down_ex real Yes
TP_Transparecy_top real No
TP_Transparecy_top_ex real Yes
TP_turn_on boolean Yes
TP_turn_on_2 boolean Yes
TP_two_directions_ex boolean Yes
TP_x1 real Yes
TP_x2 real Yes
TP_y1 real Yes
TP_y2 real Yes
TURAHERO unit No
UC_Counter integer Yes
UC_Groups group Yes
UC_Inv boolean Yes
UC_SETTINGS_AreaOfEffect real Yes
UC_SETTINGS_Collosion boolean No
UC_SETTINGS_DestroyTrees_Dash boolean No
UC_SETTINGS_Invulnerable boolean No
UC_SETTINGS_Speed real No
UC_Target unit No
UC_TempPoint location Yes
UDex integer No
UDexGen integer No
UDexNext integer Yes
UDexPrev integer Yes
UDexRecycle integer No
UDexUnits unit Yes
UDexWasted integer No
UnitIndexerEnabled boolean No
UnitIndexEvent real No
UnitsHidden boolean No
Validate boolean No
Vision_Cinematic_Is_On boolean No
visionhiddenunit group No
VL_Ability abilcode No
VL_AbilityCurse abilcode No
VL_AbilityHeal abilcode No
VL_AoE real Yes
VL_Buff buffcode No
VL_C_Amount integer No
VL_C_Even real No
VL_C_GrowRate real Yes
VL_C_GrowTime real No
VL_C_MoveRate real Yes
VL_C_SFX string No
VL_C_Speed real No
VL_CurrentAoE real Yes
VL_Debuff buffcode No
VL_Degree real No
VL_DummyCaster unit No
VL_Duration real Yes
VL_L lightning Yes
VL_L_Amount integer No
VL_L_CheckSFX boolean Yes
VL_L_Counter real Yes
VL_L_Direction real No
VL_L_Distance real No
VL_L_Duration real No
VL_L_Height real No
VL_L_ID integer No
VL_L_SFX lightningtype No
VL_L_SFX_EndPoint string No
VL_MaxLevel integer No
VL_SFX string No
VL_TempInt integervar No
VL_TempLoc location No
VL_TempReal real No
VL_TempUnit unit No
WaterWaves group No
WhirlPools group No
WoS_Angle real Yes
WoS_AttackEffect string Yes
WoS_AttackRange real Yes
WoS_AttackTimer real Yes
WoS_Caster unit Yes
WoS_Damage real Yes
WoS_Index integer Yes
WoS_MaxSpeed real Yes
WoS_Off boolean Yes
WoS_OnAttackSpeedDecrease real Yes
WoS_ShadowEffect string Yes
WoS_ShadowEffectCreatingDelay real Yes
WoS_ShadowEffectDuration real Yes
WoS_ShadowEffectTimer real Yes
WoS_Speed real Yes
WoS_SpeedIncreasement real Yes
WoS_SpellDuration real Yes
WoS_TargetedUnit unit Yes
WS integervar No
WS_Angle real Yes
WS_Caster unit Yes
WS_CastNumber integer No
WS_Chance integer No
WS_Distance real Yes
WS_Dummie unit Yes
WS_Effect1 unit Yes
WS_Effect2 unit Yes
WS_Effect3 unit Yes
WS_Off boolean Yes
WS_Point location Yes
WS_Speed real Yes
WS_Switch integer No
zzTestReal real No
ZZZZredandpurple force No
Intial
  Events
    Map initialization
  Conditions
  Actions
    Trigger - Run Research_Alliance <gen> (checking conditions)
    Trigger - Run Environment <gen> (checking conditions)
    -------- Variables --------
    Player Group - Add Player 2 (Blue) to ZZZZredandpurple
    Player Group - Add Player 3 (Teal) to ZZZZredandpurple
    Player Group - Add Player 1 (Red) to EnemyTeams
    Player Group - Add Player 4 (Purple) to EnemyTeams
    Player Group - Add Player 5 (Yellow) to EnemyTeams
    Player Group - Add Player 7 (Green) to EnemyTeams
    Player Group - Add Player 9 (Gray) to EnemyTeams
    Player Group - Add Player 12 (Brown) to EnemyTeams
    Set VariableSet TURAHERO = High Commander 0258 <gen>
    Set VariableSet KHADGARHERO = Lord Wizard 0260 <gen>
    -------- Quests --------
    -------- Vision --------
    Quest - Create a Required quest titled Out of Sight with the description The alliance's forces have begun to push out of Nethergarde keep and take the offensive. However, with the main horde forces keeping low profile, it has been hard to ascertain exactly where the enemy is located and and their state of strength. Khadgar can reveal the horde's position through an abandoned sanctum, but he will need time to defeat its guardian., using icon path ReplaceableTextures\CommandButtons\BTNFarSight.blp
    Set VariableSet QuestVision = (Last created quest)
    Quest - Create a quest requirement for QuestVision with the description Destroy the golem guarding the sanctum
    Set VariableSet QuestionVisionRQ1 = (Last created quest requirement)
    Quest - Create a quest requirement for QuestVision with the description Pink's bulwark must not be destroyed
    Set VariableSet QuestVisionRQ2 = (Last created quest requirement)
    Quest - Create a quest requirement for QuestVision with the description Your main hall building must not be destroyed (blue)
    Set VariableSet QuestVisionRQ3 = (Last created quest requirement)
    Quest - Create a Required, undiscovered quest titled Alliance of Necessity with the description The bandit leader has agreed to temporarily push back against the horde's forces. Destroy their bases and eliminate their leaders., using icon path ReplaceableTextures\CommandButtons\BTNVillagerMan.blp
    Set VariableSet QuestNecessity = (Last created quest)
    Quest - Create a quest requirement for QuestNecessity with the description Destroy the horde's bases and slay their leaders
    Set VariableSet QuestNecessityRQ1 = (Last created quest requirement)
    Quest - Create a quest requirement for QuestNecessity with the description All heroes must survive
    Set VariableSet QuestNecessityRQ2 = (Last created quest requirement)
    -------- HEROES --------
    Hero - Learn skill for Blademaster 0251 <gen>: Agile
    Hero - Learn skill for Blademaster 0251 <gen>: Agile
    Hero - Learn skill for Blademaster 0251 <gen>: Agile
    Hero - Learn skill for Blademaster 0251 <gen>: Wind Storm
    Hero - Learn skill for Blademaster 0251 <gen>: Wind Storm
    Hero - Learn skill for Mok'Nathal Warrior 0249 <gen>: Earth Fury
    Hero - Learn skill for Mok'Nathal Warrior 0249 <gen>: Earth Fury
    Hero - Learn skill for Mok'Nathal Warrior 0249 <gen>: Earth Fury
    Hero - Learn skill for Mok'Nathal Warrior 0249 <gen>: Combat Urgency
    Hero - Learn skill for Mok'Nathal Warrior 0249 <gen>: Combat Urgency
    Hero - Learn skill for Alliance Lieutenant 0048 <gen>: Storming Flame (Fire)
    Hero - Learn skill for Alliance Lieutenant 0048 <gen>: Storming Flame (Fire)
    Hero - Learn skill for Alliance Lieutenant 0048 <gen>: Storming Flame (Fire)
    Hero - Learn skill for Alliance Lieutenant 0048 <gen>: Battle Focus
    Hero - Learn skill for Alliance Lieutenant 0048 <gen>: Battle Focus
    Hero - Learn skill for Gryphon Rider 0121 <gen>: Lightning Field
    Hero - Learn skill for Gryphon Rider 0121 <gen>: Lightning Field
    Hero - Learn skill for Gryphon Rider 0121 <gen>: Lightning Field
    Hero - Learn skill for Gryphon Rider 0121 <gen>: Energizing Presence
    Hero - Learn skill for Gryphon Rider 0121 <gen>: Energizing Presence
    -------- Invul --------
    Unit - Make Alternate Altar of Unity 0149 <gen> Invulnerable
    Unit - Make Khadgar's Healing Ward 0069 <gen> Invulnerable
    Unit - Make Charmander 0503 <gen> Invulnerable
    Unit - Make Squirtle 0504 <gen> Invulnerable
    Unit - Make Bulbasaur 0502 <gen> Invulnerable
    Unit - Make Gold Coin Receiver 0096 <gen> Invulnerable
    Unit - Make Teleportation Point 0536 <gen> Invulnerable
    -------- Hero XP --------
    Hero - Disable experience gain for Alliance Lieutenant 0048 <gen>.
    Hero - Disable experience gain for Gryphon Rider 0121 <gen>.
    Hero - Disable experience gain for Pyromancer 0404 <gen>.
    Hero - Disable experience gain for Rogue Scientist 0052 <gen>.
    Hero - Disable experience gain for Blademaster 0251 <gen>.
    Hero - Disable experience gain for Mok'Nathal Warrior 0249 <gen>.
    Hero - Disable experience gain for Pyromancer 0065 <gen>.
    Hero - Disable experience gain for Rogue Scientist 0018 <gen>.
    Hero - Disable experience gain for High Commander 0409 <gen>.
    Hero - Make Player 2 (Blue) Heroes gain 34.00% experience from future kills
    Hero - Make Player 3 (Teal) Heroes gain 34.00% experience from future kills
    -------- Item Staff Khadgar --------
    Hero - Create Enhanced Staff of Teleportation and give it to KHADGARHERO
    Set VariableSet StaffforKhadgar = (Last created item)
    Item - Make StaffforKhadgar Undroppable
    -------- Add orange to group --------
    Unit Group - Pick every unit in (Units in orange_left_side <gen>) and do (Add (Picked unit) to Orangeinitialatttack)
    Unit Group - Pick every unit in (Units in orange_bottom <gen>) and do (Add (Picked unit) to Orangeinitialatttack)
    -------- Pokemon Invul --------
    Unit Group - Pick every unit in (Units in pokemon_invulnerable <gen>) and do (Make (Picked unit) Invulnerable)
    Unit Group - Pick every unit in (Units in house_zone <gen>) and do (Make (Picked unit) Invulnerable)
Environment
  Events
  Conditions
  Actions
    Environment - Create at (Playable map area) the weather effect Lordaeron Rain (Light)
    Environment - Turn (Last created weather effect) On
    Environment - Set sky to Felwood Sky
    Environment - Reset fog to default values
    Environment - Set fog to style Linear, z-start 1000, z-end 8000, density 0 and color (0.00%, 50.00%, 50.00%)
    Environment - Change water tinting color to (100%, 0.00%, 0.00%) with 0% transparency
    Game - Set the time of day to 24.00
    Game - Set time of day speed to 0.00% of the default speed
Research Alliance
  Events
  Conditions
  Actions
    -------- gold lumber start --------
    Player - Set Player 2 (Blue).Current gold to 670
    Player - Set Player 2 (Blue).Current lumber to 160
    Player - Set Player 8 (Pink).Current gold to 4000
    Player - Set Player 8 (Pink).Current lumber to 4000
    Player - Set Player 10 (Light Blue).Current gold to 2000
    Player - Set Player 10 (Light Blue).Current lumber to 4000
    -------- Research --------
    Player - Set the max research level of R00U (techcode) to 0 for Player 2 (Blue)
    -------- Alliances --------
    -------- Yellow to Horde --------
    Player - Make Player 5 (Yellow) treat Player 1 (Red) as an Neutral
    Player - Make Player 5 (Yellow) treat Player 4 (Purple) as an Neutral
    Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Neutral
    Player - Make Player 5 (Yellow) treat Player 7 (Green) as an Neutral
    Player - Make Player 5 (Yellow) treat Player 11 (Dark Green) as an Neutral
    -------- Grey/Brown To Dark Green --------
    Player - Make Player 9 (Gray) treat Player 11 (Dark Green) as an Neutral
    Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Neutral
    -------- Change colour --------
    Player - Change color of Player 9 (Gray) to Dark Green, Changing color of existing units
    Unit Group - Pick every unit in (Units in short_cut_dg_buildings <gen>) and do (Change color of (Picked unit) to Dark Green)
    -------- Limit training/construction --------
    Neutral Building - Remove Potion of Healing from all marketplaces
    Player - Make Alternate Altar of Unity Unavailable for training/construction by Player 2 (Blue)
    Player - Make Alternate Altar of Unity Unavailable for training/construction by Player 10 (Light Blue)
    Player - Make Industrial Center Unavailable for training/construction by Player 2 (Blue)
    Player - Make Industrial Center Unavailable for training/construction by Player 10 (Light Blue)
    -------- Upgrades --------
    -------- Fel Orc --------
    Player - Set the current research level of R01N (techcode) to 3 for Player 6 (Orange)
    Player - Set the current research level of R006 (techcode) to 3 for Player 6 (Orange)
    Player - Set the current research level of R005 (techcode) to 3 for Player 6 (Orange)
    -------- Bandit --------
    Player - Set the current research level of R000 (techcode) to 2 for Player 5 (Yellow)
    Player - Set the current research level of R001 (techcode) to 2 for Player 5 (Yellow)
    Player - Set the current research level of R003 (techcode) to 2 for Player 5 (Yellow)
    Player - Set the current research level of R002 (techcode) to 2 for Player 5 (Yellow)
    Player - Set the current research level of R000 (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of R001 (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of R003 (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of R002 (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of R000 (techcode) to 3 for Player 9 (Gray)
    Player - Set the current research level of R001 (techcode) to 3 for Player 9 (Gray)
    Player - Set the current research level of R003 (techcode) to 3 for Player 9 (Gray)
    Player - Set the current research level of R002 (techcode) to 3 for Player 9 (Gray)
    -------- Human Allies --------
    Player - Set the current research level of R00X (techcode) to 3 for Player 8 (Pink)
    Player - Set the current research level of R00Y (techcode) to 3 for Player 8 (Pink)
    Player - Set the current research level of R00Z (techcode) to 3 for Player 8 (Pink)
    Player - Set the current research level of R010 (techcode) to 3 for Player 8 (Pink)
    Player - Set the current research level of R00I (techcode) to 2 for Player 8 (Pink)
    Player - Set the current research level of R00O (techcode) to 2 for Player 8 (Pink)
    Player - Set the current research level of R000 (techcode) to 3 for Player 11 (Dark Green)
    Player - Set the current research level of R001 (techcode) to 3 for Player 11 (Dark Green)
    Player - Set the current research level of R003 (techcode) to 3 for Player 11 (Dark Green)
    Player - Set the current research level of R002 (techcode) to 3 for Player 11 (Dark Green)
    -------- Horde --------
    Player - Set the current research level of R004 (techcode) to 3 for Player 1 (Red)
    Player - Set the current research level of R01K (techcode) to 3 for Player 1 (Red)
    Player - Set the current research level of R01L (techcode) to 3 for Player 1 (Red)
    Player - Set the current research level of R01M (techcode) to 3 for Player 1 (Red)
    Player - Set the current research level of R01E (techcode) to 1 for Player 1 (Red)
    Player - Set the current research level of R00R (techcode) to 1 for Player 1 (Red)
    Player - Set the current research level of R01I (techcode) to 2 for Player 4 (Purple)
    Player - Set the current research level of R01C (techcode) to 2 for Player 4 (Purple)
    Player - Set the current research level of R004 (techcode) to 3 for Player 4 (Purple)
    Player - Set the current research level of R01K (techcode) to 3 for Player 4 (Purple)
    Player - Set the current research level of R01L (techcode) to 3 for Player 4 (Purple)
    Player - Set the current research level of R01M (techcode) to 3 for Player 4 (Purple)
    Player - Set the current research level of R007 (techcode) to 3 for Player 7 (Green)
    Player - Set the current research level of R008 (techcode) to 3 for Player 7 (Green)
    Player - Set the current research level of R009 (techcode) to 3 for Player 7 (Green)
    Player - Set the current research level of R00A (techcode) to 3 for Player 7 (Green)
Easy Mode
  Events
    Player - Player 2 (Blue) types a chat message containing -Easy (stringnoformat) as An exact match
  Conditions
    HeroLoadedornew Equal to True
    Dfficultychosen Equal to False
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Player - Set Player 5 (Yellow) handicap to 33.00%
    Player - Set Player 9 (Gray) handicap to 33.00%
    Player - Set Player 12 (Brown) handicap to 33.00%
    Player - Set Player 1 (Red) handicap to 33.00%
    Player - Set Player 4 (Purple) handicap to 33.00%
    Player - Set Player 6 (Orange) handicap to 33.00%
    Player - Set Player 7 (Green) handicap to 33.00%
    Player - Set Player 11 (Dark Green) handicap to 33.00%
    Set VariableSet Dfficultychosen = True
    Trigger - Run Start_The_Game <gen> (checking conditions)
Normal Mode
  Events
    Player - Player 2 (Blue) types a chat message containing -Normal (stringnoformat) as An exact match
  Conditions
    HeroLoadedornew Equal to True
    Dfficultychosen Equal to False
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Player - Set Player 5 (Yellow) handicap to 45.00%
    Player - Set Player 9 (Gray) handicap to 45.00%
    Player - Set Player 12 (Brown) handicap to 45.00%
    Player - Set Player 1 (Red) handicap to 66.00%
    Player - Set Player 4 (Purple) handicap to 66.00%
    Player - Set Player 6 (Orange) handicap to 66.00%
    Player - Set Player 7 (Green) handicap to 66.00%
    Player - Set Player 11 (Dark Green) handicap to 66.00%
    Set VariableSet Dfficultychosen = True
    Trigger - Run Start_The_Game <gen> (checking conditions)
Insane Mode
  Events
    Player - Player 2 (Blue) types a chat message containing -Insane (stringnoformat) as An exact match
  Conditions
    HeroLoadedornew Equal to True
    Dfficultychosen Equal to False
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Player - Set Player 5 (Yellow) handicap to 66.00%
    Player - Set Player 9 (Gray) handicap to 66.00%
    Player - Set Player 12 (Brown) handicap to 66.00%
    Set VariableSet Dfficultychosen = True
    Set VariableSet Insanemodeactivated = True
    Trigger - Run Start_The_Game <gen> (checking conditions)
Difficulty
  Events
  Conditions
  Actions
    Wait 4.00 seconds
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 30.00 seconds the text: You can now select a difficulty. Type -insane, -normal, or -easy depending on your preferences.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: The game is designed for insane mode, that is, to be very challenging. Normal mode and easy mode are included so people do not need to cheat in order to win, but keep in mind the difficulty changes could produce unexpected bugs.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: Legendary items are only available on insane mode.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: The game is designed to be played by two players.
    Game - Display to (All players) for 30.00 seconds the text:
    Set VariableSet HeroLoadedornew = True
AI ally or not
  Events
  Conditions
  Actions
    Unit - Pause all units
    Wait 4.00 seconds
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 30.00 seconds the text: This is the first mission where you can choose to have an ally team be AI controlled or for both human players to have control of that team.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: This is intended to allow the 2nd player to have control of a base if he/she wishes (though control is shared to both players).
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: If you intend on playing this mission on insane difficulty, it is advised you choose to manually control the team (light blue), as the AI intelligence can never compete with skilled players.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: Type -Computer for light blue to be computer controlled, or type -Human to control light blue yourself/yourselves.
    Game - Display to (All players) for 30.00 seconds the text:
    Set VariableSet AIorNot = True
Choose Control
  Events
    Player - Player 2 (Blue) types a chat message containing -Human (stringnoformat) as An exact match
  Conditions
    AIorNot Equal to True
  Actions
    Game - Grant shared vision and full shared unit control of Player 10 (Light Blue) units with his/her allies
    Set VariableSet AIorNot = False
    Trigger - Run Difficulty <gen> (checking conditions)
Choose AI
  Events
    Player - Player 2 (Blue) types a chat message containing -Computer (stringnoformat) as An exact match
  Conditions
    AIorNot Equal to True
  Actions
    Set VariableSet AIorNot = False
    Set VariableSet ChooseComputer = True
    Trigger - Run Difficulty <gen> (checking conditions)
Tura Lock level
  Events
    Unit - A unit owned by Player 2 (Blue).Gains a level
  Conditions
    (Hero level of (Leveling Hero)) Equal to 4
    (Unit-type of (Leveling Hero)) Equal to High Commander
  Actions
    Hero - Disable experience gain for (Leveling Hero).
Khad Lock level
  Events
    Unit - A unit owned by Player 3 (Teal).Gains a level
  Conditions
    (Hero level of (Leveling Hero)) Equal to 4
    (Unit-type of (Leveling Hero)) Equal to Lord Wizard
  Actions
    Hero - Disable experience gain for (Leveling Hero).
prevent high
  Events
    Unit - A unit Gains a level
  Conditions
    (Hero level of (Leveling Hero)) Equal to 5
  Actions
    Hero - Set (Leveling Hero) Hero-level to 4, Hide level-up graphics
    Hero - Disable experience gain for (Leveling Hero).
Music Elwyn INITIAL
  Events
    Time - Elapsed game time is 0.01 seconds
  Conditions
  Actions
    Sound - Clear the music list
    Sound - Stop music After fading
    Sound - Play 14_Elwynn_Forest <gen>
Music Elwyn trigger
  Events
    Time - Every 177.00 seconds of game time
  Conditions
  Actions
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 1.00 seconds
    Sound - Play 14_Elwynn_Forest <gen>
Music Khalakr trigger
  Events
    Time - Every 141.00 seconds of game time
  Conditions
  Actions
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 1.00 seconds
    Sound - Play 11_The_Kalu_ak <gen>
Music Pokemon trigger
  Events
    Time - Every 193.00 seconds of game time
  Conditions
  Actions
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 1.00 seconds
    Sound - Play pokemon_theme_song <gen>
Sewer enter diag
  Events
  Conditions
  Actions
    Trigger - Turn off Music_Duskwood_trigger <gen>
    Sound - Clear the music list
    Sound - Stop music After fading
    Sound - Play 25_Ruins <gen>
    Trigger - Turn on Music_Sewer_trigger <gen>
Copy and Paste Custom Script Code into each map in order for the triggers to work (click on the map name up the top and copy/paste)
Set Variables
  Events
  Conditions
  Actions
    Set VariableSet InitTrigger = AI_ally_or_not <gen>
    Set VariableSet TextFileName = BDP14
    -------- Save --------
    Set VariableSet HeroToSave[1] = KHADGARHERO
    Set VariableSet HeroToSave[2] = TURAHERO
    Set VariableSet NumHeroesToSave = 2
    -------- Load --------
    Set VariableSet HeroToLoad[1] = KHADGARHERO
    Set VariableSet HeroToLoad[2] = TURAHERO
    Set VariableSet NumHeroesToLoad = 2
    -------- Set Players --------
    Set VariableSet P1 = Player 3 (Teal)
    Set VariableSet P2 = Player 2 (Blue)
Hero abilities to be saved
Set Hero Abilities
  Events
  Conditions
  Actions
    -------- Hero 1 Abilities --------
    Set VariableSet HeroFirstAbility[1] = Phantom Bolt
    Set VariableSet HeroSecondAbility[1] = Star
    Set VariableSet HeroThirdAbility[1] = Telekinesis (GUI)
    Set VariableSet HeroFourthAbility[1] = Arcane Resort
    Set VariableSet HeroFifthAbility[1] = Astro Storm
    -------- Hero 2 Abilities --------
    Set VariableSet HeroFirstAbility[2] = Holy Blessing
    Set VariableSet HeroSecondAbility[2] = Hammer of Truth
    Set VariableSet HeroThirdAbility[2] = Volatile Light
    Set VariableSet HeroFourthAbility[2] = Song of Angels
    Set VariableSet HeroFifthAbility[2] = Heaven's Justice
This may cause problems if two heroes have the same ability
Load Hero Abilities
  Events
  Conditions
  Actions
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Phantom Bolt
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Holy Blessing
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Star
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Hammer of Truth
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Telekinesis (GUI)
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Volatile Light
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Arcane Resort
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Song of Angels
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Astro Storm
        Hero - Learn skill for HeroToLoad[currentHerotoLoad]: Heaven's Justice
"Save and End Game" is to be run when map is won
Save Heroes
  Events
  Conditions
  Actions
    Set VariableSet currentHerotoSave = (currentHerotoSave + 1)
    -------- Generate Password --------
    Set VariableSet SaveCount = 1
    Unit Group - Pick every unit in (Units of type (Unit-type of HeroToSave[currentHerotoSave])) and do (Actions)
      Loop - Actions
        -------- Hero Level --------
        Set VariableSet Save[SaveCount] = (Hero level of HeroToSave[currentHerotoSave])
        -------- How many items does he carry --------
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = (Number of items carried by (Picked unit))
        -------- Add all items --------
        For each (Integer A) from 1 to 6, do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                ((Item carried by (Picked unit) in slot (Integer A)) is owned) Equal to True
              Then - Actions
                -------- The actual item --------
                Set VariableSet SaveCount = (SaveCount + 1)
                Set VariableSet TempItem = (Item carried by (Picked unit) in slot (Integer A))
                Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Item2Integer( udg_TempItem )
              Else - Actions
        -------- Hero Stats (Tome Count) --------
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = TomeStrength[currentHerotoSave]
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = TomeAgility[currentHerotoSave]
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = TomeIntelligence[currentHerotoSave]
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = TomeHealth[currentHerotoSave]
        -------- Hero Abilities --------
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = (Level of HeroFirstAbility[currentHerotoSave] for HeroToSave[currentHerotoSave])
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = (Level of HeroSecondAbility[currentHerotoSave] for HeroToSave[currentHerotoSave])
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = (Level of HeroThirdAbility[currentHerotoSave] for HeroToSave[currentHerotoSave])
        Set VariableSet SaveCount = (SaveCount + 1)
        Set VariableSet Save[SaveCount] = (Level of HeroFourthAbility[currentHerotoSave] for HeroToSave[currentHerotoSave])
    -------- Turn values into code --------
    Custom script: set udg_Code = SaveLoad_Encode()
    Set VariableSet SaveText[currentHerotoSave] = (-load + Code)
    -------- Save Hero Code to Text File --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        currentHerotoSave Equal to NumHeroesToSave
      Then - Actions
        Custom script: call CreateTextFile(udg_Code)
      Else - Actions
Load Heroes
  Events
    Player - Player 1 (Red) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 2 (Blue) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 3 (Teal) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 4 (Purple) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 5 (Yellow) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 6 (Orange) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 7 (Green) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 8 (Pink) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 9 (Gray) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 10 (Light Blue) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 11 (Dark Green) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 12 (Brown) types a chat message containing -load (stringnoformat) as A substring
    Player - Player 1 (Red) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 9 (Gray) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 10 (Light Blue) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 11 (Dark Green) types a chat message containing -new (stringnoformat) as An exact match
    Player - Player 12 (Brown) types a chat message containing -new (stringnoformat) as An exact match
  Conditions
  Actions
    -------- NEW HERO --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Entered chat string) Equal to -new
      Then - Actions
        Trigger - Turn off (This trigger)
        Wait 0.10 seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            currentHerotoLoad Less than NumHeroesToLoad
          Then - Actions
            Set VariableSet currentHerotoLoad = (currentHerotoLoad + 1)
            Quest - Display to (All players) the Hint message: (Type -load CODE to load + ((Proper name of HeroToLoad[currentHerotoLoad]) + , or -new if you don't have a code))
            Trigger - Turn on (This trigger)
            Skip remaining actions
          Else - Actions
            Trigger - Turn off (This trigger)
            Wait 3.00 seconds
            Unit - Unpause all units
            Trigger - Run InitTrigger (checking conditions)
            Skip remaining actions
      Else - Actions
    -------- VALIDATE CODE --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Substring((Entered chat string), 1, 6)) Equal to (Matched chat string)
        (Length of (Entered chat string)) Greater than 6
      Then - Actions
        -------- Try to decode what was typed --------
        Set VariableSet Code = (Substring((Entered chat string), 7, (Length of (Entered chat string))))
        Custom script: set udg_Validate = SaveLoad_Decode( udg_Code )
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Validate Equal to False
          Then - Actions
            -------- Invalid code --------
            Game - Display to (All players) the text: Code INVALID
            Skip remaining actions
          Else - Actions
      Else - Actions
        Game - Display to (All players) the text: Code INVALID
        Skip remaining actions
    -------- LOAD HERO --------
    Trigger - Turn off (This trigger)
    Unit - Unpause all units
    Set VariableSet TempUnit = HeroToLoad[currentHerotoLoad]
    -------- Hero Level --------
    Set VariableSet SaveCount = 1
    Quest - Display to (All players) the Quest Update message: (String(Save[SaveCount]))
    Hero - Set HeroToLoad[currentHerotoLoad] Hero-level to Save[SaveCount], Hide level-up graphics
    Set VariableSet SaveCount = (SaveCount + 1)
    -------- ----------------- --------
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Set VariableSet SaveCount = (SaveCount + 1)
        Custom script: set udg_TempItemType = SaveLoad_Integer2Item(udg_Save[udg_SaveCount])
        Hero - Create TempItemType and give it to HeroToLoad[currentHerotoLoad]
    -------- Hero Stats (Tome Count) --------
    -------- Tome of Strength --------
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Create Tome of Strength and give it to HeroToLoad[currentHerotoLoad]
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of HeroToLoad[currentHerotoLoad]) Equal to (Unit-type of HeroToSave[currentHerotoLoad])
      Then - Actions
        Set VariableSet TomeStrength[currentHerotoLoad] = Save[SaveCount]
      Else - Actions
    -------- Tome of Agility --------
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Create Tome of Agility and give it to HeroToLoad[currentHerotoLoad]
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of HeroToLoad[currentHerotoLoad]) Equal to (Unit-type of HeroToSave[currentHerotoLoad])
      Then - Actions
        Set VariableSet TomeAgility[currentHerotoLoad] = Save[SaveCount]
      Else - Actions
    -------- Tome of Intelligence --------
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Create Tome of Intelligence and give it to HeroToLoad[currentHerotoLoad]
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of HeroToLoad[currentHerotoLoad]) Equal to (Unit-type of HeroToSave[currentHerotoLoad])
      Then - Actions
        Set VariableSet TomeIntelligence[currentHerotoLoad] = Save[SaveCount]
      Else - Actions
    -------- Manual of Health --------
    Set VariableSet SaveCount = (SaveCount + 1)
    For each (Integer A) from 1 to Save[SaveCount], do (Actions)
      Loop - Actions
        Hero - Create Manual of Health and give it to HeroToLoad[currentHerotoLoad]
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of HeroToLoad[currentHerotoLoad]) Equal to (Unit-type of HeroToSave[currentHerotoLoad])
      Then - Actions
        Set VariableSet TomeHealth[currentHerotoLoad] = Save[SaveCount]
      Else - Actions
    -------- ------- --------
    -------- ------- --------
    -------- Load Hero Abilities --------
    -------- ------- --------
    -------- ------- --------
    Trigger - Run Load_Hero_Abilities <gen> (checking conditions)
    Wait 0.10 seconds
    -------- ------------------ --------
    -------- ------- --------
    -------- ------- --------
    -------- ------- --------
    -------- ------- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        currentHerotoLoad Less than NumHeroesToLoad
      Then - Actions
        Unit - Pause all units
        Wait 0.10 seconds
        Set VariableSet currentHerotoLoad = (currentHerotoLoad + 1)
        Quest - Display to (All players) the Hint message: (Type -load CODE to load + ((Proper name of HeroToLoad[currentHerotoLoad]) + , or -new if you don't have a code))
        Trigger - Turn on (This trigger)
      Else - Actions
        Trigger - Run InitTrigger (checking conditions)
Initialize Game
  Events
    Map initialization
  Conditions
  Actions
    Trigger - Run Set_Variables <gen> (checking conditions)
    Trigger - Run Set_Hero_Abilities <gen> (checking conditions)
    -------- Init Variables --------
    Set VariableSet HeroToSaveName[1] = (Proper name of HeroToSave[1])
    Set VariableSet HeroToSaveName[2] = (Proper name of HeroToSave[2])
    Set VariableSet HeroToSaveName[3] = (Proper name of HeroToSave[3])
    Set VariableSet HeroToSaveName[4] = (Proper name of HeroToSave[4])
    -------- --------------------------- --------
    -------- SAVE/LOAD INITIALISATION --------
    -------- --------------------------- --------
    Set VariableSet SaveLoad_Alphabet = ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz!@#$%^&*
    Set VariableSet SaveLoad_CaseSensitive = True
    Set VariableSet SaveLoad_UsePlayername = False
    -------- Auto start game if there are no heroes to load (eg. first mission in a campaign) --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        NumHeroesToLoad Equal to 0
      Then - Actions
        Trigger - Turn off _Load_Heroes <gen>
        Trigger - Run InitTrigger (checking conditions)
      Else - Actions
        Unit - Pause all units
        Set VariableSet currentHerotoLoad = 1
        Quest - Display to (All players) the Hint message: (Type -load CODE to load + ((Proper name of HeroToLoad[currentHerotoLoad]) + , or -new if you don't have a code))
        Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
Save and End Game
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        UnitsHidden Equal to False
      Then - Actions
        Cinematic - Turn cinematic mode Off for (All players)
        Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
        Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
          Loop - Actions
            Unit - Hide (Picked unit)
        Set VariableSet UnitsHidden = True
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        NumHeroesToSave Greater than 0
      Then - Actions
        Trigger - Run _Save_Heroes <gen> (checking conditions)
        Wait 0.10 seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            currentHerotoSave Less than NumHeroesToSave
          Then - Actions
            Trigger - Run (This trigger) (checking conditions)
            Skip remaining actions
          Else - Actions
            Game - Victory P1 (Show dialogs, Skip scores)
            Game - Victory P2 (Show dialogs, Skip scores)
      Else - Actions
        Game - Victory P1 (Show dialogs, Skip scores)
        Game - Victory P2 (Show dialogs, Skip scores)
Up to 4 heroes
Tome Count
  Events
    Unit - A unit Acquires an item
  Conditions
    (Item-class of (Item being manipulated)) Equal to Powerup
  Actions
    -------- Determine which hero is aquiring item --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Hero manipulating item) Equal to HeroToSave[1]
      Then - Actions
        Set VariableSet NumHeroAquiringTome = 1
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Hero manipulating item) Equal to HeroToSave[2]
          Then - Actions
            Set VariableSet NumHeroAquiringTome = 2
          Else - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Hero manipulating item) Equal to HeroToSave[3]
              Then - Actions
                Set VariableSet NumHeroAquiringTome = 3
              Else - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  If - Conditions
                    (Hero manipulating item) Equal to HeroToSave[4]
                  Then - Actions
                    Set VariableSet NumHeroAquiringTome = 4
                  Else - Actions
    -------- Manual of Health --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Manual of Health
      Then - Actions
        Set VariableSet TomeHealth[NumHeroAquiringTome] = (TomeHealth[NumHeroAquiringTome] + 1)
      Else - Actions
    -------- Tome of Knowledge --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Knowledge
      Then - Actions
        Set VariableSet TomeStrength[NumHeroAquiringTome] = (TomeStrength[NumHeroAquiringTome] + 1)
        Set VariableSet TomeAgility[NumHeroAquiringTome] = (TomeAgility[NumHeroAquiringTome] + 1)
        Set VariableSet TomeIntelligence[NumHeroAquiringTome] = (TomeIntelligence[NumHeroAquiringTome] + 1)
      Else - Actions
    -------- Tome of Strength --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Strength
      Then - Actions
        Set VariableSet TomeStrength[NumHeroAquiringTome] = (TomeStrength[NumHeroAquiringTome] + 1)
      Else - Actions
    -------- Tome of Strength +2 --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Strength +2
      Then - Actions
        Set VariableSet TomeStrength[NumHeroAquiringTome] = (TomeStrength[NumHeroAquiringTome] + 2)
      Else - Actions
    -------- Tome of Agility --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Agility
      Then - Actions
        Set VariableSet TomeAgility[NumHeroAquiringTome] = (TomeAgility[NumHeroAquiringTome] + 1)
      Else - Actions
    -------- Tome of Agility +2 --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Agility +2
      Then - Actions
        Set VariableSet TomeAgility[NumHeroAquiringTome] = (TomeAgility[NumHeroAquiringTome] + 2)
      Else - Actions
    -------- Tome of Intelligence --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Intelligence
      Then - Actions
        Set VariableSet TomeIntelligence[NumHeroAquiringTome] = (TomeIntelligence[NumHeroAquiringTome] + 1)
      Else - Actions
    -------- Tome of Intelligence +2 --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Item being manipulated)) Equal to Tome of Intelligence +2
      Then - Actions
        Set VariableSet TomeIntelligence[NumHeroAquiringTome] = (TomeIntelligence[NumHeroAquiringTome] + 2)
      Else - Actions
Autocreate Variables
  Events
  Conditions
  Actions
    -------- Leave as is. Used to autocreate variables when copy & pasting to a new map --------
    Set VariableSet SaveLoad_Initialized = False
    Set VariableSet currentHerotoSave = 0
    Set VariableSet currentHerotoLoad = 0
    Set VariableSet SaveText[0] = Hero Codes:
    Set VariableSet UnitsHidden = False
    Set VariableSet Code = Code
    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
    Set VariableSet SaveLoad_Heroes[1] = Paladin
    Set VariableSet SaveLoad_Abilities[1] = Banish
    Set VariableSet SaveLoad_Items[1] = Claws of Attack +15
    Set VariableSet SaveLoad_Items_LastIndex = 0
    Set VariableSet SaveLoad_Heroes_LastIndex = 0
    Set VariableSet SaveLoad_Abilities_LastIndex = 0
Defeat Blue
  Events
    Unit - A unit owned by Player 2 (Blue).Dies
  Conditions
    (Dying unit) Equal to TURAHERO
  Actions
    Trigger - Turn off (This trigger)
    Unit - Pause all units
    Game - Display to (All players) for 5.00 seconds the text: |cffffcc00MAIN QUEST FAILED|r
    Sound - Play QuestFailed <gen>
    Cinematic - Fade out over 5.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 5.00 seconds
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
Defeat Teal
  Events
    Unit - A unit owned by Player 3 (Teal).Dies
  Conditions
    (Dying unit) Equal to KHADGARHERO
  Actions
    Trigger - Turn off (This trigger)
    Unit - Pause all units
    Game - Display to (All players) for 5.00 seconds the text: |cffffcc00MAIN QUEST FAILED|r
    Sound - Play QuestFailed <gen>
    Cinematic - Fade out over 5.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 5.00 seconds
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
Defeat Pink
  Events
    Unit - Bulwark 0073 <gen> Dies
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Unit - Pause all units
    Game - Display to (All players) for 5.00 seconds the text: |cffffcc00MAIN QUEST FAILED|r
    Sound - Play QuestFailed <gen>
    Cinematic - Fade out over 5.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 5.00 seconds
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
Defeat Our base
  Events
    Unit - Manor 0131 <gen> Dies
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Unit - Pause all units
    Game - Display to (All players) for 5.00 seconds the text: |cffffcc00MAIN QUEST FAILED|r
    Sound - Play QuestFailed <gen>
    Cinematic - Fade out over 5.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 5.00 seconds
    Game - Defeat Player 2 (Blue) with the message: Defeat!
    Game - Defeat Player 3 (Teal) with the message: Defeat!
Start The Game
  Events
  Conditions
  Actions
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Turn subtitle display override On
    Cinematic - Disable user control for (All players).
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Trigger - Run Opening_Cinematic <gen> (checking conditions)
Opening Cinematic
  Events
  Conditions
  Actions
    Unit - Unpause all units
    -------- Cinematic Skip Message --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 5.00 seconds the text: Player blue may now skip the cinematic by pressing "Escape" within the next five seconds.
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Set VariableSet Opening_Cinematic_Is_On = True
    Wait 5.00 seconds
    If (Opening_Cinematic_Is_On Equal to False) then do (Skip remaining actions) else do (Do nothing)
    Set VariableSet Opening_Cinematic_Is_On = False
    -------- Cinematic Skip Message Ending --------
    Game - Turn the day/night cycle Off
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 9.00 seconds the text: Northern Black Morass, Azeroth.
    Game - Display to (All players) for 9.00 seconds the text:
    Game - Display to (All players) for 9.00 seconds the text:
    Game - Display to (All players) for 9.00 seconds the text:
    Game - Display to (All players) for 9.00 seconds the text:
    Wait 4.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_001 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_002 for (Picked player) over 61.00 seconds)
    Cinematic - Fade in over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 3.00 seconds
    Cinematic - Send transmission to (All players) from Gryphon Rider 0121 <gen> named Kurdran Wildhammer: Play No sound and display I disagree with your decision to confine Alleria to Nethergarde Keep, Turalyon. While I do not normally question your judgment, ordering the alliance's greatest scout to stay at the Keep while we conduct a surveilance mission was not a wise decision. Her talents would be of immeasurable use right now.. Modify duration: Set to 31.00 seconds and Don't wait
    Wait 31.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display I understand your concern, Kurdran. If I were in your position, I would probably feel the same way. But the threat Alleria poses is to the alliance itself--- Right now, forces from all the nations have rallied to our cause and formed a cohesive group.. Modify duration: Set to 27.00 seconds and Don't wait
    Wait 27.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_003 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_004 for (Picked player) over 35.00 seconds)
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display But this cohesion is ephemeral. Even the slightest crack and the different factions would become disjointed. If the troops were to see Alleria's complete disregard for my command, I would lose the respect of every warrior here, and this union would fall into disarray. As for how we will complete our surveilance mission of the horde's forces without her aid, Khadgar has a plan.. Modify duration: Set to 35.00 seconds and Don't wait
    Wait 35.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_005 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_006 for (Picked player) over 32.00 seconds)
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display My proposal is simple: During my time as Medivh's apprentice, I was made privy to the location of some of the abandoned magical sanctums in this region, of which one is very close to our current position. The sanctum itself will provide me with the ability to reveal distant locations, and acertain the position of the horde's troops.. Modify duration: Set to 32.00 seconds and Don't wait
    Unit - Make Alliance Lieutenant 0048 <gen> face (Position of KHADGARHERO) over 2.00 seconds
    Unit - Make Gryphon Rider 0121 <gen> face (Position of KHADGARHERO) over 2.00 seconds
    Unit - Make TURAHERO face (Position of KHADGARHERO) over 2.00 seconds
    Unit - Make KHADGARHERO face (Position of Alliance Lieutenant 0048 <gen>) over 2.00 seconds
    Wait 32.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_007 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_008 for (Picked player) over 38.00 seconds)
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display Unfortunately, if my memory serves me correctly, there was an ancient golem that was left behind to protect the santum from unwanted intruders. The good news is that it cannot harm any living creature outside of melee range, which makes destroying it easy. The bad news is its heavy fortifications means the act of destroying it will take a great deal of time. The magical wards in place also mean that teleporting anyone else in to aid me will be impossible.. Modify duration: Set to 38.00 seconds and Don't wait
    Wait 38.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_009 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_010 for (Picked player) over 62.00 seconds)
    Cinematic - Send transmission to (All players) from Alliance Lieutenant 0048 <gen> named Danath Trollbane: Play No sound and display If it will take considerable time to defeat this golem, then we are going to face another serious problem- scarcity of gold. Currently, we do not have enough gold to maintain the garrison here at high upkeep. While I am not aware of any nearby threat besides the horde, this position is too critical to risk losing on the off chance that there is an enemy nearby with enough firepower to overrun us.. Modify duration: Set to 35.00 seconds and Don't wait
    Wait 35.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display There may be a solution to this issue. You see, before the horde annihilated this region, we received reports that the orcs had gained the allegiance of the forest creatures in exchange for allowing them to keep the the spoils of war.. Modify duration: Set to 27.00 seconds and Don't wait
    Unit - Make Alliance Lieutenant 0048 <gen> face (Position of TURAHERO) over 2.00 seconds
    Unit - Make Gryphon Rider 0121 <gen> face (Position of TURAHERO) over 2.00 seconds
    Unit - Make KHADGARHERO face (Position of TURAHERO) over 2.00 seconds
    Wait 26.00 seconds
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_011 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_012 for (Picked player) over 16.00 seconds)
    Cinematic - Fade in over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display The last report detailed how the gold of the slain humans were divided amongst the forest creatures. It also mentioned how two dangerous creatures in particular, the Lord of the Sky and the Lord of the Sea, took a disproportionate amount of the looted gold.. Modify duration: Set to 28.00 seconds and Don't wait
    Wait 17.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_013 for (Picked player) over 0 seconds)
    Wait 5.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_014 for (Picked player) over 0 seconds)
    Wait 5.00 seconds
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_015 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_016 for (Picked player) over 59.00 seconds)
    Cinematic - Fade in over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display Khadgar could teleport myself and a regiment of warriors to that region to "collect" the gold. Despite the area being separated from this zone by cliffs, our mages could establish a system whereby the gold we collect could be sent over the terrain.. Modify duration: Set to 28.00 seconds and Don't wait
    Wait 28.00 seconds
    Cinematic - Send transmission to (All players) from Alliance Lieutenant 0048 <gen> named Danath Trollbane: Play No sound and display A bold plan, Turalyon. I concur. Be aware, however, that we have evidence to believe some bands of pillaging orcs have occupied the nearby cave system. I would maintain my vigilance at all times if I were you.. Modify duration: Set to 24.00 seconds and Don't wait
    Unit - Make TURAHERO face (Position of Alliance Lieutenant 0048 <gen>) over 2.00 seconds
    Wait 24.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display I will keep that in mind.. Modify duration: Set to 5.00 seconds and Don't wait
    Animation - Play KHADGARHERO's spell throw (animationname) animation
    Wait 5.00 seconds
    Special Effect - Create a special effect at (Center of khadgar_tp_effect <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
    Special Effect - Create a special effect at (Center of turalyon_tp_effect <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
    Unit - Move KHADGARHERO instantly to (Center of Khadgar_tp_to_golem <gen>), facing (Center of golem_position <gen>)
    Unit - Move TURAHERO instantly to (Center of tura_tp_base <gen>), facing (Center of khadgar_tp_base <gen>)
    Animation - Reset KHADGARHERO's animation
    Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_017 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_018 for (Picked player) over 42.00 seconds)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Order Pyromancer 0065 <gen> to Move To.(Center of pyro_run_to_scientist <gen>)
    Wait 3.00 seconds
    Cinematic - Send transmission to (All players) from Pyromancer 0065 <gen> named Lorn Bloodseeker: Play No sound and display The main alliance regiment has taken up position within the gulch.. Modify duration: Set to 10.00 seconds and Don't wait
    Wait 10.00 seconds
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display It seems fate is smiling upon us on this hour. The alliance's day of reckoning has come.. Modify duration: Set to 12.00 seconds and Don't wait
    Wait 10.00 seconds
    Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Game - Turn the day/night cycle On
    Trigger - Add Opening_Cinematic_Quest <gen> to the trigger queue (Checking conditions)
Opening Cinematic Skipped
  Events
    Player - Player 2 (Blue) skips a cinematic sequence
  Conditions
    Opening_Cinematic_Is_On Equal to True
  Actions
    Set VariableSet Opening_Cinematic_Is_On = False
    Cinematic - Clear the screen of text messages for (All players).
    Wait 0.50 seconds
    Unit - Move KHADGARHERO instantly to (Center of Khadgar_tp_to_golem <gen>), facing (Center of golem_position <gen>)
    Unit - Move TURAHERO instantly to (Center of tura_tp_base <gen>), facing (Center of khadgar_tp_base <gen>)
    Trigger - Add Opening_Cinematic_Quest <gen> to the trigger queue (Checking conditions)
Opening Cinematic Quest
  Events
  Conditions
  Actions
    Unit - Order Farmhand 0154 <gen> to Harvest Nearby Gold.
    Unit - Order Farmhand 0040 <gen> to Harvest Nearby Gold.
    Unit - Order Farmhand 0125 <gen> to Harvest Nearby Gold.
    Unit - Order Farmhand 0327 <gen> to Harvest Nearby Lumber.
    Unit - Order Farmhand 0328 <gen> to Harvest Nearby Lumber.
    Unit - Move Alliance Lieutenant 0048 <gen> instantly to (Center of Danath_run_start_base <gen>), facing (Center of grey_peons_spawn <gen>)
    Unit - Move Gryphon Rider 0121 <gen> instantly to (Center of Kurdran_run_start_base <gen>), facing (Center of Danath_run_start_base <gen>)
    Camera - Reset camera for Player 2 (Blue) to standard game-view over 0 seconds
    Camera - Reset camera for Player 3 (Teal) to standard game-view over 0 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Pan camera for Player 2 (Blue) to (Position of TURAHERO) over 0 seconds
    Camera - Pan camera for Player 3 (Teal) to (Position of KHADGARHERO) over 0 seconds
    Cinematic - Enable user control for (All players).
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Selection - Select TURAHERO for Player 2 (Blue)
    Selection - Select KHADGARHERO for Player 3 (Teal)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Trigger - Run Bandit_Peons <gen> (checking conditions)
    Trigger - Run Bandit_AI_and_gold_all <gen> (checking conditions)
    Trigger - Run Pink_Peons <gen> (checking conditions)
    Trigger - Run Pink_AI <gen> (checking conditions)
    Trigger - Run Light_Blue_Peons <gen> (checking conditions)
    If (ChooseComputer Equal to True) then do (Run Light_Blue_AI <gen> (checking conditions)) else do (Do nothing)
    Wait 4.00 seconds
    Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rOut of Sight - Destroy the golem guarding the sanctum - Pink's bulwark must not be destroyed - Your main hall building must not be destroyed (blue)
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of golem_position <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility from (Center of golem_position <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of golem_position <gen>) for 7.00 seconds
    Quest - Mark QuestVision as Discovered
    Quest - Flash the quest dialog button
    Wait 8.00 game-time seconds
    Quest - Display to (All players) the New Unit Acquired message: |cff32ceebNEW UNIT ACQUIRED|rSpire -Strong defensive structure that is acquired by upgrading a belfry.
    Cinematic - Ping minimap for (All players) at (Position of Spire 0120 <gen>) for 4.00 seconds
    Wait 8.00 game-time seconds
    Quest - Display to (All players) the Simple Hint message: |cff32CD32HINT|r - Supply pink and light blue with extra gold by slaying the local forest creatures. Khadgar will need to teleport back and forth between the golem and his altar with his teleportation staff, since the golem has a fire aura that will slowly killl him. There is a healing ward near his altar that can restore his hit points. Khargar cannot teleport to blue's base in this mission.
    Wait 10.00 game-time seconds
    Quest - Display to (All players) the Simple Hint message: |cff32CD32HINT|r - The light blue base's destruction will not cause you to fail the main quest, but its survival has a strong impact on the survival of pink.
    Wait 8.00 game-time seconds
    Quest - Display to (All players) the Simple Hint message: |cff32CD32HINT|r - All of the siege units have been diverted to pink's base, so blue and light blue cannot create any industrial centers for this mission.
    Wait 8.00 game-time seconds
    -------- Orange Units --------
    Unit Group - Pick every unit in Orangeinitialatttack and do (Order (Picked unit) to Attack-Move To.(Center of orange_attack_focus <gen>))
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Orc Mutation 0081 <gen> named Orc Mutation: Play No sound and display I hunger for human flesh!. Modify duration: Set to 6.00 seconds and Don't wait
    Wait 6.00 game-time seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display Damn. I suspect there are more of these red orcs beyond the ones attacking us lurking in the nearby vicinity. We should leave some warriors behind at our base while we hunt down the forest creatures in order to repel any future attacks.. Modify duration: Set to 20.00 seconds and Don't wait
    Wait 20.00 game-time seconds
    Sound - Reset all volume channels to 100%
    Trigger - Turn on Orange_Bottom_Attack <gen>
    Trigger - Turn on Orange_Left_Attack <gen>
    Trigger - Remove (This trigger) from the trigger queue
Orange Left Attack
  Events
    Time - Every 115.00 seconds of game time
  Conditions
  Actions
    Unit - Create 1.Mystic for Player 6 (Orange) at (Center of orange_left_cave <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of orange_attack_focus <gen>)
    Unit - Create 1.Orc Mutation for Player 6 (Orange) at (Center of orange_left_cave <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of orange_attack_focus <gen>)
Orange Bottom Attack
  Events
    Time - Every 149.00 seconds of game time
  Conditions
  Actions
    Unit - Create 1.Fel Grunt for Player 6 (Orange) at (Center of orange_bottom_cave <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of orange_attack_focus <gen>)
    Unit - Create 1.Fel Raider for Player 6 (Orange) at (Center of orange_bottom_cave <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of orange_attack_focus <gen>)
    Unit - Create 1.Fel Head Hunter for Player 6 (Orange) at (Center of orange_bottom_cave <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of orange_attack_focus <gen>)
    Unit - Create 1.Crossbowman for Player 6 (Orange) at (Center of orange_bottom_cave <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of orange_attack_focus <gen>)
Bulbasaur Trigger
  Events
    Unit - A unit enters bulbasaur_place <gen>
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet ChosenPokemon = Bulbasaur 0118 <gen>
    Trigger - Turn off Squirtle_Trigger <gen>
    Trigger - Turn off Charmander_Trigger <gen>
    Trigger - Add Pokemon_Cinematic <gen> to the trigger queue (Checking conditions)
Squirtle Trigger
  Events
    Unit - A unit enters squirtle_place <gen>
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet ChosenPokemon = Squirtle 0505 <gen>
    Trigger - Turn off Charmander_Trigger <gen>
    Trigger - Turn off Bulbasaur_Trigger <gen>
    Trigger - Add Pokemon_Cinematic <gen> to the trigger queue (Checking conditions)
Charmander Trigger
  Events
    Unit - A unit enters chamander_place <gen>
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet ChosenPokemon = Charmander 0105 <gen>
    Trigger - Turn off Bulbasaur_Trigger <gen>
    Trigger - Turn off Squirtle_Trigger <gen>
    Trigger - Add Pokemon_Cinematic <gen> to the trigger queue (Checking conditions)
Pokemon Cinematic
  Events
  Conditions
  Actions
    Cinematic - Disable user control for (All players).
    Unit - Make TURAHERO Invulnerable
    Unit - Make KHADGARHERO Invulnerable
    Unit - Remove All buffs from TURAHERO
    Unit - Remove All buffs from KHADGARHERO
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Turn subtitle display override On
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Set VariableSet selectpokemon1 = (Units currently selected by Player 2 (Blue))
    Set VariableSet selectpokemon2 = (Units currently selected by Player 3 (Teal))
    Selection - Clear selection
    Unit - Pause all units
    -------- Orange and blue --------
    Trigger - Turn off Orange_Bottom_Attack <gen>
    Trigger - Turn off Orange_Left_Attack <gen>
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally with shared vision
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally with shared vision
    -------- Cinematic Skip Message --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 5.00 seconds the text: Player blue may now skip the cinematic by pressing "Escape" within the next five seconds.
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Set VariableSet Pokemon_Cinematic_Is_On = True
    Wait 5.00 seconds
    If (Pokemon_Cinematic_Is_On Equal to False) then do (Skip remaining actions) else do (Do nothing)
    Set VariableSet Pokemon_Cinematic_Is_On = False
    -------- Cinematic Skip Message Ending --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Turn the day/night cycle Off
    Unit Group - Add all units of (Units owned by Player 2 (Blue) matching (((Matching unit) is hidden) Equal to False).) to pokemonhiddenunit
    Unit Group - Remove TURAHERO from pokemonhiddenunit.
    Unit Group - Add all units of (Units owned by Player 11 (Dark Green) matching (((Matching unit) is hidden) Equal to False).) to pokemonhiddenunit
    Unit Group - Pick every unit in pokemonhiddenunit and do (Hide (Picked unit))
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_038 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_039 for (Picked player) over 32.00 seconds)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Send transmission to (All players) from James 0245 <gen> named James: Play No sound and display The people of Viridian City will be sorry they ever saw my face.. Modify duration: Set to 10.00 seconds and Don't wait
    Trigger - Turn off Music_Elwyn_trigger <gen>
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 2.00 seconds
    Sound - Play pokemon_theme_song <gen>
    Trigger - Turn on Music_Pokemon_trigger <gen>
    Wait 8.00 seconds
    Cinematic - Send transmission to (All players) from Meowth 0165 <gen> named Meowth: Play No sound and display We are all sorry to see your face, James. Stay focused. We are here to capture rare and unusual pokemon. Don't forget. Meooowth!. Modify duration: Set to 19.00 seconds and Don't wait
    Wait 19.00 seconds
    Cinematic - Send transmission to (All players) from Jessie 0242 <gen> named Jessie: Play No sound and display Absolutely!. Modify duration: Set to 3.00 seconds and Don't wait
    Wait 3.00 seconds
    Unit - Change ownership of High Commander 0409 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Misty 0150 <gen> to Player 2 (Blue) and Change color
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_059 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_060 for (Picked player) over 29.00 seconds)
    Cinematic - Send transmission to (All players) from Misty 0150 <gen> named Misty: Play No sound and display Ash! Ash! Wake up! We need to stop Team Rocket.. Modify duration: Set to 8.00 seconds and Don't wait
    Wait 8.00 seconds
    Cinematic - Send transmission to (All players) from High Commander 0409 <gen> named Ash: Play No sound and display Sorry, I seem to have dozed off.. Modify duration: Set to 5.00 seconds and Don't wait
    Wait 5.00 seconds
    Cinematic - Send transmission to (All players) from Misty 0150 <gen> named Misty: Play No sound and display Jeez Ash. Please tell me you at least know what pokemon you are going to use.. Modify duration: Set to 12.00 seconds and Don't wait
    Wait 12.00 seconds
    Cinematic - Send transmission to (All players) from High Commander 0409 <gen> named Ash: Play No sound and display Of course I do.. Modify duration: Set to 4.00 seconds and Don't wait
    Wait 4.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_061 for (Picked player) over 0 seconds)
    Unit - Make Misty 0150 <gen> face (Center of pokemon_appearfirst <gen>) over 0 seconds
    Unit - Make High Commander 0409 <gen> face (Center of pokemon_appearfirst <gen>) over 0 seconds
    Wait 1.50 seconds
    Animation - Play High Commander 0409 <gen>'s attack (animationname) animation
    Unit - Create 1 Pokeball for Player 2 (Blue) at (Center of ash_pokeball <gen>) facing (Center of pokemon_appearfirst <gen>)
    Unit - Order (Last created unit) to Move To.(Center of pokemon_appearfirst <gen>)
    Wait 0.50 seconds
    Animation - Reset High Commander 0409 <gen>'s animation
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_062 for (Picked player) over 0 seconds)
    Wait 5.00 seconds
    Cinematic - Send transmission to (All players) from High Commander 0409 <gen> named Ash: Play No sound and display Use your special attack!. Modify duration: Set to 5.00 seconds and Don't wait
    Wait 5.00 seconds
    Animation - Play ChosenPokemon's attack (animationname) animation
    Wait 1.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_063 for (Picked player) over 0 seconds)
    Animation - Reset ChosenPokemon's animation
    Wait 1.00 seconds
    Animation - Play Onix 0181 <gen>'s death (animationname) animation
    Wait 4.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_064 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from Jessie 0242 <gen> named Jessie: Play No sound and display No more messing around! Arbok, Raticate, Mew--- Deal with this punk!. Modify duration: Set to 11.00 seconds and Don't wait
    Wait 11.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_065 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_066 for (Picked player) over 9.00 seconds)
    Unit - Create 1 Pokeball for Player 6 (Orange) at (Center of jesse_pokkeball <gen>) facing (Center of mew_spawn <gen>)
    Unit - Order (Last created unit) to Move To.(Center of ratticate_spawn <gen>)
    Unit - Create 1 Pokeball for Player 6 (Orange) at (Center of jesse_pokkeball <gen>) facing (Center of mew_spawn <gen>)
    Unit - Order (Last created unit) to Move To.(Center of mew_spawn <gen>)
    Unit - Create 1 Pokeball for Player 6 (Orange) at (Center of jesse_pokkeball <gen>) facing (Center of mew_spawn <gen>)
    Unit - Order (Last created unit) to Move To.(Center of arbok_spawn <gen>)
    Wait 9.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_067 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from High Commander 0409 <gen> named Ash: Play No sound and display Oh no.... Modify duration: Set to 4.00 seconds and Don't wait
    Wait 4.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_068 for (Picked player) over 0 seconds)
    Unit - Move Pikachu 0097 <gen> instantly to (Center of pikachu_tp <gen>), facing (Center of mew_spawn <gen>)
    Cinematic - Send transmission to (All players) from Pikachu 0097 <gen> named Pikachu: Play No sound and display Pika Pika!. Modify duration: Set to 4.00 seconds and Don't wait
    Wait 4.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_069 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_070 for (Picked player) over 3.00 seconds)
    Unit - Unpause Pikachu 0097 <gen>
    Unit - Order Pikachu 0097 <gen> to Move To.(Center of pika_run <gen>)
    Cinematic - Send transmission to (All players) from Pikachu 0097 <gen> named Pikachu: Play No sound and display Pi....... Ka...... CHU!. Modify duration: Set to 5.00 seconds and Don't wait
    Wait 5.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_071 for (Picked player) over 0 seconds)
    Animation - Play Arbok 0225 <gen>'s death (animationname) animation
    Animation - Play Raticate 0229 <gen>'s death (animationname) animation
    Animation - Play Mew 0241 <gen>'s death (animationname) animation
    Animation - Play Jessie 0242 <gen>'s death (animationname) animation
    Animation - Play James 0245 <gen>'s death (animationname) animation
    Animation - Play Meowth 0165 <gen>'s death (animationname) animation
    Sound - Set position of LightningBolt <gen> to (Center of mew_spawn <gen>) with Z offset 0
    Sound - Play LightningBolt <gen> at 100% volume, located at (Center of mew_spawn <gen>) with Z offset 0
    Wait 9.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_072 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_073 for (Picked player) over 56.00 seconds)
    Unit - Make Misty 0150 <gen> face (Position of High Commander 0409 <gen>) over 0 seconds
    Unit - Make High Commander 0409 <gen> face (Position of Misty 0150 <gen>) over 0 seconds
    Cinematic - Send transmission to (All players) from Misty 0150 <gen> named Misty: Play No sound and display Ash, you saved the world again!. Modify duration: Set to 6.00 seconds and Don't wait
    Wait 6.00 seconds
    Cinematic - Send transmission to (All players) from High Commander 0409 <gen> named Ash: Play No sound and display It's just another day in the my life, Misty. Nothing special.. Modify duration: Set to 9.00 seconds and Don't wait
    Wait 9.00 seconds
    Cinematic - Send transmission to (All players) from Misty 0150 <gen> named Misty: Play No sound and display Ash, I have never told you this, but the way you still look like a 10 year old mentally-challenged idiot even though it has been 20 years since we first met sets my passion on fire.. Modify duration: Set to 21.00 seconds and Don't wait
    Wait 21.00 seconds
    Cinematic - Send transmission to (All players) from Misty 0150 <gen> named Misty: Play No sound and display And the way you practice animal cruelty by watching on and cheering as cute little pocket monsters savagely fight each other kindles my inner female lust.. Modify duration: Set to 20.00 seconds and Don't wait
    Wait 20.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_074 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from Misty 0150 <gen> named Misty: Play No sound and display Ash--- Please channel the Lickitung inside you and shove your tongue down my throat now before I lose control!. Modify duration: Set to 16.00 seconds and Don't wait
    Wait 16.00 seconds
    Cinematic - Send transmission to (All players) from High Commander 0409 <gen> named Ash: Play No sound and display Oh Misty.... Modify duration: Set to 3.00 seconds and Don't wait
    Wait 1.00 seconds
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Cinematic - Send transmission to (All players) from No unit named ...: Play No sound and display ***Let sounds of sloppy kissing fill the air!!!***. Modify duration: Set to 8.00 seconds and Don't wait
    Sound - Set position of ShadeYesAttack3 <gen> to (Center of ash_pokeball <gen>) with Z offset 0
    Sound - Play ShadeYesAttack3 <gen> at 100% volume, located at (Center of pokemon_invulnerable <gen>) with Z offset 0
    Wait 8.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_075 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_076 for (Picked player) over 18.00 seconds)
    Unit - Move TURAHERO instantly to (Center of tura_tp_pokemon <gen>), facing (Center of tura_face_pokemon <gen>)
    Cinematic - Fade in over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Sound - Set music volume to 30.00%
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display How do you like that, Misty? Huh? Just wait until you see what I have in store for you next.... Modify duration: Set to 13.00 seconds and Don't wait
    Wait 13.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display ... Wait what?. Modify duration: Set to 5.00 seconds and Don't wait
    Wait 5.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_077 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_078 for (Picked player) over 18.00 seconds)
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display ... It was just a dream. I guess it must have been seeing this house that triggered memories of my long since passed childhood.... Modify duration: Set to 18.00 seconds and Don't wait
    Wait 17.00 seconds
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Move Pikachu 0097 <gen> instantly to (Center of pika_tulee <gen>), facing (Position of Child 0148 <gen>)
    Unit - Move Bulbasaur 0118 <gen> instantly to (Center of bulba_tulee <gen>), facing (Position of Child 0148 <gen>)
    Unit - Move Squirtle 0505 <gen> instantly to (Center of squirtle_tulee <gen>), facing (Position of Child 0148 <gen>)
    Unit - Move Charmander 0105 <gen> instantly to (Center of char_tulee <gen>), facing (Position of Child 0148 <gen>)
    Wait 1.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_079 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_080 for (Picked player) over 24.00 seconds)
    Cinematic - Fade in over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Sound - Play FlashBack1Second <gen>
    Cinematic - Send transmission to (All players) from Villager 0244 <gen> named Tulee's Mom: Play No sound and display Get in here right now and finish your homework, [Tulee's Real Name].. Modify duration: Set to 10.00 seconds and Don't wait
    Wait 10.00 seconds
    Cinematic - Send transmission to (All players) from Child 0148 <gen> named [Tulee's Real Name]: Play No sound and display But mom, I want to play with my pokemon cards.... Modify duration: Set to 8.00 seconds and Don't wait
    Wait 8.00 seconds
    Cinematic - Send transmission to (All players) from Villager 0244 <gen> named Tulee's Mom: Play No sound and display RIGHT THIS INSTANT!. Modify duration: Set to 6.00 seconds and Don't wait
    Wait 4.00 seconds
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Trigger - Turn off Music_Pokemon_trigger <gen>
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 2.00 seconds
    Sound - Play 14_Elwynn_Forest <gen>
    Trigger - Turn on Music_Elwyn_trigger <gen>
    Sound - Set music volume to 100.00%
    Game - Turn the day/night cycle On
    Trigger - Add Pokemon_Cinematic_Quest <gen> to the trigger queue (Checking conditions)
    Trigger - Remove (This trigger) from the trigger queue
Pokemon Cinematic Skip
  Events
    Player - Player 2 (Blue) skips a cinematic sequence
  Conditions
    Pokemon_Cinematic_Is_On Equal to True
  Actions
    Set VariableSet Pokemon_Cinematic_Is_On = False
    Cinematic - Clear the screen of text messages for (All players).
    Unit - Move TURAHERO instantly to (Center of tura_tp_pokemon <gen>), facing (Center of tura_face_pokemon <gen>)
    Trigger - Add Pokemon_Cinematic_Quest <gen> to the trigger queue (Checking conditions)
    Trigger - Remove Pokemon_Cinematic <gen> from the trigger queue
Pokemon Cinematic Quest
  Events
  Conditions
  Actions
    Camera - Reset camera for Player 2 (Blue) to standard game-view over 0 seconds
    Camera - Reset camera for Player 3 (Teal) to standard game-view over 0 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Pan camera for Player 2 (Blue) to (Position of TURAHERO) over 0 seconds
    Camera - Pan camera for Player 3 (Teal) to (Position of KHADGARHERO) over 0 seconds
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Unit Group - Pick every unit in pokemonhiddenunit and do (Unhide (Picked unit))
    Unit - Unpause all units
    Selection - Select selectpokemon1 for Player 2 (Blue)
    Selection - Select selectpokemon2 for Player 3 (Teal)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Enemy
    Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Enemy
    Unit Group - Pick every unit in (Units in house_zone <gen>) and do (Remove (Picked unit) from the game)
    Unit Group - Pick every unit in (Units in pokemon_invulnerable <gen>) and do (Remove (Picked unit) from the game)
    Unit - Make TURAHERO Vulnerable
    Unit - Make KHADGARHERO Vulnerable
    Cinematic - Enable user control for (All players).
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Insanemodeactivated Equal to True
      Then - Actions
        Item - Create |cffff8c00Pokemon Cards|r at (Center of top_item <gen>)
        Item - Create |cffff8c00Mirror of Youth|r at (Center of bottom_item <gen>)
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 15.00 seconds the text: Congratulations on beating the optional boss!
        Game - Display to (All players) for 15.00 seconds the text:
        Game - Display to (All players) for 15.00 seconds the text: The code you receive for achieving this feat is "N".
        Game - Display to (All players) for 15.00 seconds the text:
        Game - Display to (All players) for 15.00 seconds the text: Beat all the optional bosses and final missions to unlock a code that will give you access to the final cinematic of the campaign series.
        Game - Display to (All players) for 15.00 seconds the text:
      Else - Actions
        Do nothing
    Trigger - Remove (This trigger) from the trigger queue
Ash Pokeball
  Events
    Unit - A unit enters pokemon_appearfirst <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Pokeball
  Actions
    Unit - Remove (Entering unit) from the game
    Special Effect - Create a special effect at (Center of pokemon_appearfirst <gen>) using war3mapImported\Teleport.mdx
    Unit - Move ChosenPokemon instantly to (Center of pokemon_appearfirst <gen>), facing (Position of Meowth 0165 <gen>)
Jessie Poke Rat
  Events
    Unit - A unit enters ratticate_spawn <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Pokeball
  Actions
    Unit - Remove (Entering unit) from the game
    Special Effect - Create a special effect at (Center of ratticate_spawn <gen>) using war3mapImported\Teleport.mdx
    Unit - Move Raticate 0229 <gen> instantly to (Center of ratticate_spawn <gen>), facing (Position of High Commander 0409 <gen>)
Jessie Poke Mew
  Events
    Unit - A unit enters mew_spawn <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Pokeball
  Actions
    Unit - Remove (Entering unit) from the game
    Special Effect - Create a special effect at (Center of mew_spawn <gen>) using war3mapImported\Teleport.mdx
    Unit - Move Mew 0241 <gen> instantly to (Center of mew_spawn <gen>), facing (Position of High Commander 0409 <gen>)
Jessie Poke Arbok
  Events
    Unit - A unit enters arbok_spawn <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to Pokeball
  Actions
    Unit - Remove (Entering unit) from the game
    Special Effect - Create a special effect at (Center of arbok_spawn <gen>) using war3mapImported\Teleport.mdx
    Unit - Move Arbok 0225 <gen> instantly to (Center of arbok_spawn <gen>), facing (Position of High Commander 0409 <gen>)
Golem Dies Trig
  Events
    Unit - Guardian 0067 <gen> Dies
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off Orange_Bottom_Attack <gen>
    Trigger - Turn off Orange_Left_Attack <gen>
    Trigger - Turn off Defeat_Pink <gen>
    Trigger - Turn off Defeat_Our_base <gen>
    Trigger - Add Golem_Dies_Cin <gen> to the trigger queue (Checking conditions)
Golem Dies Cin
  Events
  Conditions
  Actions
    Cinematic - Disable user control for (All players).
    Unit - Make TURAHERO Invulnerable
    Unit - Make KHADGARHERO Invulnerable
    Unit - Remove All buffs from TURAHERO
    Unit - Remove All buffs from KHADGARHERO
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Turn subtitle display override On
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Selection - Clear selection
    Unit - Pause all units
    Unit - Unpause KHADGARHERO
    -------- DG and alliance --------
    Player - Make Player 11 (Dark Green) treat Player 2 (Blue) as an Ally with shared vision
    Player - Make Player 11 (Dark Green) treat Player 3 (Teal) as an Ally with shared vision
    Player - Make Player 2 (Blue) treat Player 11 (Dark Green) as an Ally with shared vision
    Player - Make Player 3 (Teal) treat Player 11 (Dark Green) as an Ally with shared vision
    Trigger - Turn off Normal_Forest_Creatures <gen>
    Trigger - Turn off Elite_Forest_Creatures <gen>
    Trigger - Turn off Gold_Coin_Destroyed <gen>
    -------- Cinematic Skip Message --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 5.00 seconds the text: Player blue may now skip the cinematic by pressing "Escape" within the next five seconds.
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Set VariableSet Vision_Cinematic_Is_On = True
    Wait 5.00 seconds
    If (Vision_Cinematic_Is_On Equal to False) then do (Skip remaining actions) else do (Do nothing)
    Set VariableSet Vision_Cinematic_Is_On = False
    -------- Cinematic Skip Message Ending --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Turn the day/night cycle Off
    Unit Group - Add all units of (Units owned by Player 2 (Blue) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Remove TURAHERO from visionhiddenunit.
    Unit Group - Add all units of (Units owned by Player 3 (Teal) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Remove KHADGARHERO from visionhiddenunit.
    Unit Group - Add all units of (Units owned by Player 5 (Yellow) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 8 (Pink) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 9 (Gray) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 10 (Light Blue) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 12 (Brown) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Pick every unit in visionhiddenunit and do (Remove (Picked unit) from the game)
    Unit - Replace Gold Mine 0035 <gen> with a Gold Mine using The old unit's relative life and mana
    Unit - Replace Gold Mine 0184 <gen> with a Gold Mine using The old unit's relative life and mana
    Unit - Replace Gold Mine 0100 <gen> with a Gold Mine using The old unit's relative life and mana
    Unit - Replace Gold Mine 0113 <gen> with a Gold Mine using The old unit's relative life and mana
    Unit - Replace Gold Mine 0188 <gen> with a Gold Mine using The old unit's relative life and mana
    Unit - Replace Gold Mine 0189 <gen> with a Gold Mine using The old unit's relative life and mana
    If ((KHADGARHERO is dead) Equal to True) then do (Instantly revive KHADGARHERO at (Center of golem_position <gen>), Hide revival graphics) else do (Move KHADGARHERO instantly to (Center of golem_position <gen>))
    Unit - Make KHADGARHERO face (Center of khadgar_walk_to_sanctum <gen>) over 0 seconds
    If ((TURAHERO is dead) Equal to True) then do (Instantly revive TURAHERO at (Center of turalyon_tp_bandit_discuss <gen>), Hide revival graphics) else do (Move TURAHERO instantly to (Center of turalyon_tp_bandit_discuss <gen>))
    Unit - Make TURAHERO face (Center of wheelchair_tp_discuss <gen>) over 0 seconds
    Unit - Create 1 Gryphon Rider for Player 11 (Dark Green) at (Center of kurdran_tp_discuss <gen>) facing (Center of wheelchair_tp_discuss <gen>)
    Set VariableSet KURDRANORC = (Last created unit)
    Unit - Change color of KURDRANORC to Pink
    Unit - Create 1 Alliance Lieutenant for Player 11 (Dark Green) at (Center of danath_tp_disucss <gen>) facing (Center of wheelchair_tp_discuss <gen>)
    Set VariableSet DANATHorc = (Last created unit)
    Unit - Change color of DANATHorc to Pink
    Unit - Create 1 Dark Knight for Player 11 (Dark Green) at (Center of dark_knight_top_disucss <gen>) facing (Center of kurdran_tp_discuss <gen>)
    Set VariableSet KNIGHTTOP = (Last created unit)
    Unit - Create 1 Dark Knight for Player 11 (Dark Green) at (Center of dark_knight_bot_discuss <gen>) facing (Center of danath_tp_disucss <gen>)
    Set VariableSet KNIGHTBOT = (Last created unit)
    Unit - Move Rogue Scientist 0052 <gen> instantly to (Center of wheelchair_tp_discuss <gen>), facing (Center of turalyon_tp_bandit_discuss <gen>)
    Unit - Move Pyromancer 0404 <gen> instantly to (Center of lord_tp_discuss <gen>), facing (Center of turalyon_tp_bandit_discuss <gen>)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_019 for (Picked player) over 0 seconds)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 3.00 seconds
    Destructible - Open Gate 0002 <gen>
    Wait 1.00 seconds
    Unit - Order KHADGARHERO to Move To.(Center of khadgar_walk_to_sanctum <gen>)
    Wait 1.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_020 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_021 for (Picked player) over 17.50 seconds)
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display At last! A few configurations... and it is ready for usage. Let's see if the horde forces are in the nearby region.... Modify duration: Set to 15.00 seconds and Don't wait
    Wait 15.00 seconds
    Animation - Play KHADGARHERO's spell slam (animationname) animation
    Special Effect - Create a special effect at (Center of khadgar_walk_to_sanctum <gen>) using Abilities\Spells\Items\AIta\CrystalBallCaster.mdl
    Wait 2.00 seconds
    Cinematic - Fade out over 0.50 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.50 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_022 for (Picked player) over 0 seconds)
    Cinematic - Fade in over 0.50 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display It seems the horde has fortified themselves directly north of our current location. They do not seem prepared for battle--- if we were to launch a swift assault on their positions, we could overrun them with minimal losses. . Modify duration: Set to 21.00 seconds and Don't wait
    Animation - Reset KHADGARHERO's animation
    Special Effect - Create a special effect at (Center of vision_grom_base <gen>) using Abilities\Spells\Other\Andt\Andt.mdl
    Set VariableSet revealspellpurple = (Last created special effect)
    Wait 7.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_023 for (Picked player) over 0 seconds)
    Special Effect - Create a special effect at (Center of vision_rex_base <gen>) using Abilities\Spells\Other\Andt\Andt.mdl
    Set VariableSet revealspellred = (Last created special effect)
    Wait 7.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_024 for (Picked player) over 0 seconds)
    Special Effect - Create a special effect at (Center of vision_ripper_base <gen>) using Abilities\Spells\Other\Andt\Andt.mdl
    Set VariableSet revealspellgreen = (Last created special effect)
    Wait 7.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_025 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_026 for (Picked player) over 21.00 seconds)
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display Interesting... In the horde's eyes, we humans are all of the same feather. They slaughter the rebels with the same brutality that they employ against the alliance.. Modify duration: Set to 21.00 seconds and Don't wait
    Wait 20.00 seconds
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_027 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_028 for (Picked player) over 51.00 seconds)
    Cinematic - Fade in over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display Can you not see, this cycle of hatred must end. Whatever differences there are between our two factions, we must put them aside for the sake of Azeroth. We all coexist on this world.. Modify duration: Set to 23.00 seconds and Don't wait
    Wait 23.00 seconds
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display So when the alliance is in a disadvantageous position, the untouchables of society suddenly are worthy of being treated as equals. But as soon as the threat that the horde constitutes has faded away, our position as the wretches of society will once again solidify.. Modify duration: Set to 28.00 seconds and Don't wait
    Wait 28.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_029 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_030 for (Picked player) over 29.00 seconds)
    Unit - Move KHADGARHERO instantly to (Center of khadgar_tp_discuss <gen>), facing (Center of wheelchair_tp_discuss <gen>)
    Special Effect - Create a special effect at (Center of khadgar_tp_discuss <gen>) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
    Unit - Make Rogue Scientist 0052 <gen> face (Center of khadgar_tp_discuss <gen>) over 0 seconds
    Wait 1.00 seconds
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display If you do not wish to join the fight against the horde for the sake of Azeroth, we will respect your decision. But at least be willing to fight them to protect your people. While scouting the surrounding area, I saw one of your towns burning, with corpses scattered across the ground.. Modify duration: Set to 28.00 seconds and Don't wait
    Wait 28.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_031 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display A town? Oh no... We left our women and children behind at our stronghold while we assaulted your bases. We need to get back there immediately!. Modify duration: Set to 20.00 seconds and Don't wait
    Wait 20.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_032 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_033 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display The fastest way towards that region is through the horde bases to the north. Help us break through the orcs' fortifications, and you will be able to reach your village faster.. Modify duration: Set to 21.00 seconds and Don't wait
    Wait 21.00 seconds
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display I do not like this one bit, but for the sake of my people, I am willing to put aside my malice for the alliance. I have a regiment of men in the region near the northern gully. We must proceed with haste--- the chance of finding any surviviors of my village grows smaller with each minute that passes.. Modify duration: Set to 29.00 seconds and Don't wait
    Wait 27.00 seconds
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Special Effect - Destroy revealspellred
    Special Effect - Destroy revealspellpurple
    Special Effect - Destroy revealspellgreen
    Game - Turn the day/night cycle On
    Trigger - Add Golem_Dies_Quest <gen> to the trigger queue (Checking conditions)
    Trigger - Remove (This trigger) from the trigger queue
Golem Dies Skip
  Events
    Player - Player 2 (Blue) skips a cinematic sequence
  Conditions
    Vision_Cinematic_Is_On Equal to True
  Actions
    Set VariableSet Vision_Cinematic_Is_On = False
    Cinematic - Clear the screen of text messages for (All players).
    Unit Group - Add all units of (Units owned by Player 2 (Blue) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Remove TURAHERO from visionhiddenunit.
    Unit Group - Add all units of (Units owned by Player 3 (Teal) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Remove KHADGARHERO from visionhiddenunit.
    Unit Group - Add all units of (Units owned by Player 5 (Yellow) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 8 (Pink) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 9 (Gray) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 10 (Light Blue) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Add all units of (Units owned by Player 12 (Brown) matching (((Matching unit) is hidden) Equal to False).) to visionhiddenunit
    Unit Group - Pick every unit in visionhiddenunit and do (Remove (Picked unit) from the game)
    If ((KHADGARHERO is dead) Equal to True) then do (Instantly revive KHADGARHERO at (Center of golem_position <gen>), Hide revival graphics) else do (Move KHADGARHERO instantly to (Center of golem_position <gen>))
    Unit - Make KHADGARHERO face (Center of khadgar_walk_to_sanctum <gen>) over 0 seconds
    If ((TURAHERO is dead) Equal to True) then do (Instantly revive TURAHERO at (Center of turalyon_tp_bandit_discuss <gen>), Hide revival graphics) else do (Move TURAHERO instantly to (Center of turalyon_tp_bandit_discuss <gen>))
    Unit - Make TURAHERO face (Center of wheelchair_tp_discuss <gen>) over 0 seconds
    Unit - Create 1 Gryphon Rider for Player 11 (Dark Green) at (Center of kurdran_tp_discuss <gen>) facing (Center of wheelchair_tp_discuss <gen>)
    Set VariableSet KURDRANORC = (Last created unit)
    Unit - Change color of KURDRANORC to Pink
    Unit - Create 1 Alliance Lieutenant for Player 11 (Dark Green) at (Center of danath_tp_disucss <gen>) facing (Center of wheelchair_tp_discuss <gen>)
    Set VariableSet DANATHorc = (Last created unit)
    Unit - Change color of DANATHorc to Pink
    Unit - Create 1 Dark Knight for Player 11 (Dark Green) at (Center of dark_knight_top_disucss <gen>) facing (Center of kurdran_tp_discuss <gen>)
    Set VariableSet KNIGHTTOP = (Last created unit)
    Unit - Create 1 Dark Knight for Player 11 (Dark Green) at (Center of dark_knight_bot_discuss <gen>) facing (Center of danath_tp_disucss <gen>)
    Set VariableSet KNIGHTBOT = (Last created unit)
    Trigger - Add Golem_Dies_Quest <gen> to the trigger queue (Checking conditions)
    Trigger - Remove Golem_Dies_Cin <gen> from the trigger queue
Golem Dies Quest
  Events
  Conditions
  Actions
    Unit - Move DANATHorc instantly to (Center of danath_orc_base <gen>), facing (Center of danath_orc_face_to <gen>)
    Unit - Move KURDRANORC instantly to (Center of kurdran_orc_base <gen>), facing (Center of kurdran_orc_face_to <gen>)
    Unit - Move Pyromancer 0404 <gen> instantly to (Center of lorn_top_tp <gen>), facing (Center of lorn_top_face <gen>)
    Unit - Move Rogue Scientist 0052 <gen> instantly to (Center of wheelchair_top_tp <gen>), facing (Center of wheelchair_top_face <gen>)
    Unit - Move KHADGARHERO instantly to (Center of khad_tp_orc <gen>), facing (Center of khad_face_orc <gen>)
    Unit - Move TURAHERO instantly to (Center of tura_tp_orc <gen>), facing (Center of tura_orc_face <gen>)
    Unit - Remove KNIGHTBOT from the game
    Unit - Remove KNIGHTTOP from the game
    Hero - Disable experience gain for KURDRANORC.
    Hero - Disable experience gain for DANATHorc.
    Trigger - Run Red_Peons <gen> (checking conditions)
    Trigger - Run Red_AI <gen> (checking conditions)
    Trigger - Run Purple_Peons <gen> (checking conditions)
    Trigger - Run Purple_AI <gen> (checking conditions)
    Trigger - Run Green_peons <gen> (checking conditions)
    Trigger - Run Green_AI <gen> (checking conditions)
    Trigger - Turn on Defeat_Blue <gen>
    Trigger - Turn on Defeat_Teal <gen>
    Camera - Reset camera for Player 2 (Blue) to standard game-view over 0 seconds
    Camera - Reset camera for Player 3 (Teal) to standard game-view over 0 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Pan camera for Player 2 (Blue) to (Position of TURAHERO) over 0 seconds
    Camera - Pan camera for Player 3 (Teal) to (Position of KHADGARHERO) over 0 seconds
    Cinematic - Enable user control for (All players).
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Unit - Unpause all units
    Selection - Select TURAHERO for Player 2 (Blue)
    Selection - Select KHADGARHERO for Player 3 (Teal)
    Player - Set name of Player 11 (Dark Green) to Quirkbells' Forces
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Make TURAHERO Vulnerable
    Unit - Make KHADGARHERO Vulnerable
    Trigger - Turn off Music_Elwyn_trigger <gen>
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 4.00 seconds
    Sound - Play 11_The_Kalu_ak <gen>
    Trigger - Turn on Music_Khalakr_trigger <gen>
    Quest - Mark QuestVision as Completed
    Quest - Mark QuestionVisionRQ1 as Completed
    Quest - Mark QuestVisionRQ2 as Completed
    Quest - Mark QuestVisionRQ3 as Completed
    Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|r Out of Sight
    Wait Campaign quest delay seconds
    Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN QUEST|rAlliance of Necessity - Destroy the horde's bases and slay their leaders - All heroes must survive - Your main hall building must not be destroyed (blue)
    Quest - Mark QuestNecessity as Discovered
    Quest - Flash the quest dialog button
    Animation - Play Decrepit Ruins 0315 <gen>'s stand work (animationname) animation
    Animation - Play Decrepit Ruins 0313 <gen>'s stand work (animationname) animation
    Animation - Play Scoundrel Lair 0312 <gen>'s stand work (animationname) animation
    Animation - Play Scoundrel Lair 0317 <gen>'s stand work (animationname) animation
    Animation - Play Siege Sweatshop 0316 <gen>'s stand work (animationname) animation
    Animation - Play Siege Sweatshop 0314 <gen>'s stand work (animationname) animation
    Trigger - Turn on DG_Attack_Waves <gen>
    Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Enemy
    Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Enemy
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of vision_ripper_base <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility from (Center of vision_ripper_base <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of vision_ripper_base <gen>) for 7.00 seconds
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of vision_rex_base <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility from (Center of vision_rex_base <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of vision_rex_base <gen>) for 7.00 seconds
    Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility from (Center of vision_grom_base <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility from (Center of vision_grom_base <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Center of vision_grom_base <gen>) for 7.00 seconds
    Wait 8.00 game-time seconds
    Unit Group - Pick every unit in (Units in pokemon_invulnerable <gen>) and do (Remove (Picked unit) from the game)
    Unit Group - Pick every unit in (Units in house_zone <gen>) and do (Remove (Picked unit) from the game)
    Unit - Order Gnomish Contraption 0405 <gen> to Move To.(Center of gyro_top <gen>)
    Unit - Order Gnomish Contraption 0406 <gen> to Move To.(Center of gyro_bot <gen>)
    Unit - Change ownership of Gnomish Contraption 0405 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Gnomish Contraption 0406 <gen> to Player 2 (Blue) and Change color
    Player - Set the current research level of R00S (techcode) to 1 for Player 2 (Blue)
    Player - Set the current research level of R00T (techcode) to 1 for Player 2 (Blue)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Gnomish Contraption 0405 <gen> named Gnomish Contraption: Play No sound and display Sorry we are late sir! We couldn't find helmets small enough for our heads.... Modify duration: Set to 10.00 seconds and Don't wait
    Wait 10.00 game-time seconds
    Sound - Reset all volume channels to 100%
    Quest - Display to (All players) the New Unit Acquired message: |cff32ceebNEW UNIT ACQUIRED|rGnomish Contraption -Weak air unit that can complete disable powerful ground units with its lockdown ability.
    Cinematic - Ping minimap for (All players) at (Position of Gnomish Contraption 0405 <gen>) for 4.00 seconds
    Wait 8.00 game-time seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Gryphon Knight 0407 <gen> named Gryphon Knight: Play No sound and display Sir, after spending time with Master Kurdran, I think we have finally become confident about taking flight with our gryphons!. Modify duration: Set to 16.00 seconds and Don't wait
    Unit - Order Gryphon Knight 0407 <gen> to Move To.(Center of knight_left_orc <gen>)
    Unit - Order Gryphon Knight 0408 <gen> to Move To.(Center of knight_right_orc <gen>)
    Unit - Change ownership of Gryphon Knight 0407 <gen> to Player 2 (Blue) and Change color
    Unit - Change ownership of Gryphon Knight 0408 <gen> to Player 2 (Blue) and Change color
    Player - Set the max research level of R00U (techcode) to 1 for Player 2 (Blue)
    Player - Set the current research level of R00U (techcode) to 1 for Player 2 (Blue)
    Wait 16.00 game-time seconds
    Sound - Reset all volume channels to 100%
    Quest - Display to (All players) the Simple Hint message: |cff32CD32HINT|r - Use alternate tactics to transform your gryphon knights into power anti-air units.
    Wait 8.00 game-time seconds
    Trigger - Remove (This trigger) from the trigger queue
DG Attack Waves
  Events
    Time - Every 19.00 seconds of game time
  Conditions
  Actions
    Unit - Create 1.Swindler for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Rogue Mortar Team for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Bandit Axe Thrower for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Trickster for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Dark Knight for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Dark Knight for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Dark Knight for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Mounted Brigand for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Spear-Throwing Marauder for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
    Unit - Create 1.Sinister Hound for Player 11 (Dark Green) at (Center of DG_spawn <gen>) facing Default building facing degrees
    Unit - Order (Last created unit) to Attack-Move To.(Center of DG_attack_towards <gen>)
Purple die
  Events
    Unit - Rampart 0001 <gen> Dies
  Conditions
  Actions
    Unit Group - Pick every unit in (Units owned by Player 4 (Purple).) and do (Remove (Picked unit) from the game)
    Unit - Create 1 Blademaster for Player 4 (Purple) at (Center of grom_tp_bandit <gen>) facing (Center of soulripper_tp_bandit <gen>)
    Set VariableSet GromEnd = (Last created unit)
    Unit - Pause GromEnd
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from GromEnd named Grom Hellscream: Play No sound and display Pull back! Their forces are too great!. Modify duration: Set to 6.00 seconds and Don't wait
    Wait 6.00 game-time seconds
    Sound - Reset all volume channels to 100%
Red die
  Events
    Unit - Rampart 0180 <gen> Dies
  Conditions
  Actions
    Unit Group - Pick every unit in (Units owned by Player 1 (Red).) and do (Remove (Picked unit) from the game)
    If ((Haratha 0098 <gen> is alive) Equal to True) then do (Remove Haratha 0098 <gen> from the game) else do (Do nothing)
    Unit - Create 1 Mok'Nathal Warrior for Player 1 (Red) at (Center of rexxar_tp_bandit <gen>) facing (Center of soulripper_tp_bandit <gen>)
    Set VariableSet RexxarEnd = (Last created unit)
    Unit - Pause RexxarEnd
    Unit - Create 1 Haratha for Player 6 (Orange) at (Center of harath_tp_bandit <gen>) facing (Center of soulripper_tp_bandit <gen>)
    Set VariableSet HarathaEnd = (Last created unit)
    Unit - Pause HarathaEnd
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from RexxarEnd named Rexxar: Play No sound and display Haratha! This fortress is lost. We flee!. Modify duration: Set to 7.00 seconds and Don't wait
    Wait 7.00 game-time seconds
    Cinematic - Send transmission to (All players) from HarathaEnd named Haratha: Play No sound and display Grrr!. Modify duration: Set to 3.00 seconds and Don't wait
    Wait 3.00 game-time seconds
    Sound - Reset all volume channels to 100%
Orc Base Die Trig
  Events
    Unit - Skeletal Halls 0126 <gen> Dies
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off DG_Attack_Waves <gen>
    Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Neutral
    Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Neutral
    Player - Make Player 7 (Green) treat Player 11 (Dark Green) as an Neutral
    Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Neutral
    Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Neutral
    Player - Make Player 11 (Dark Green) treat Player 7 (Green) as an Neutral
    Unit Group - Add all units of (Units owned by Player 7 (Green) matching (((Matching unit) is hidden) Equal to False).) to orcbasehiddenunit
    Unit Group - Add all units of (Units owned by Player 11 (Dark Green) matching (((Matching unit) is hidden) Equal to False).) to orcbasehiddenunit
    Unit Group - Remove Rogue Scientist 0052 <gen> from orcbasehiddenunit.
    Unit Group - Remove DANATHorc from orcbasehiddenunit.
    Unit Group - Remove KURDRANORC from orcbasehiddenunit.
    Unit Group - Pick every unit in orcbasehiddenunit and do (Remove (Picked unit) from the game)
    Unit - Create 1 Death Knight for Player 7 (Green) at (Center of soulripper_tp_bandit <gen>) facing (Center of grom_tp_bandit <gen>)
    Set VariableSet Soulripperend = (Last created unit)
    Unit - Pause Soulripperend
    Trigger - Add Orc_Base_Die_Cin <gen> to the trigger queue (Checking conditions)
Orc Base Die Cin
  Events
  Conditions
  Actions
    Cinematic - Disable user control for (All players).
    Unit - Make TURAHERO Invulnerable
    Unit - Make KHADGARHERO Invulnerable
    Unit - Remove All buffs from TURAHERO
    Unit - Remove All buffs from KHADGARHERO
    Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Turn subtitle display override On
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 30.00%
    Selection - Clear selection
    Set VariableSet selectorcdie1 = (Units currently selected by Player 2 (Blue))
    Set VariableSet selectorcdie2 = (Units currently selected by Player 3 (Teal))
    Unit - Pause all units
    If ((Gryphon Knight 0407 <gen> is alive) Equal to True) then do (Remove Gryphon Knight 0407 <gen> from the game) else do (Do nothing)
    If ((Gryphon Knight 0408 <gen> is alive) Equal to True) then do (Remove Gryphon Knight 0408 <gen> from the game) else do (Do nothing)
    If ((Gnomish Contraption 0405 <gen> is alive) Equal to True) then do (Remove Gnomish Contraption 0405 <gen> from the game) else do (Do nothing)
    If ((Gnomish Contraption 0406 <gen> is alive) Equal to True) then do (Remove Gnomish Contraption 0406 <gen> from the game) else do (Do nothing)
    -------- Cinematic Skip Message --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 5.00 seconds the text: Player blue may now skip the cinematic by pressing "Escape" within the next five seconds.
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Set VariableSet Orc_Base_Cinematic_Is_On = True
    Wait 5.00 seconds
    If (Orc_Base_Cinematic_Is_On Equal to False) then do (Skip remaining actions) else do (Do nothing)
    Set VariableSet Orc_Base_Cinematic_Is_On = False
    -------- Cinematic Skip Message Ending --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Turn the day/night cycle Off
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_034 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_035 for (Picked player) over 35.00 seconds)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 3.00 seconds
    Cinematic - Send transmission to (All players) from GromEnd named Grom Hellscream: Play No sound and display Not leaving? What do you mean you are not leaving? We need to evacuate immediately. We allowed ourselves to be caught off guard, and now we must pay the price for our negligence. Once we are safe, you and I will have a serious dicussion about this insubordinate behaviour you have been manifesting lately.. Modify duration: Set to 32.00 seconds and Don't wait
    Wait 32.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_036 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_037 for (Picked player) over 37.00 seconds)
    Cinematic - Send transmission to (All players) from Soulripperend named Gaz Soulripper: Play No sound and display You seem to be under the impression, Hellscream, that when Gul'dan created the death knights, our hearts remained Orcish despite the fact that our hosts were the bodies of slain humans. But that is just a tale Gul'dan concocted in order to appease Doomhammer. When I and the others were resurrected, we shed the skin of our old lives, and were reborn anew. I am no longer an orc, and I will not prostate myself before filth like you!. Modify duration: Set to 37.00 seconds and Don't wait
    Wait 37.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_040 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_041 for (Picked player) over 26.00 seconds)
    Cinematic - Send transmission to (All players) from GromEnd named Grom Hellscream: Play No sound and display You are lucky the humans are hot on our trail, or I would rip your throat out for such disloyalty. Rexxar, Haratha--- We are leaving. If Soulripper wishes to perish at the hands of the alliance, then let him. We will not be dragged down with him.. Modify duration: Set to 26.00 seconds and Don't wait
    Wait 24.00 seconds
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Unit - Remove GromEnd from the game
    Unit - Remove RexxarEnd from the game
    Unit - Remove HarathaEnd from the game
    Game - Turn the day/night cycle On
    Trigger - Add Orc_Base_Die_Quest <gen> to the trigger queue (Checking conditions)
    Trigger - Remove (This trigger) from the trigger queue
Orc Base Die Skip
  Events
    Player - Player 2 (Blue) skips a cinematic sequence
  Conditions
    Orc_Base_Cinematic_Is_On Equal to True
  Actions
    Set VariableSet Orc_Base_Cinematic_Is_On = False
    Cinematic - Clear the screen of text messages for (All players).
    Unit - Remove GromEnd from the game
    Unit - Remove RexxarEnd from the game
    Unit - Remove HarathaEnd from the game
    Trigger - Add Orc_Base_Die_Quest <gen> to the trigger queue (Checking conditions)
    Trigger - Remove Orc_Base_Die_Cin <gen> from the trigger queue
Orc Base Die Quest
  Events
  Conditions
  Actions
    Unit - Move KHADGARHERO instantly to (Center of khad_rp_gaz <gen>), facing (Center of soulripper_tp_bandit <gen>)
    Unit - Move TURAHERO instantly to (Center of tura_tp_gaz <gen>), facing (Center of soulripper_tp_bandit <gen>)
    Unit Group - Add all units of (Units owned by Player 11 (Dark Green) matching (((Matching unit) is hidden) Equal to False).) to hidelastdgunits
    Unit Group - Pick every unit in hidelastdgunits and do (Hide (Picked unit))
    Camera - Reset camera for Player 2 (Blue) to standard game-view over 0 seconds
    Camera - Reset camera for Player 3 (Teal) to standard game-view over 0 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Pan camera for Player 2 (Blue) to (Position of TURAHERO) over 0 seconds
    Camera - Pan camera for Player 3 (Teal) to (Position of KHADGARHERO) over 0 seconds
    Cinematic - Enable user control for (All players).
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 100.00%
    Selection - Select selectorcdie1 for Player 2 (Blue)
    Selection - Select selectorcdie2 for Player 3 (Teal)
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Make TURAHERO Vulnerable
    Unit - Make KHADGARHERO Vulnerable
    Unit - Make Soulripperend Invulnerable
    Wait 3.00 game-time seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display Careful, Turalyon. I sense a powerful creature ahead.. Modify duration: Set to 8.00 seconds and Don't wait
    Wait 8.00 game-time seconds
    Sound - Reset all volume channels to 100%
    Unit - Unpause KHADGARHERO
    Unit - Unpause TURAHERO
    Trigger - Remove (This trigger) from the trigger queue
Enter Region Boss Fight
  Events
    Unit - A unit enters soulripper_engage <gen>
  Conditions
    ((Entering unit) Equal to TURAHERO) or ((Entering unit) Equal to KHADGARHERO)
  Actions
    Trigger - Turn off (This trigger)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Soulripperend named Gaz Soulripper: Play No sound and display Your arrogance will be your downfall, humans!. Modify duration: Set to 8.00 seconds and Don't wait
    Wait 8.00 game-time seconds
    Sound - Reset all volume channels to 100%
    Unit - Unpause Soulripperend
    Unit - Make Soulripperend Vulnerable
    Unit - Order Soulripperend to Attack-Move To.(Position of (Entering unit))
Boss Dies Finally
  Events
    Unit - A unit owned by Player 7 (Green).Dies
  Conditions
    (Dying unit) Equal to Soulripperend
  Actions
    Unit - Replace (Dying unit) with a Death Knight using The new unit's max life and mana
    Set VariableSet SoulripperDead = (Last replaced unit)
    Unit - Make SoulripperDead Invulnerable
    Unit - Pause SoulripperDead
    Unit - Set life of SoulripperDead to 1.00
    Unit - Pause KHADGARHERO
    Unit - Pause TURAHERO
    Unit - Make TURAHERO Invulnerable
    Unit - Make KHADGARHERO Invulnerable
    Player - Make Player 2 (Blue) treat Player 7 (Green) as an Neutral
    Player - Make Player 3 (Teal) treat Player 7 (Green) as an Neutral
    Player - Make Player 7 (Green) treat Player 2 (Blue) as an Neutral
    Player - Make Player 7 (Green) treat Player 3 (Teal) as an Neutral
    Quest - Mark QuestNecessity as Completed
    Quest - Mark QuestNecessityRQ1 as Completed
    Quest - Mark QuestNecessityRQ2 as Completed
    Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN QUEST COMPLETED|r Alliance of Necessity
    Wait Campaign quest delay seconds
    Trigger - Run Ending_Cinematic <gen> (checking conditions)
Ending Cinematic
  Events
  Conditions
  Actions
    Cinematic - Disable user control for (All players).
    Unit - Remove All buffs from TURAHERO
    Unit - Remove All buffs from KHADGARHERO
    Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Trigger - Turn off Music_Khalakr_trigger <gen>
    Sound - Clear the music list
    Sound - Stop music After fading
    Wait 2.00 seconds
    Sound - Play 14_Elwynn_Forest <gen>
    Trigger - Turn on Music_Elwyn_trigger <gen>
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Turn subtitle display override On
    Sound - Set Ambient Sounds to 100.00%
    Sound - Set Animation and Spell Sounds to 100.00%
    Sound - Set Combat Sounds to 100.00%
    Sound - Set Fire Sounds to 30.00%
    Selection - Clear selection
    Unit - Pause all units
    -------- Cinematic Skip Message --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 5.00 seconds the text: Player blue may now skip the cinematic by pressing "Escape" within the next five seconds.
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Game - Display to (All players) for 5.00 seconds the text:
    Set VariableSet Ending_Cinematic_Is_On = True
    Wait 5.00 seconds
    If (Ending_Cinematic_Is_On Equal to False) then do (Skip remaining actions) else do (Do nothing)
    Set VariableSet Ending_Cinematic_Is_On = False
    -------- Cinematic Skip Message Ending --------
    Cinematic - Clear the screen of text messages for (All players).
    Game - Turn the day/night cycle Off
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Move SoulripperDead instantly to (Center of soulripper_tp_bandit <gen>), facing (Center of grom_tp_bandit <gen>)
    Unit - Move TURAHERO instantly to (Center of Tauralyon_finally_finish <gen>), facing (Center of soulripper_tp_bandit <gen>)
    Unit - Move KHADGARHERO instantly to (Center of Khadgar_finally_finish <gen>), facing (Center of soulripper_tp_bandit <gen>)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_042 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_043 for (Picked player) over 29.00 seconds)
    Wait 3.00 seconds
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display Tell us how you managed to reopen the Dark Portal, death knight.. Modify duration: Set to 10.00 seconds and Don't wait
    Wait 10.00 seconds
    Cinematic - Send transmission to (All players) from SoulripperDead named Gaz Soulripper: Play No sound and display Your ignorance amuses me, little mage. The shaman Ner'zhul used the Skull of Gul'dan to force the rift open again.. Modify duration: Set to 16.00 seconds and Don't wait
    Wait 16.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_044 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_045 for (Picked player) over 28.00 seconds)
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display And what of the attack on Dalaran? For what purpose did you attack the mages' citadel? Additionally, we have received word a band of orcs stole a ship from Menethil Harbour and sailed out into the Great Ocean. And do not pretend you do not have possession of the Book of Medivh.. Modify duration: Set to 28.00 seconds and Don't wait
    Wait 28.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_046 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_047 for (Picked player) over 46.00 seconds)
    Cinematic - Send transmission to (All players) from SoulripperDead named Gaz Soulripper: Play No sound and display We needed the Eye of Dalaran and the Scepter of Sargeras to complement the power of Book of Medivh. As for why we need such artifacts, it is not your concern. We care nothing for your world.. Modify duration: Set to 24.00 seconds and Don't wait
    Wait 24.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display What do you mean it is none of our concern?. Modify duration: Set to 7.00 seconds and Don't wait
    Wait 7.00 seconds
    Cinematic - Send transmission to (All players) from SoulripperDead named Gaz Soulripper: Play No sound and display The artifacts can be used to open portals to other worlds, fool. Worlds fresh for the picking. Ha-ha-ha-ha.. Modify duration: Set to 15.00 seconds and Don't wait
    Wait 15.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_048 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_049 for (Picked player) over 29.00 seconds)
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display Other... worlds? Azeroth and Draenor... are not the only ones? Worlds without end, innocents without number falling before the horde... Light save us.. Modify duration: Set to 20.00 seconds and Don't wait
    Wait 20.00 seconds
    Cinematic - Send transmission to (All players) from KHADGARHERO named Khadgar: Play No sound and display I remember Medivh telling me that the orcs' embracing of the path of the warlock corrupted their world beyond repair, which is one of the reasons they initially invaded Azeroth. But now... this same scenario will be repeated again... and again and again.. Modify duration: Set to 28.00 seconds and Don't wait
    Wait 28.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_050 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from SoulripperDead named Gaz Soulripper: Play No sound and display Fret not. Your insignificant lives will end long before such events occur.. Modify duration: Set to 10.00 seconds and Don't wait
    Wait 10.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_051 for (Picked player) over 0 seconds)
    Unit - Order SoulripperDead to Move To.(Center of grom_tp_bandit <gen>)
    Wait 0.15 seconds
    Animation - Play TURAHERO's spell (animationname) animation
    Animation - Queue TURAHERO's stand (animationname) animation
    Wait 0.15 seconds
    Special Effect - Create a special effect at (Position of SoulripperDead) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
    Wait 0.15 seconds
    Animation - Play SoulripperDead's death (animationname) animation
    Wait 4.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_052 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_053 for (Picked player) over 12.00 seconds)
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display Khadgar, collect your possessions, for we march towards the Dark Portal within the hour.. Modify duration: Set to 12.00 seconds and Don't wait
    Unit - Make TURAHERO face (Center of Khadgar_finally_finish <gen>) over 0 seconds
    Unit - Make KHADGARHERO face (Center of Tauralyon_finally_finish <gen>) over 0 seconds
    Wait 12.00 seconds
    Unit - Move DANATHorc instantly to (Center of final_danath_tpz <gen>), facing (Center of Tauralyon_finally_finish <gen>)
    Unit - Move KURDRANORC instantly to (Center of final_kurdran_tpz <gen>), facing (Center of Tauralyon_finally_finish <gen>)
    Unit - Move Rogue Scientist 0052 <gen> instantly to (Center of final_bandit_leaderz <gen>), facing (Center of Tauralyon_finally_finish <gen>)
    Unit - Unhide Rogue Scientist 0052 <gen>
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_054 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_055 for (Picked player) over 55.00 seconds)
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display You... would risk your lives for people from other worlds who have not even the slightest connection with you? Some would say such an approach is self-destructive in nature, and that we as people owe nothing to those who mean nothing to us.. Modify duration: Set to 26.00 seconds and Don't wait
    Unit - Make TURAHERO face (Center of final_bandit_leaderz <gen>) over 2.00 seconds
    Unit - Make KHADGARHERO face (Center of final_bandit_leaderz <gen>) over 2.00 seconds
    Wait 26.00 seconds
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display As a servant of the light, I am bound to the fate of all living creatures, regardless of what planet they reside in. Their pain is my pain, and even such a course of action brings about my own downfall, I will not allow other races to experience the brutality of a horde invasion.. Modify duration: Set to 29.00 seconds and Don't wait
    Wait 29.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_056 for (Picked player) over 0 seconds)
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display Perhaps... We have been wrong about the alliance. I thought the alliance embodied the evils of society, but when I look at you... I see the same spark of humanity that has driven me forward even to this day.. Modify duration: Set to 24.00 seconds and Don't wait
    Wait 24.00 seconds
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display You... will not stand alone in your fight against the horde, young paladin. My gallery of rogues will fight by your side.. Modify duration: Set to 16.00 seconds and Don't wait
    Wait 16.00 seconds
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_057 for (Picked player) over 0 seconds)
    Player Group - Pick every player in ZZZZredandpurple and do (.Apply. gg_cam_Camera_058 for (Picked player) over 55.00 seconds)
    Cinematic - Send transmission to (All players) from TURAHERO named Turalyon: Play No sound and display Our quest is a thankless one, bandit lord. Those nameless people from other worlds will never know of our sacrifice. The burden you and your people will taken upon yourselves is greater than you know.. Modify duration: Set to 24.00 seconds and Don't wait
    Wait 24.00 seconds
    Cinematic - Send transmission to (All players) from Rogue Scientist 0052 <gen> named Omin Quirkbells: Play No sound and display I have never asked for anyone's thanks. My people and I are bound by the principles we live by, and those principles whisper to me now, telling me what I have already realized--- That your quest is just, and that it is time to put our groups' differences aside, not for our sakes, but for the sake of those worlds that have not had their innocence shattered by the horde.. Modify duration: Set to 31.00 seconds and Don't wait
    Wait 29.00 seconds
    Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.00 seconds
    Cinematic - Send transmission to (All players) from No unit named Christie Golden/Aaron Rosenberg: Play No sound and display Turalyon gazed upon his followers. The sight of alliance soldiers standing along side the rebel forces brought a smile to his face. People thought fighting one's enemies was difficult, but they were wrong.. Modify duration: Set to 24.00 seconds and Don't wait
    Wait 24.00 seconds
    Cinematic - Send transmission to (All players) from No unit named Christie Golden/Aaron Rosenberg: Play No sound and display It was learning to coexist with one's enemies that was the true challenge. The horde would soon learn how the power of hate quivered in the face of the power of love.. Modify duration: Set to 21.00 seconds and Don't wait
    Wait 21.00 seconds
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 30.00 seconds the text: Your load code is being saved into the following folder:
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: User>My Documents>Warcraft 3> Custom Map Data
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: You can load Khadgar and Turalyon in Chapter Seventeen: World of Ruin
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: Please do not leave the game, or your code will not be saved properly.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: Wait until the automatic victory trigger activates (After 30 seconds)
    Game - Display to (All players) for 30.00 seconds the text:
    Item - Remove StaffforKhadgar
    Wait 30.00 seconds
    Trigger - Run _Save_and_End_Game <gen> (checking conditions)
End Cine Skip
  Events
    Player - Player 2 (Blue) skips a cinematic sequence
  Conditions
    Ending_Cinematic_Is_On Equal to True
  Actions
    Set VariableSet Ending_Cinematic_Is_On = False
    Cinematic - Clear the screen of text messages for (All players).
    Wait 2.00 seconds
    Cinematic - Send transmission to (All players) from No unit named Christie Golden/Aaron Rosenberg: Play No sound and display Turalyon gazed upon his followers. The sight of alliance soldiers standing along side the rebel forces brought a smile to his face. People thought fighting one's enemies was difficult, but they were wrong.. Modify duration: Set to 24.00 seconds and Don't wait
    Wait 24.00 seconds
    Cinematic - Send transmission to (All players) from No unit named Christie Golden/Aaron Rosenberg: Play No sound and display It was learning to coexist with one's enemies that was the true challenge. The horde would soon learn how the power of hate quivered in the face of the power of love.. Modify duration: Set to 21.00 seconds and Don't wait
    Wait 21.00 seconds
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) for 30.00 seconds the text: Your load code is being saved into the following folder:
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: User>My Documents>Warcraft 3> Custom Map Data
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: You can load Khadgar and Turalyon in Chapter Seventeen: World of Ruin
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: Please do not leave the game, or your code will not be saved properly.
    Game - Display to (All players) for 30.00 seconds the text:
    Game - Display to (All players) for 30.00 seconds the text: Wait until the automatic victory trigger activates (After 30 seconds)
    Game - Display to (All players) for 30.00 seconds the text:
    Item - Remove StaffforKhadgar
    Wait 30.00 seconds
    Trigger - Run _Save_and_End_Game <gen> (checking conditions)
Human
  Events
    Unit - A unit Finishes an upgrade
  Conditions
    (Unit-type of (Triggering unit)) Equal to Alternate Altar of Unity
  Actions
    Unit - Change ownership of (Triggering unit) to Player 3 (Teal) and Change color
Normal Forest Creatures
  Events
    Unit - A unit owned by Player 11 (Dark Green).Dies
  Conditions
    ((Dying unit) Not equal to Lord of the Sky 0257 <gen>) and ((Dying unit) Not equal to Lord of the Sea 0263 <gen>)
  Actions
    Sound - Attach ReceiveGold <gen> to (Dying unit)
    Sound - Play ReceiveGold <gen> at 100% volume, attached to (Dying unit)
    Unit - Create 1.Small Coin for Neutral Passive at (Position of (Dying unit)) facing Default building facing degrees
    Unit - Make (Last created unit) Invulnerable
    Unit - Order (Last created unit) to Move To.(Center of region_gold_coins_go <gen>)
    Unit - Grant shared vision of (Last created unit) to Player 2 (Blue)
    Unit - Grant shared vision of (Last created unit) to Player 3 (Teal)
Elite Forest Creatures
  Events
    Unit - A unit owned by Player 11 (Dark Green).Dies
  Conditions
    ((Dying unit) Equal to Lord of the Sky 0257 <gen>) or ((Dying unit) Equal to Lord of the Sea 0263 <gen>)
  Actions
    Sound - Attach ReceiveGold <gen> to (Dying unit)
    Sound - Play ReceiveGold <gen> at 100% volume, attached to (Dying unit)
    Unit - Create 1.Big Coin for Neutral Passive at (Position of (Dying unit)) facing Default building facing degrees
    Unit - Make (Last created unit) Invulnerable
    Unit - Order (Last created unit) to Move To.(Center of region_gold_coins_go <gen>)
    Unit - Grant shared vision of (Last created unit) to Player 2 (Blue)
    Unit - Grant shared vision of (Last created unit) to Player 3 (Teal)
Gold Coin Destroyed
  Events
    Unit - A unit enters region_gold_coins_go <gen>
  Conditions
    ((Unit-type of (Entering unit)) Equal to Small Coin) or ((Unit-type of (Entering unit)) Equal to Big Coin)
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Entering unit)) Equal to Small Coin
      Then - Actions
        Unit - Remove (Entering unit) from the game
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 2.00 seconds the text: Small Gold Coin: +900 gold to pink and light blue.
        Game - Display to (All players) for 2.00 seconds the text:
        Game - Display to (All players) for 2.00 seconds the text:
        Game - Display to (All players) for 2.00 seconds the text:
        Game - Display to (All players) for 2.00 seconds the text:
        Player - Add 900 to Player 8 (Pink).Current gold
        Player - Add 900 to Player 10 (Light Blue).Current gold
      Else - Actions
        Unit - Remove (Entering unit) from the game
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 2.00 seconds the text: Big Gold Coin: +4500 gold to pink and light blue.
        Game - Display to (All players) for 2.00 seconds the text:
        Game - Display to (All players) for 2.00 seconds the text:
        Game - Display to (All players) for 2.00 seconds the text:
        Game - Display to (All players) for 2.00 seconds the text:
        Player - Add 4500 to Player 8 (Pink).Current gold
        Player - Add 4500 to Player 10 (Light Blue).Current gold
Bandit Peons
  Events
  Conditions
  Actions
    -------- Yellow gold --------
    Unit - Create 7.Outlaw Labourer for Player 5 (Yellow) at (Center of yellow_peons_spawn <gen>) facing Default building facing degrees
    -------- Grey gold --------
    Unit - Create 7.Outlaw Labourer for Player 9 (Gray) at (Center of grey_peons_spawn <gen>) facing Default building facing degrees
    -------- Yellow gold --------
    Unit - Create 7.Outlaw Labourer for Player 12 (Brown) at (Center of brown_peons_spawn <gen>) facing Default building facing degrees
Pink Peons
  Events
  Conditions
  Actions
    -------- Pink gold --------
    Unit - Create 9.Farmhand for Player 8 (Pink) at (Center of pink_peons_spawn <gen>) facing Default building facing degrees
Light Blue Peons
  Events
  Conditions
  Actions
    -------- Lightblue gold --------
    Unit - Create 9.Farmhand for Player 10 (Light Blue) at (Center of lightblue_peons_spawn <gen>) facing Default building facing degrees
Red Peons
  Events
  Conditions
  Actions
    -------- Red gold --------
    Unit - Create 9.Weakling for Player 1 (Red) at (Center of red_peons_spawn <gen>) facing Default building facing degrees
Purple Peons
  Events
  Conditions
  Actions
    -------- Purple gold --------
    Unit - Create 9.Weakling for Player 4 (Purple) at (Center of vision_grom_base <gen>) facing Default building facing degrees
Green peons
  Events
  Conditions
  Actions
    -------- Green gold --------
    Unit - Create 10.Soulless Acolyte for Player 7 (Green) at (Center of green_peons_spawn <gen>) facing Default building facing degrees
Bandit AI and gold all
  Events
  Conditions
  Actions
    Player Group - Pick every player in EnemyTeams and do (Add 99999 to (Picked player).Current gold)
    Player Group - Pick every player in EnemyTeams and do (Add 99999 to (Picked player).Current lumber)
    AI - Start campaign AI script for Player 5 (Yellow): war3mapImported\yellow ai v2.ai (aiscript)
    AI - Start campaign AI script for Player 9 (Gray): war3mapImported\grey ai v2.ai (aiscript)
    AI - Start campaign AI script for Player 12 (Brown): war3mapImported\brown ai v2.ai (aiscript)
    Hero - Learn skill for Rogue Scientist 0018 <gen>: Acid Bomb
    Hero - Learn skill for Rogue Scientist 0018 <gen>: Acid Bomb
    Hero - Learn skill for Rogue Scientist 0018 <gen>: Acid Bomb
    Hero - Learn skill for Rogue Scientist 0018 <gen>: Tranquility Scientist
    Hero - Learn skill for Pyromancer 0065 <gen>: Flame Strike
    Hero - Learn skill for Pyromancer 0065 <gen>: Flame Strike
    Hero - Learn skill for Pyromancer 0065 <gen>: Flame Strike
Pink AI
  Events
  Conditions
  Actions
    AI - Start campaign AI script for Player 8 (Pink): war3mapImported\pink ai v2.ai (aiscript)
Light Blue AI
  Events
  Conditions
  Actions
    AI - Start campaign AI script for Player 10 (Light Blue): war3mapImported\lightblue ai v5.ai (aiscript)
Red AI
  Events
  Conditions
  Actions
    AI - Start campaign AI script for Player 1 (Red): war3mapImported\red ai v3.ai (aiscript)
Purple AI
  Events
  Conditions
  Actions
    AI - Start campaign AI script for Player 4 (Purple): war3mapImported\purple ai v2.ai (aiscript)
Green AI
  Events
  Conditions
  Actions
    AI - Start campaign AI script for Player 7 (Green): war3mapImported\green ai v4.ai (aiscript)
Yellow Gold check
  Events
    Player - Player 5 (Yellow)'s Current gold becomes Less than or equal to 3000.00
  Conditions
  Actions
    Player - Add 3000 to Player 5 (Yellow).Current gold
Grey Gold Check
  Events
    Player - Player 9 (Gray)'s Current gold becomes Less than or equal to 3000.00
  Conditions
  Actions
    Player - Add 3000 to Player 9 (Gray).Current gold
Brown Gold Check
  Events
    Player - Player 12 (Brown)'s Current gold becomes Less than or equal to 3000.00
  Conditions
  Actions
    Player - Add 3000 to Player 12 (Brown).Current gold
Pink lumber check
  Events
    Player - Player 8 (Pink)'s Current lumber becomes Less than or equal to 3000.00
  Conditions
  Actions
    Player - Add 3000 to Player 8 (Pink).Current lumber
Lightblue lumber check
  Events
    Player - Player 10 (Light Blue)'s Current lumber becomes Less than or equal to 3000.00
  Conditions
  Actions
    Player - Add 3000 to Player 10 (Light Blue).Current lumber
Single Player share
  Events
    Map initialization
  Conditions
    (Player 3 (Teal) slot status) Not equal to Is playing
  Actions
    Game - Grant shared vision and full shared unit control of Player 3 (Teal) units with his/her allies
Blue leaves
  Events
    Player - Player 2 (Blue) leaves the game
  Conditions
  Actions
    Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
Teal leaves
  Events
    Player - Player 3 (Teal) leaves the game
  Conditions
  Actions
    Game - Grant shared vision and full shared unit control of Player 3 (Teal) units with his/her allies
Shredder
  Events
    Unit - A unit Starts the effect of an ability
  Conditions
    (Ability being cast) Equal to Self-Destruct (Goblin Sapper)
  Actions
    Special Effect - Create a special effect attached to the overhead (attachpoint) of (Triggering unit) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
    Wait 3.00 seconds
    Special Effect - Destroy (Last created special effect)
Configuration
  Events
    Map initialization
  Conditions
  Actions
    -------- --------------------------------------------- --------
    -------- Store your ability id here --------
    Set VariableSet DSB_Ability_ID = Echo Toss
    -------- Store your dummy here --------
    Set VariableSet DSB_Dummy_Type = Spinning Blade - Rexxar Double Blade Spell
    Set VariableSet DSB_Dummy_Type2 = Rokhan Dummy - Rexxar Double Blade Spell
    -------- Your Dummy's animation when cast the spell --------
    Set VariableSet DSB_Dummy2_Animation = attack
    -------- Your Dummy's animation speed when play it's animation --------
    Set VariableSet DSB_Animation_Speed = 200.00
    -------- Your 2nd Dummy's expiration timer --------
    Set VariableSet DSB_Dummy2_Lifetime = 1.00
    -------- Your 2nd Dummy's color (RGB) --------
    Set VariableSet DSB_Dummy2_RED = 60.00
    Set VariableSet DSB_Dummy2_GREEN = 60.00
    Set VariableSet DSB_Dummy2_BLUE = 60.00
    -------- Your 2nd Dummy's transparency --------
    Set VariableSet DSB_Dum