1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  3. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  4. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  5. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  6. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  7. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

3P Orc04 v2.1.w3x
Variables
WESTRING_VARIABLESCATEGORY
Map Initialization
Initialization
Start Music
Initial Ownerships
Cheats and Commands
Disable Faction Sharing
Enable Faction Sharing
Intro Cinematic
IntroCinematic
IntroCancel
Gameplay
Main Quest Q
GruntFacesGrom
GruntFacesGrom 2
GoblinTown
Grom Approaches Goblins
GoblinCinematic
GoblinCancel
Resume Harvesting
FurbolgFlythrough
CompleteGoblinQuest
CompleteGoblinQuest Q
ShredderHint
ShredderHint Q
FurbolgCamp
ApproachingFurbolgCamp
ApproachingFurbolgCamp Q
ChieftanDies No Quest
ChieftanDies
ChieftanDies Q
Leaderboard
Create Leaderboard
Update Leaderboard
Initial Ambush
Trigger Ambush
AmbushVoiceOver
AmbushVoiceOver Q
Trees of Life
ApproachingTreeofLife01
ApproachingTreeofLife02
ApproachingTreeofLife03
ApproachingTreeofLife04
ApproachingTreeofLife05
ApproachingTreeOfLife Q
FirstTreeDies
FirstTreeDies Copy
FirstTreeDies Q
FirstTreeDies OptLine
Lumber Bonuses
TreeOfLife01Dies
TreeOfLife02Dies
TreeOfLife03Dies
TreeOfLife04Dies
TreeOfLife05Dies
TreeOfLifeBonus Q
AllTreesDie Q
DayNight
DuskFogLoop
DawnFogLoop
Dawn
Dusk
ExperienceCap
ExperienceCap
Voice Overs
GromIsWounded
GromIsWounded Q
GromApproachesWisp
GromApproachesWisp Q
NearingLumberQuota
NearingLumberQuota Q
WomenTheyAreWomen
WomenTheyAreWomen Q
WhenGoodHippogryphsGoBad
WhenGoodHippogryphsGoBad Q
PillageHasBeenResearched
PillageHint
PillageHint Q
FaerieCircles
FaerieCircle01
FaerieGroup01Dead
FaerieCircle02
FaerieGroup02Dead
Victory and Defeat Conditions
Victory Condition
Victory Q
Defeat Condition
Start AI
Start AI
AI Resources
BlueGold
BlueLumber
TealGold
TealLumber
GreenGold
GreenLumber
GreenGreenGold
GreenGreenLumber
IZZZZZZZZZZZZZZZZZZZZZZZI
Custom - Hero Experience
ExperienceCap2
ExperienceCap3
ExperienceCap4
Custom - Other Triggers
Bwonsamdi Call
Bwonsamdi Call 2
Skip Cinematic
FrostWolfGrunt
Leaves Game
Custom - Save System
Init Gametext
Startgame New
Startgame Load
Endgame Text
Startgame Text
Startgame Text 2
Startgame Text 3
Custom Variables
Custom - Heroic m
Delete Normal
Research Elf
Custom - Hints
Druid of the WildHint
Druid of the WildHint Q
Custom - Samuro Defend Base
Samuro Go Defend Base
Custom - Samuro Patrol
Samuro Scouts01Push
Samuro Scouts02Push
Samuro Scouts03Push
Base Is Attacked
Samuro Patrol to 01
Base Is Attacked 2
Base Is Attacked 3
SamuroTargetDies
Samuro Returns Копировать
Custom - Hekazi
Hekazi
Warmonger
Custom - Lumber Bonuses
TreeOfLife01Dies Копировать
TreeOfLife02Dies Копировать
TreeOfLife03Dies Копировать
TreeOfLifeBonus Q Копировать
AllTreesDie Q Копировать
Custom - DarkTrolls
DarkTrolls Cinematic
Choose Destiny
click
function SaveLoad_InitialSetup takes nothing returns nothing
    local integer i = 0
    local integer j = 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    set m = 0

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

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

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

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

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

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

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

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

function SaveLoad_Decode takes string s returns boolean
    if udg_SaveLoad_CaseSensitive == false then
        set udg_SaveLoad_Alphabet = StringCase(udg_SaveLoad_Alphabet,true)
        set s = StringCase(s,true)
    endif
    if SaveLoad_DecodeValues(s) then
        return true
    endif
    return false
endfunction
Name Type Is Array Initial Value
Ambusher01 unit No
Ambusher02 unit No
Ambusher03 unit No
ApproachedTree unit No UnitNull
BonusesFound integer No
BonusesTotal integer No
Buttons button Yes
CairneSpells integer Yes
CampaignScore integer No
ChieftainLights weathereffect No
Cinematic boolean No true
Code string No
DawnTimer timer No
DefeatAllBuildingsDead boolean No
DuskTimer timer No
EnoughPlayers boolean No
ExchangeFail1 boolean No
ExchangeFail2 boolean No
ExchangeFail3 boolean No
ExchangeSelection1 group No
ExchangeSelection2 group No
ExchangeSuccess boolean No
Exchanging1 boolean No
Exchanging2 boolean No
Extra integer No
ExtraTotal integer No
FaerieGroup01 group No
FaerieGroup02 group No
FaerieGroup03 group No
FaerieSound01 sound No
FaerieSound02 sound No
FaerieSound03 sound No
FaerieSpawnSound sound No SoundNull
FaerieWeather01 weathereffect No
FaerieWeather02 weathereffect No
FaerieWeather03 weathereffect No
FinalInventory string Yes
FinalRank string No
FirstDeadFro unit No UnitNull
FogMax real No 0.00
FogMin real No 0.00
FurbolgChieftan unit No
FurbolgQuestCompleted boolean No false
FurbolgQuestDestroyed boolean No false
FurbolgQuestRecieved boolean No false
FurbolgVisibilitya fogmodifier No
FurbolgVisibilityb fogmodifier No
GameOver boolean No false
GameSelection boolean No true
GoblinCinHiddenUnits group No
GoblinSkipped boolean No false
Grom unit No
GromDeaths integer No
Grunt01 unit No
HarpyBoss unit No
HarpyGroup group No
Hero1 unit No
Hero2 unit No
Hero3 unit No
HEROICMODE boolean No
InCinematic boolean No false
InitialDefenders group No
InitialPeons group No
IntroSkipped boolean No false
LeaderboardCreated boolean No false
LeaderboardLumber leaderboard No
MissionNumber integer No
Nazgrel unit No
NazgrelEarthgroup group No
NazgrelEarthTable hashtable No
NazgrelLightningUnit unit No
NeelocGreedyfingers unit No
NewVote1 boolean No
NewVote2 boolean No
NewVote3 boolean No
Orcs force No
P_NEBlue player No Player01
P_NEGreen player No Player11
P_NELightBlue player No Player09
P_NETeal player No Player02
PeasantSpeaks string Yes
PillageResearched boolean No false
Player1 player No
Player2 player No
Player3 player No
QuestFurbolgRequirementChiefta questitem No
QuestFurbolgRequirementReturn questitem No
QuestFurbolgs quest No
QuestLumber quest No
QuestLumberRequirement15000 questitem No
QuestPillage quest No
QuestPillage2 quest No
QuestPillageRequirementFro questitem No
QuestPillageRequirementFro2 questitem No
QuestZeppelin quest No
RankInteger integer No
Requirement_Region rect No
RequirementTech boolean Yes
RequirementUnitP1 unit Yes
RequirementUnitP2 unit Yes
RequirementUnitType unitcode Yes
ResearchEnabledT2 boolean Yes
ResearchEnabledT3 boolean Yes
ResearchStringT1 string Yes
ResearchStringT2 string Yes
ResearchStringT3 string Yes
ResearchType techcode Yes
ResourceDropBuildings group No
ResourceDropHashtable hashtable No
SamuroSpeaks string Yes
SamuroTarget unit No
Save integer Yes
SaveCount integer No
SaveLoad_Abilities abilcode Yes
SaveLoad_Abilities_LastIndex integer No
SaveLoad_Alphabet string No
SaveLoad_CaseSensitive boolean No
SaveLoad_Compress integer Yes
SaveLoad_Heroes unitcode Yes
SaveLoad_Heroes_LastIndex integer No
SaveLoad_Initialized boolean No
SaveLoad_Items itemcode Yes
SaveLoad_Items_LastIndex integer No
SaveLoad_TotalTime integer No
SaveLoad_Uncompress integer Yes
SaveLoad_UsePlayername boolean No
ScoreBonuses integer No
ScoreExtra integer No
ScoreLimit integer Yes
ScoreMax integer No
ScoreSubquests integer No
ScoreTime integer No
SelectedUnits1 group No
SelectedUnits2 group No
SelectedUnits3 group No
SelectionGroup1 group No
SelectionGroup2 group No
Shredder01 unit No
Shredder02 unit No
SkipVote1 boolean No
SkipVote2 boolean No
SkipVote3 boolean No
SpeakingDistance real No 1600.00
SpecialEffect01 effect No
SubquestsComplete integer No
SubquestsTotal integer No
SumRank integer No
TempBoolean boolean No
TempInteger integer No
TempItem item No
TempItemType itemcode No
TempPGroup force No
TempPGroup2 force No
TempPlayer player No
TempPoint location No
temppoint location No
temppoint2 location No
tempugroup group No
TempUGroup group No
TempUnit unit No
TempUnitType unitcode No
TimeHours integer No
TimeMax real No
TimeMin real No
TimeMins integer No
TimeRange real No
TimeSeconds integer No
TimeSecondsTotal integer No
TimeTakenString string No
TreeOfLife01 unit No
TreeOfLife01Dead boolean No false
TreeOfLife02 unit No
TreeOfLife02Dead boolean No false
TreeOfLife03 unit No
TreeOfLife03Dead boolean No false
TreeOfLife04 unit No
TreeOfLife04Dead boolean No false
TreeOfLife05 unit No
TreeOfLife05Dead boolean No false
TreeOfWild01 unit No
TreeOfWild01Dead boolean No false
TreeOfWild02 unit No
TreeOfWild02Dead boolean No false
TreeOfWild03 unit No
TreeOfWild03Dead boolean No false
UnitGroup group No
Validate boolean No
Visibility01 fogmodifier No
Visibility02 fogmodifier No
Voljin unit No
Win dialog No
x real No
y real No
Initialization
  Events
    Map initialization
  Conditions
  Actions
    Unit - Remove Harvest (Gold and Lumber) from Peon 0252 <gen>
    Unit - Remove Harvest (Gold and Lumber) from Peon 0227 <gen>
    Unit - Remove Harvest (Gold and Lumber) from Peon 0199 <gen>
    Cinematic - Fade out over 0.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    -------- Player Settings --------
    Player Group - Add Player 4 (Purple) to Orcs
    Player Group - Add Player 11 (Dark Green) to Orcs
    Player - Change color of Player 5 (Yellow) to Purple, Changing color of existing units
    Player - Change color of Player 8 (Pink) to Green, Changing color of existing units
    Unit - Hide Cavalry 0260 <gen>
    Unit - Hide Cavalry 0261 <gen>
    Unit - Hide Cavalry 0262 <gen>
    Player - Set Player 4 (Purple).Current gold to 700
    Player - Set Player 4 (Purple).Current lumber to 200
    Player - Set Player 11 (Dark Green).Current gold to 700
    Player - Set Player 11 (Dark Green).Current lumber to 200
    Player - Set Player 6 (Orange).Current gold to 700
    Player - Set Player 6 (Orange).Current lumber to 200
    Player - Set Player 7 (Green).Current gold to 1500
    Player - Set Player 7 (Green).Current lumber to 1001
    Player - Set P_NEBlue.Current gold to 2107
    Player - Set P_NEBlue.Current lumber to 1142
    Player - Set P_NEGreen.Current gold to 3281
    Player - Set P_NEGreen.Current lumber to 2129
    Player - Set P_NELightBlue.Current gold to 2076
    Player - Set P_NELightBlue.Current lumber to 1973
    Player - Set P_NETeal.Current gold to 2206
    Player - Set P_NETeal.Current lumber to 1976
    Player - Make P_NEBlue treat P_NEGreen as an Ally with shared vision
    Player - Make P_NEBlue treat P_NELightBlue as an Ally with shared vision
    Player - Make P_NEBlue treat P_NETeal as an Ally with shared vision
    Player - Make P_NEBlue treat Neutral Hostile as an Ally with shared vision
    Player - Make P_NEGreen treat P_NEBlue as an Ally with shared vision
    Player - Make P_NEGreen treat P_NELightBlue as an Ally with shared vision
    Player - Make P_NEGreen treat P_NETeal as an Ally with shared vision
    Player - Make P_NEGreen treat Neutral Hostile as an Ally with shared vision
    Player - Make P_NELightBlue treat P_NEBlue as an Ally with shared vision
    Player - Make P_NELightBlue treat P_NEGreen as an Ally with shared vision
    Player - Make P_NELightBlue treat P_NETeal as an Ally with shared vision
    Player - Make Player 7 (Green) treat Player 2 (Blue) as an Ally with shared vision
    Player - Make Player 2 (Blue) treat Player 7 (Green) as an Ally with shared vision
    Player - Make Player 7 (Green) treat Player 3 (Teal) as an Ally with shared vision
    Player - Make Player 3 (Teal) treat Player 7 (Green) as an Ally with shared vision
    Player - Make Player 7 (Green) treat Player 10 (Light Blue) as an Ally with shared vision
    Player - Make Player 7 (Green) treat Player 12 (Brown) as an Ally with shared vision
    Player - Make Player 10 (Light Blue) treat Player 7 (Green) as an Ally with shared vision
    Player - Make Player 12 (Brown) treat Player 7 (Green) as an Ally with shared vision
    Player - Make P_NELightBlue treat Neutral Hostile as an Ally with shared vision
    Player - Make P_NETeal treat P_NEBlue as an Ally with shared vision
    Player - Make P_NETeal treat P_NEGreen as an Ally with shared vision
    Player - Make P_NETeal treat P_NELightBlue as an Ally with shared vision
    Player - Make P_NETeal treat Neutral Hostile as an Ally with shared vision
    Player - Change color of P_NEGreen to Blue, Changing color of existing units
    Player - Change color of P_NELightBlue to Blue, Changing color of existing units
    Player - Change color of P_NEBlue to Light Blue, Changing color of existing units
    Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally with shared vision
    Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision
    Player - Make Player 1 (Red) treat Player 11 (Dark Green) as an Ally with shared vision
    Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Player 11 (Dark Green) treat Player 1 (Red) as an Ally with shared vision
    Player - Make Neutral Hostile treat P_NEBlue as an Ally with shared vision
    Player - Make Neutral Hostile treat P_NEGreen as an Ally with shared vision
    Player - Make Neutral Hostile treat P_NELightBlue as an Ally with shared vision
    Player - Make Neutral Hostile treat P_NETeal as an Ally with shared vision
    -------- - --------
    Player - Make Player 8 (Pink) treat Player 1 (Red) as an Ally
    Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Ally
    Player - Make Player 8 (Pink) treat Player 6 (Orange) as an Ally
    Player - Make Player 8 (Pink) treat Player 11 (Dark Green) as an Ally
    Player - Make Player 1 (Red) treat Player 8 (Pink) as an Ally
    Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Ally
    Player - Make Player 6 (Orange) treat Player 8 (Pink) as an Ally
    Player - Make Player 11 (Dark Green) treat Player 8 (Pink) as an Ally
    -------- Unit Settings --------
    Set VariableSet InitialDefenders = (Units in InitialDefenders <gen>)
    Set VariableSet Grunt01 = Grunt 0042 <gen>
    Set VariableSet Voljin = |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    Set VariableSet FurbolgChieftan = Furbolg Chieftain 0059 <gen>
    Set VariableSet Ambusher01 = Elite Huntress 0084 <gen>
    Set VariableSet Ambusher02 = Archer 0005 <gen>
    Set VariableSet Ambusher03 = Archer 0007 <gen>
    Set VariableSet NeelocGreedyfingers = Neeloc Greedyfingers 0049 <gen>
    Unit - Make NeelocGreedyfingers Invulnerable
    Special Effect - Create a special effect attached to the overhead (attachpoint) of NeelocGreedyfingers using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
    Set VariableSet SpecialEffect01 = (Last created special effect)
    Set VariableSet TreeOfLife01 = Tree of Life 0015 <gen>
    Set VariableSet TreeOfLife02 = Tree of Life 0124 <gen>
    Set VariableSet TreeOfLife03 = Tree of Life 0123 <gen>
    Set VariableSet TreeOfLife04 = Tree of Life 0021 <gen>
    Set VariableSet TreeOfLife05 = Tree of Life 0056 <gen>
    Set VariableSet Shredder01 = Goblin Shredder 0088 <gen>
    Set VariableSet Shredder02 = Goblin Shredder 0099 <gen>
    Unit - Make Shredder01 Invulnerable
    Unit - Make Shredder02 Invulnerable
    Unit - Make Goblin Shredder 0259 <gen> Invulnerable
    Set VariableSet InitialPeons = (Units of type Peon)
    Hero - Make Player1 Heroes gain 50.00% experience from future kills
    Hero - Make Player2 Heroes gain 50.00% experience from future kills
    Hero - Make Player 6 (Orange) Heroes gain 50.00% experience from future kills
    Unit - Change color of Huntress 0130 <gen> to Light Blue
    Unit - Change color of Moon Well 0125 <gen> to Light Blue
    Unit - Change color of Archer 0126 <gen> to Light Blue
    Unit - Change color of Ballista 0127 <gen> to Light Blue
    Unit - Change color of Tree of Life 0124 <gen> to Light Blue
    Unit - Change color of Archer 0131 <gen> to Light Blue
    Unit - Make Wisp 0193 <gen> Invulnerable
    Unit - Make Wisp 0149 <gen> Invulnerable
    Unit - Make Wisp 0150 <gen> Invulnerable
    Unit - Make Wisp 0151 <gen> Invulnerable
    -------- Sound Settings --------
    Sound - Set position of FurbolgDeath1 <gen> to (Position of FurbolgChieftan) with Z offset 0
    Set VariableSet FaerieSpawnSound = BansheeGhostYesAttack1 <gen>
    Set VariableSet FaerieSound01 = UndeadGlueScreenLoop1 <gen>
    Set VariableSet FaerieSound02 = UndeadGlueScreenLoop1 <gen>
    Set VariableSet FaerieSound03 = UndeadGlueScreenLoop1 <gen>
    Sound - Set position of FaerieSound01 to (Center of FaerieCircle01 <gen>) with Z offset 0
    Sound - Set position of FaerieSound02 to (Center of FaerieCircle02 <gen>) with Z offset 0
    -------- Map Settings --------
    Destructible - Pick every destructible in StartingTrees <gen> and do (If ((Destructible-type of (Picked destructible)) Equal to ATtr (destructablecode)) then do (Set life of (Picked destructible) to ((Current life of (Picked destructible)) / 2.00)) else do (Do nothing))
    Game - Set the time of day to 20.00
    Environment - Set sky to Felwood Sky
    Environment - Set fog to style 0 (fogstyle), z-start 4000.00, z-end 15000.00, density 0 and color (100%, 100%, 100%)
    Set VariableSet FogMax = 15000.00
    Set VariableSet FogMin = 4000.00
    Environment - Create at FaerieCircle01 <gen> the weather effect Rays Of Light
    Set VariableSet FaerieWeather01 = (Last created weather effect)
    Environment - Create at FaerieCircle02 <gen> the weather effect Rays Of Light
    Set VariableSet FaerieWeather02 = (Last created weather effect)
    Set VariableSet FaerieWeather03 = (Last created weather effect)
    Environment - Create at ChieftanLights <gen> the weather effect Rays Of Light
    Set VariableSet ChieftainLights = (Last created weather effect)
    -------- Quest Settings --------
    Quest - Create a Required quest titled Slash and Burn with the description Before Thrall's vision of a new Orc settlement can be attained, a massive amount of lumber must be harvested. Luckily, the dense, lush forests of Ashenvale will prove to be an abundant source of lumber., using icon path ReplaceableTextures\CommandButtons\BTNOrcLumberUpgradeTwo.tga
    Set VariableSet QuestLumber = (Last created quest)
    Quest - Create a quest requirement for QuestLumber with the description Amass 15,000 units of lumber
    Set VariableSet QuestLumberRequirement15000 = (Last created quest requirement)
    Quest - Create a Optional, undiscovered quest titled Furbolg Chieftain with the description A nearby tribe of Furbolgs has begun to harass the Goblin Merchant and is scaring away potential customers. If you can slay the beasts' chieftain, the tribe may disperse and improve the Goblin town's commercial viability., using icon path ReplaceableTextures\CommandButtons\BTNFurbolgElder.tga
    Set VariableSet QuestFurbolgs = (Last created quest)
    Quest - Create a quest requirement for QuestFurbolgs with the description Slay the Furbolg Chieftain
    Set VariableSet QuestFurbolgRequirementChiefta = (Last created quest requirement)
    Quest - Create a Optional, undiscovered quest titled Destroy Trees of Life with the description The enormous, enchanted Trees of Life will provide your forces with vast amounts of high quality lumber. You must seek out the sacred Trees and rip them down! Be wary, though. The warrior women who protect the forests are sure to take offense at the despoiling of their land., using icon path ReplaceableTextures\CommandButtons\BTNTreeOfLife.tga
    Set VariableSet QuestPillage = (Last created quest)
    Quest - Create a quest requirement for QuestPillage with the description Destroy the Trees of Life
    Set VariableSet QuestPillageRequirementFro = (Last created quest requirement)
    Quest - Create a Optional quest titled Destroy Ancients of wild with the description Elven troops use many trees to support their troops. The destruction of each of them is the weakening of the enemy., using icon path ReplaceableTextures\CommandButtons\BTNAncientOfTheEarth.blp
    Set VariableSet QuestPillage2 = (Last created quest)
    Quest - Create a quest requirement for QuestPillage2 with the description Destroy the Ancients of Wild
    Set VariableSet QuestPillageRequirementFro2 = (Last created quest requirement)
    Unit Group - Pick every unit in (Units in Workers_Work <gen>) and do (Play (Picked unit)'s stand work (animationname) animation)
    Unit Group - Pick every unit in (Units in Workers_Work <gen>) and do (Make (Picked unit) Invulnerable)
    Set VariableSet PeasantSpeaks[1] = We're working the best we can! These barricades should hold!
    Set VariableSet PeasantSpeaks[2] = The boss ordered to build barricades, suddenly some creatures of the wasteland attack in the rear.
    Set VariableSet SamuroSpeaks[1] = Keep the line, we can not allow to be attacked from the rear
    Set VariableSet SamuroSpeaks[2] = Honor and glory to the Horde!
    -------- Run Triggers --------
    Trigger - Run Start_Music <gen> (checking conditions)
Start Music
  Events
  Conditions
  Actions
    Sound - Clear the music list
    Wait 0.01 seconds
    Sound - Play Dark Agents.
    Sound - Set the music list to Music, starting with song 0
Initial Ownerships
  Events
    Map initialization
  Conditions
  Actions
    Unit - Change ownership of |c008000FFChieftain of the Warsong Clan|r 0209 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Grunt 0042 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Shaman 0047 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Shaman 0045 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Peon 0013 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Peon 0012 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Peon 0011 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Stronghold 0090 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Barracks 0205 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of War Mill 0037 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Orc Burrow 0040 <gen> to Player 4 (Purple) and Change color
    Unit - Change ownership of Orc Burrow 0041 <gen> to Player 4 (Purple) and Change color
    -------- - --------
    Unit - Change ownership of |c00106246Bone Crusher|r 0206 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Raider 0006 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Raider 0107 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Peon 0014 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Peon 0016 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Peon 0225 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Great Hall 0204 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Barracks 0023 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of War Mill 0038 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Orc Burrow 0108 <gen> to Player 11 (Dark Green) and Change color
    Unit - Change ownership of Orc Burrow 0108 <gen> to Player 11 (Dark Green) and Change color
    -------- - --------
    Unit - Change ownership of |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Darkspear Hall 0211 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Dregder 0212 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Dregder 0221 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Dregder 0217 <gen> to Player 6 (Orange) and Change color
    Unit - Change ownership of Druid of the Wild 0251 <gen> to Player 6 (Orange) and Change color
Disable Faction Sharing
  Events
    Player - Player 4 (Purple) types a chat message containing /Avision (stringnoformat) as A substring
    Player - Player 6 (Orange) types a chat message containing /Avision (stringnoformat) as A substring
    Player - Player 11 (Dark Green) types a chat message containing /Avision (stringnoformat) as A substring
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Ally with shared vision
    Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Ally with shared vision
    Player - Make Player 6 (Orange) treat Player 11 (Dark Green) as an Ally with shared vision
    Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Ally with shared vision
    Player - Make Player 11 (Dark Green) treat Player 6 (Orange) as an Ally with shared vision
Enable Faction Sharing
  Events
    Player - Player 4 (Purple) types a chat message containing /Aforce (stringnoformat) as A substring
    Player - Player 6 (Orange) types a chat message containing /Aforce (stringnoformat) as A substring
    Player - Player 11 (Dark Green) types a chat message containing /Aforce (stringnoformat) as A substring
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Ally with shared vision and full shared units
    Player - Make Player 4 (Purple) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 6 (Orange) treat Player 11 (Dark Green) as an Ally with shared vision and full shared units
    Player - Make Player 11 (Dark Green) treat Player 4 (Purple) as an Ally with shared vision and full shared units
    Player - Make Player 11 (Dark Green) treat Player 6 (Orange) as an Ally with shared vision and full shared units
IntroCinematic
  Events
  Conditions
  Actions
    Set VariableSet InCinematic = True
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Disable user control for (All players).
    Game - Turn the day/night cycle Off
    Wait 0.10 seconds
    Player - Disable Shadow Meld for P_NEBlue
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop01 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop02 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop03 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop04 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop05 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop06 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop07 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop08 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop09 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop10 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop11 <gen>
    Sound - Add WaterLakeLoop1 <gen> across LakeLoop12 <gen>
    Unit - Grant shared vision of Archer 0003 <gen> to Player1
    Unit - Grant shared vision of Archer 0003 <gen> to Player2
    Unit - Grant shared vision of Archer 0003 <gen> to Player 6 (Orange)
    Unit - Pause Archer 0003 <gen>
    Camera - .Apply. gg_cam_Load_Camera for Player1 over 0 seconds
    Camera - .Apply. gg_cam_Load_Camera for Player2 over 0 seconds
    Camera - .Apply. gg_cam_Load_Camera for Player 6 (Orange) over 0 seconds
    Wait 1.00 seconds
    Animation - Lock Grom's Head to face Grunt01, offset by (0, 0, 90)
    Animation - Play Grunt01's stand (animationname) animation, using only Common animations
    Unit Group - Pick every unit in (Units owned by P_NELightBlue of type Wisp) and do (Order (Picked unit) to Harvest Nearby Lumber.)
    -------- NOW SKIPPABLE --------
    Trigger - Turn on IntroCancel <gen>
    Trigger - Turn on Skip_Cinematic <gen>
    -------- Pan In --------
    Camera - .Apply. gg_cam_Intro01 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Intro01 for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Intro01 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Intro01B for Player 4 (Purple) over (6.00 + (0.25 x (Length of O04Grom01 <gen>))) seconds
    Camera - .Apply. gg_cam_Intro01B for Player 11 (Dark Green) over (6.00 + (0.25 x (Length of O04Grom01 <gen>))) seconds
    Camera - .Apply. gg_cam_Intro01B for Player 6 (Orange) over (6.00 + (0.25 x (Length of O04Grom01 <gen>))) seconds
    Wait 0.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit Group - Pick every unit in InitialPeons and do (Order (Picked unit) to Harvest Nearby Lumber.)
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Order |c008000FFChieftain of the Warsong Clan|r 0209 <gen> to Move To.(Center of IntroGrom01 <gen>)
    Unit - Order |c00106246Bone Crusher|r 0206 <gen> to Move To.(Center of Region_062 <gen>)
    Unit - Order |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> to Move To.(Center of _______________065 <gen>)
    Wait 4.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Grom's stand (animationname) animation, using only Common animations
    Wait 1.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Intro04 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Intro04 for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Intro04 for Player 6 (Orange) over 0 seconds
    -------- Start Dialog --------
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play O04Grom01 <gen> and display Damn Thrall for sending us away! He chooses to use his greatest warriors for manual labor? He'll be lost without me.. Modify duration: Add 0 seconds and Don't wait
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Wait for O04Grom01 <gen> to be (0.10 x (Length of O04Grom01 <gen>)) seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Order Grunt01 to Move To.(Center of IntroGrunt01 <gen>)
    Animation - Lock Grunt01's Head to face Grom, offset by (0, 0, 110.00)
    Wait 0.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Grunt01's stand (animationname) animation, using only Common animations
    Wait for O04Grom01 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- Grunt Speaks --------
    Cinematic - Send transmission to (All players) from Grunt01 named Warsong Orc: Play O04WarsongOrc02 <gen> and display Chieftain, there's something strange about these woods. It's too... quiet. Almost like we're being watched.. Modify duration: Add 0 seconds and Wait
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Grom's stand (animationname) animation, using only Rare animations
    Animation - Queue Grom's stand (animationname) animation
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play O04Grom03 <gen> and display Are you all afraid of spirits now? There is nothing here but ancient trees and shadow. . Modify duration: Subtract 0.50 seconds and Wait
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- Laughter From Forest --------
    Sound - Play O04FemaleNEA04 <gen>
    Camera - .Apply. gg_cam_IntoSpiritCam01 for Player 4 (Purple) over 0.00 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam01 for Player 11 (Dark Green) over 0.00 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam01 for Player 6 (Orange) over 0.00 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam02 for Player 4 (Purple) over 0.50 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam02 for Player 11 (Dark Green) over 0.50 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam02 for Player 6 (Orange) over 0.50 seconds
    Wait 0.80 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_IntoSpiritCam03 for Player 4 (Purple) over 0.30 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam03 for Player 11 (Dark Green) over 0.30 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam03 for Player 6 (Orange) over 0.30 seconds
    Wait 0.90 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_IntoSpiritCam04 for Player 4 (Purple) over 0.50 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam04 for Player 11 (Dark Green) over 0.50 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam04 for Player 6 (Orange) over 0.50 seconds
    Wait 1.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_IntoSpiritCam05 for Player 4 (Purple) over 0.30 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam05 for Player 11 (Dark Green) over 0.30 seconds
    Camera - .Apply. gg_cam_IntoSpiritCam05 for Player 6 (Orange) over 0.30 seconds
    Unit Group - Pick every unit in InitialPeons and do (Order (Picked unit) to Stop.)
    Unit Group - Pick every unit in InitialPeons and do (Make (Picked unit) face Grom over 0.20 seconds)
    Animation - Reset Grunt01's body-part facing
    Unit - Make Grunt01 face (Center of TriggerAmbush07 <gen>) over 0 seconds
    Wait 0.75 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Play Grom's stand (animationname) animation, using only Common animations
    Sound - Play O04FemaleNEB05 <gen>
    -------- Cut back to grunt --------
    Camera - .Apply. gg_cam_Intro04 for Player 4 (Purple) over 0.00 seconds
    Camera - .Apply. gg_cam_Intro04 for Player 11 (Dark Green) over 0.00 seconds
    Camera - .Apply. gg_cam_Intro04 for Player 6 (Orange) over 0.00 seconds
    Unit - Make Grunt01 face (Center of TriggerAmbush13 <gen>) over 0 seconds
    Wait 1.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Grunt01 face (Center of TriggerAmbush01 <gen>) over 0 seconds
    Wait 1.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Grunt01 face (Center of TriggerAmbush08 <gen>) over 0 seconds
    Wait 0.50 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Grunt01 face (Center of TriggerAmbush01 <gen>) over 0 seconds
    Wait 1.00 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from Grunt01 named Warsong Orc: Play O04WarsongOrc06 <gen> and display You hear that? This place is haunted! I fear no living enemy, but my axe cannot cleave fleshless spirits!. Modify duration: Add 0 seconds and Wait
    Wait (0.20 x (Length of O04WarsongOrc06 <gen>)) seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit - Make Grunt01 face Grom over 0.20 seconds
    Wait (0.30 x (Length of O04WarsongOrc06 <gen>)) seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Lock Grunt01's Head to face Grom, offset by (0, 0, 90)
    Wait for O04WarsongOrc06 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Intro01 for Player1 over 0.00 seconds
    Camera - .Apply. gg_cam_Intro01 for Player2 over 0.00 seconds
    Camera - .Apply. gg_cam_Intro01 for Player 6 (Orange) over 0.00 seconds
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play O04Grom07 <gen> and display Still your tongue and get to work! The warchief's new settlement will require a great deal of lumber. This section of forest must be cleared!. Modify duration: Add 0 seconds and Don't wait
    Wait (0.40 x (Length of O04Grom07 <gen>)) seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Unit Group - Pick every unit in InitialPeons and do (Order (Picked unit) to Harvest Nearby Lumber.)
    Unit - Order Peon 0014 <gen> to Harvest.Ashenvale Tree Wall 4547 <gen>
    Unit - Order Peon 0016 <gen> to Harvest.Ashenvale Tree Wall 4548 <gen>
    Unit - Order Peon 0225 <gen> to Harvest.Ashenvale Tree Wall 4010 <gen>
    Unit - Order Dregder 0212 <gen> to Harvest.Ashenvale Tree Wall 4429 <gen>
    Unit - Order Dregder 0217 <gen> to Harvest.Ashenvale Tree Wall 3910 <gen>
    Unit - Order Dregder 0221 <gen> to Harvest.Ashenvale Tree Wall 4388 <gen>
    Wait for O04Grom07 <gen> to be 0 seconds from finished playing
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Animation - Reset Grom's body-part facing
    Unit - Order Grunt01 to Move To.(Center of IntroGrunt02 <gen>)
    -------- Fade out --------
    Cinematic - Fade out over 2 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - Reset camera for Player 4 (Purple) to standard game-view over 0.00 seconds
    Camera - Reset camera for Player 11 (Dark Green) to standard game-view over 0.00 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 0.00 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Sound - Play WoW___Garrosh_theme__1_u <gen>
    Camera - Pan camera for Player 4 (Purple) to (Position of |c008000FFChieftain of the Warsong Clan|r 0209 <gen>) over 0 seconds
    Camera - Pan camera for Player 11 (Dark Green) to (Position of |c008000FFChieftain of the Warsong Clan|r 0209 <gen>) over 0 seconds
    Camera - Pan camera for Player 6 (Orange) to (Position of |c008000FFChieftain of the Warsong Clan|r 0209 <gen>) over 0 seconds
    Cinematic - Enable user control for (All players).
    Animation - Reset Grom's animation
    Animation - Reset Grunt01's animation
    Selection - Select |c008000FFChieftain of the Warsong Clan|r 0209 <gen> for Player 4 (Purple)
    Selection - Select |c00106246Bone Crusher|r 0206 <gen> for Player 11 (Dark Green)
    Selection - Select |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> for Player 6 (Orange)
    Unit - Remove Archer 0003 <gen> from the game
    Environment - Set sky to None
    Player - Enable Shadow Meld for P_NEBlue
    Wait 0.20 seconds
    If (IntroSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- NO LONGER SKIPPABLE --------
    Trigger - Turn off IntroCancel <gen>
    Trigger - Turn off Skip_Cinematic <gen>
    Set VariableSet SkipVote1 = False
    Set VariableSet SkipVote2 = False
    Set VariableSet SkipVote3 = False
    Unit - Make Wisp 0193 <gen> Vulnerable
    Unit - Make Wisp 0149 <gen> Vulnerable
    Unit - Make Wisp 0150 <gen> Vulnerable
    Unit - Make Wisp 0151 <gen> Vulnerable
    Game - Turn the day/night cycle On
    -------- Fade in --------
    Cinematic - Fade in over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet Cinematic = False
    Wait 1.00 seconds
    Set VariableSet InCinematic = False
    Trigger - Run Gameplay <gen> (checking conditions)
IntroCancel
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play WoW___Garrosh_theme__1_u <gen>
    Set VariableSet IntroSkipped = True
    Set VariableSet SkipVote1 = False
    Set VariableSet SkipVote2 = False
    Set VariableSet SkipVote3 = False
    Cinematic - Fade out over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.60 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Reset camera for Player1 to standard game-view over 0 seconds
    Camera - Reset camera for Player2 to standard game-view over 0 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 0 seconds
    Camera - Pan camera for Player1 to (Position of Grom) over 0 seconds
    Camera - Pan camera for Player2 to (Position of Grom) over 0 seconds
    Camera - Pan camera for Player 6 (Orange) to (Position of Grom) over 0 seconds
    Animation - Reset Grom's animation
    Animation - Reset Grunt01's body-part facing
    Animation - Reset Grom's body-part facing
    Selection - Select Grom for Player1
    Selection - Select Nazgrel for Player2
    Selection - Select |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> for Player 6 (Orange)
    Unit - Remove Archer 0003 <gen> from the game
    Unit - Order Grunt01 to Move To.(Center of IntroGrunt02 <gen>)
    Unit - Make Wisp 0193 <gen> Vulnerable
    Unit - Make Wisp 0149 <gen> Vulnerable
    Unit - Make Wisp 0150 <gen> Vulnerable
    Unit - Make Wisp 0151 <gen> Vulnerable
    Player - Set Player1.Current lumber to 190
    Player - Set Player2.Current lumber to 190
    Player - Set Player 6 (Orange).Current lumber to 190
    Environment - Set sky to None
    Game - Turn the day/night cycle On
    Player - Enable Shadow Meld for P_NEBlue
    Unit Group - Pick every unit in InitialPeons and do (Order (Picked unit) to Harvest Nearby Lumber.)
    Cinematic - Fade in over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet Cinematic = False
    Wait 0.50 seconds
    Set VariableSet InCinematic = False
    Trigger - Run Gameplay <gen> (checking conditions)
Gameplay
  Events
  Conditions
  Actions
    Trigger - Run Start_AI <gen> (checking conditions)
    Trigger - Run Create_Leaderboard <gen> (checking conditions)
    Trigger - Turn on Update_Leaderboard <gen>
    Trigger - Add Main_Quest_Q <gen> to the trigger queue (Checking conditions)
Main Quest Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01MAIN QUEST|r|c00540081Slash and Burn|r - Amass 15,000 lumber
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
GruntFacesGrom
  Events
    Unit - A unit enters IntroGrunt02 <gen>
  Conditions
    (Entering unit) Equal to Grunt01
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Order Grunt01 to Stop.
    Unit - Make Grunt01 face Grom over 0.20 seconds
GruntFacesGrom 2
  Events
    Unit - A unit enters IntroGrunt01 <gen>
  Conditions
    (Entering unit) Equal to Grunt01
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Order Grunt01 to Stop.
    Unit - Make Grunt01 face Grom over 0.20 seconds
Grom Approaches Goblins
  Events
    Unit - A unit enters TriggerGoblinCinematic <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Entering unit) Equal to |c008000FFChieftain of the Warsong Clan|r 0209 <gen>
        (Entering unit) Equal to |c00106246Bone Crusher|r 0206 <gen>
        (Entering unit) Equal to |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    FurbolgQuestDestroyed Equal to False
    (The trigger queue is empty) Equal to True
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add GoblinCinematic <gen> to the trigger queue (Checking conditions)
GoblinCinematic
  Events
  Conditions
    GameOver Equal to False
  Actions
    Set VariableSet InCinematic = True
    Set VariableSet Cinematic = True
    Leaderboard - Hide LeaderboardLumber
    Unit - Make |c008000FFChieftain of the Warsong Clan|r 0209 <gen> Invulnerable
    Unit - Make |c00106246Bone Crusher|r 0206 <gen> Invulnerable
    Unit - Make |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> Invulnerable
    Unit - Remove All buffs from |c008000FFChieftain of the Warsong Clan|r 0209 <gen>
    Unit - Remove All buffs from |c00106246Bone Crusher|r 0206 <gen>
    Unit - Remove All buffs from |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    -------- Fade out and Establish Scene --------
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Cinematic - Turn cinematic mode On for (All players)
    Camera - .Apply. gg_cam_Goblin01 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Goblin01 for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Goblin01 for Player 6 (Orange) over 0 seconds
    Sound - Play Comradeship.
    Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility from (Center of GoblinVision <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 11 (Dark Green) emitting Visibility from (Center of GoblinVision <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility from (Center of GoblinVision <gen>) to a radius of 850.00.
    Visibility - Destroy (Last created visibility modifier)
    -------- Save and clear selection --------
    Set VariableSet SelectedUnits1 = (Units currently selected by Player 4 (Purple))
    Set VariableSet SelectedUnits2 = (Units currently selected by Player 11 (Dark Green))
    Set VariableSet SelectedUnits3 = (Units currently selected by Player 6 (Orange))
    Selection - Clear selection
    Game - Turn the day/night cycle Off
    -------- Pause all non-actors --------
    Unit - Pause all units
    Unit - Unpause |c008000FFChieftain of the Warsong Clan|r 0209 <gen>
    Unit - Unpause |c00106246Bone Crusher|r 0206 <gen>
    Unit - Unpause |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    -------- Hide any units that aren't already hidden --------
    Unit Group - Remove all units from GoblinCinHiddenUnits.
    Unit Group - Add all units of (Units owned by Player 4 (Purple) matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Add all units of (Units owned by Player 11 (Dark Green) matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Add all units of (Units owned by Player 6 (Orange) matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Add all units of (Units owned by P_NEBlue matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Add all units of (Units owned by P_NEGreen matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Add all units of (Units owned by P_NELightBlue matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Add all units of (Units owned by P_NETeal matching (((Matching unit) is hidden) Equal to False).) to GoblinCinHiddenUnits
    Unit Group - Remove |c008000FFChieftain of the Warsong Clan|r 0209 <gen> from GoblinCinHiddenUnits.
    Unit Group - Remove |c00106246Bone Crusher|r 0206 <gen> from GoblinCinHiddenUnits.
    Unit Group - Remove |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> from GoblinCinHiddenUnits.
    Unit Group - Pick every unit in GoblinCinHiddenUnits and do (Hide (Picked unit))
    -------- Revive Grom if necessary --------
    If ((|c008000FFChieftain of the Warsong Clan|r 0209 <gen> is dead) Equal to True) then do (Instantly revive Grom at (Center of Grom01 <gen>), Hide revival graphics) else do (Move Grom instantly to (Center of Grom01 <gen>))
    If ((|c00106246Bone Crusher|r 0206 <gen> is dead) Equal to True) then do (Instantly revive Nazgrel at (Center of Region_063 <gen>), Hide revival graphics) else do (Move Nazgrel instantly to (Center of Region_063 <gen>))
    If ((|c00FF8000Leader of the Darkspear tribe|r 0039 <gen> is dead) Equal to True) then do (Instantly revive |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> at (Center of _______________034 <gen>), Hide revival graphics) else do (Move |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> instantly to (Center of _______________033 <gen>))
    Unit - Order |c008000FFChieftain of the Warsong Clan|r 0209 <gen> to Move To.(Center of Grom02 <gen>)
    Unit - Order |c00106246Bone Crusher|r 0206 <gen> to Move To.(Center of Region_064 <gen>)
    Unit - Order |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> to Move To.(Center of _______________033 <gen>)
    -------- CINEMATIC BEGINS - Cinematic can now be skipped --------
    Trigger - Turn on GoblinCancel <gen>
    Trigger - Turn on Skip_Cinematic <gen>
    -------- Fade in --------
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.50 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- Begin Cinematic --------
    Camera - .Apply. gg_cam_Goblin02 for Player 4 (Purple) over (Length of O04Goblin17 <gen>) seconds
    Camera - .Apply. gg_cam_Goblin02 for Player 11 (Dark Green) over (Length of O04Goblin17 <gen>) seconds
    Camera - .Apply. gg_cam_Goblin02 for Player 6 (Orange) over (Length of O04Goblin17 <gen>) seconds
    -------- GromApproachesGoblin picks up from here when Grom closes within range --------
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Special Effect - Destroy SpecialEffect01
    Sound - Attach IronGolemYes1 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemYes1 <gen> to 40.00%
    Sound - Play IronGolemYes1 <gen>
    Cinematic - Send transmission to (All players) from NeelocGreedyfingers named Neeloc Greedyfingers: Play O04Goblin17 <gen> and display Ah, greetings, good orc. Strange to see one of you in these parts.. Modify duration: Add 0 seconds and Don't wait
    Wait 2 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Attach IronGolemPissed3 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemPissed3 <gen> to 40.00%
    Sound - Play IronGolemPissed3 <gen>
    Wait for O04Goblin17 <gen> to be 0 seconds from finished playing
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - Change camera smoothing factor to 0.00
    Camera - .Apply. gg_cam_Goblin03 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Goblin03 for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Goblin03 for Player 6 (Orange) over 0 seconds
    Sound - Attach IronGolemYes3 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemYes3 <gen> to 40.00%
    Sound - Play IronGolemYes3 <gen>
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play O04Grom18 <gen> and display We are here to cut lumber, little goblin.. Modify duration: Add 0 seconds and Wait
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Run FurbolgFlythrough <gen> (checking conditions)
    Wait 0.50 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from NeelocGreedyfingers named Neeloc Greedyfingers: Play O04Goblin19 <gen> and display Hmm. Well, there's this tribe of bear men, called furbolgs, in this region that's been giving us trouble. If you kill the chieftain, we'll sell our goods to you at cost. We might even let you borrow a few shredders!. Modify duration: Add 0.00 seconds and Wait
    Wait for O04Goblin19 <gen> to be 3.00 seconds from finished playing
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Goblin03 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Goblin03 for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Goblin03 for Player 6 (Orange) over 0 seconds
    Wait for O04Goblin19 <gen> to be 1.50 seconds from finished playing
    Cinematic - Flash a speech indicator for Goblin Shredder 0088 <gen> of color (100%, 100%, 100%) with 0% transparency
    Cinematic - Flash a speech indicator for Goblin Shredder 0099 <gen> of color (100%, 100%, 100%) with 0% transparency
    Sound - Attach IronGolemWhat1 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemWhat1 <gen> to 50.00%
    Sound - Play IronGolemWhat1 <gen>
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Attach IronGolemPissed3 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemPissed3 <gen> to 40.00%
    Sound - Play IronGolemPissed3 <gen>
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play O04Grom20 <gen> and display I'll consider it.. Modify duration: Add 0 seconds and Wait
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Visibility - Create an initially Enabled visibility modifier for Player1 emitting Visibility from (Center of FurbolgRegion <gen>) to a radius of 1280.00.
    Set VariableSet FurbolgVisibilitya = (Last created visibility modifier)
    Visibility - Disable FurbolgVisibilitya
    Visibility - Create an initially Enabled visibility modifier for Player2 emitting Visibility from (Center of FurbolgRegion <gen>) to a radius of 1280.00.
    Set VariableSet FurbolgVisibilityb = (Last created visibility modifier)
    Visibility - Disable FurbolgVisibilityb
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility from (Center of FurbolgRegion <gen>) to a radius of 1280.00.
    Set VariableSet FurbolgVisibilityb = (Last created visibility modifier)
    Visibility - Disable FurbolgVisibilityb
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    -------- CINEMATIC ENDS - Cinematic can no longer be skipped --------
    Trigger - Turn off Skip_Cinematic <gen>
    Trigger - Turn off GoblinCancel <gen>
    -------- Fade out --------
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Camera - Reset camera for Player 4 (Purple) to standard game-view over 0 seconds
    Camera - Reset camera for Player 11 (Dark Green) to standard game-view over 0 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 0 seconds
    Camera - Pan camera for Player 4 (Purple) to (Position of Grom) over 0 seconds
    Camera - Pan camera for Player 11 (Dark Green) to (Position of Grom) over 0 seconds
    Camera - Pan camera for Player 6 (Orange) to (Position of Grom) over 0 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    -------- Unhide the units we hid --------
    Unit Group - Pick every unit in GoblinCinHiddenUnits and do (Unhide (Picked unit))
    Unit - Unpause all units
    Trigger - Run Resume_Harvesting <gen> (checking conditions)
    Game - Turn the day/night cycle On
    -------- Restore selection --------
    Selection - Select SelectedUnits1 for Player 4 (Purple)
    Selection - Select SelectedUnits2 for Player 11 (Dark Green)
    Selection - Select SelectedUnits3 for Player 6 (Orange)
    Unit - Make |c008000FFChieftain of the Warsong Clan|r 0209 <gen> Vulnerable
    Unit - Make |c00106246Bone Crusher|r 0206 <gen> Vulnerable
    Unit - Make |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> Vulnerable
    Leaderboard - Show LeaderboardLumber
    -------- Fade in --------
    Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet Cinematic = False
    Wait 2 seconds
    Cinematic - Ping minimap for (All players) at (Center of ChieftanLights <gen>) for 7.00 seconds
    Quest - Mark QuestFurbolgs as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01OPTIONAL QUEST|r|c00540081Furbolg Chieftain|r - Slay the Furbolg Chieftain
    Set VariableSet FurbolgQuestRecieved = True
    Wait Campaign quest delay seconds
    Set VariableSet InCinematic = False
    Trigger - Remove (This trigger) from the trigger queue
GoblinCancel
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet GoblinSkipped = True
    Cinematic - Fade out over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.50 seconds
    Unit - Move Grom instantly to (Center of Grom02 <gen>)
    Unit - Make Grom face NeelocGreedyfingers over 0 seconds
    Camera - Reset camera for Player 4 (Purple) to standard game-view over 0 seconds
    Camera - Reset camera for Player 11 (Dark Green) to standard game-view over 0 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 0 seconds
    Camera - Pan camera for Player 4 (Purple) to (Position of |c008000FFChieftain of the Warsong Clan|r 0209 <gen>) over 0 seconds
    Camera - Pan camera for Player 11 (Dark Green) to (Position of |c00106246Bone Crusher|r 0206 <gen>) over 0 seconds
    Camera - Pan camera for Player 6 (Orange) to (Position of |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>) over 0 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Camera - Reset camera smoothing factor
    Special Effect - Destroy SpecialEffect01
    Animation - Reset Grom's animation
    Animation - Reset Grom's body-part facing
    Animation - Reset Grunt01's body-part facing
    Visibility - Create an initially Enabled visibility modifier for Player1 emitting Visibility from (Center of FurbolgRegion <gen>) to a radius of 1280.00.
    Set VariableSet FurbolgVisibilitya = (Last created visibility modifier)
    Visibility - Disable FurbolgVisibilitya
    Visibility - Create an initially Enabled visibility modifier for Player2 emitting Visibility from (Center of FurbolgRegion <gen>) to a radius of 1280.00.
    Set VariableSet FurbolgVisibilityb = (Last created visibility modifier)
    Visibility - Disable FurbolgVisibilitya
    Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility from (Center of FurbolgRegion <gen>) to a radius of 1280.00.
    Set VariableSet FurbolgVisibilityb = (Last created visibility modifier)
    Visibility - Disable FurbolgVisibilitya
    -------- Unhide the units we hid --------
    Unit Group - Pick every unit in GoblinCinHiddenUnits and do (Unhide (Picked unit))
    Unit - Unpause all units
    Trigger - Run Resume_Harvesting <gen> (checking conditions)
    Game - Turn the day/night cycle On
    -------- Restore selection --------
    Selection - Select SelectedUnits1 for Player 4 (Purple)
    Selection - Select SelectedUnits2 for Player 11 (Dark Green)
    Selection - Select SelectedUnits3 for Player 6 (Orange)
    Unit - Make |c008000FFChieftain of the Warsong Clan|r 0209 <gen> Vulnerable
    Unit - Make |c00106246Bone Crusher|r 0206 <gen> Vulnerable
    Unit - Make |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> Vulnerable
    Leaderboard - Show LeaderboardLumber
    -------- Fade in --------
    Cinematic - Fade in over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet Cinematic = False
    Wait 3.00 seconds
    Cinematic - Ping minimap for (All players) at (Center of ChieftanLights <gen>) for 7.00 seconds
    Quest - Mark QuestFurbolgs as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01OPTIONAL QUEST|r|c00540081Furbolg Chieftain|r - Slay the Furbolg Chieftain
    Set VariableSet FurbolgQuestRecieved = True
    Wait Campaign quest delay seconds
    Set VariableSet InCinematic = False
    Trigger - Remove GoblinCinematic <gen> from the trigger queue
Resume Harvesting
  Events
  Conditions
  Actions
    Wait 1.00 seconds
    Unit Group - Pick every unit in (Units owned by P_NELightBlue of type Wisp) and do (Order (Picked unit) to Harvest Nearby Lumber.)
FurbolgFlythrough
  Events
  Conditions
    FurbolgQuestDestroyed Equal to False
    GoblinSkipped Equal to False
  Actions
    Cinematic - Fade out over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 0.50 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Camera - .Apply. gg_cam_Goblin04A for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Goblin04A for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Goblin04A for Player 6 (Orange) over 0 seconds
    Cinematic - Fade in over 0.50 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Camera - .Apply. gg_cam_Goblin04C for Player 4 (Purple) over 10.00 seconds
    Camera - .Apply. gg_cam_Goblin04C for Player 11 (Dark Green) over 10.00 seconds
    Camera - .Apply. gg_cam_Goblin04C for Player 6 (Orange) over 10.00 seconds
    Wait 2.30 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Attach FurbolgPissed1 <gen> to Furbolg Chieftain 0059 <gen>
    Sound - Play FurbolgPissed1 <gen>
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Attach FurbolgWhat2 <gen> to Furbolg Chieftain 0059 <gen>
    Sound - Play FurbolgWhat2 <gen>
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Attach FurbolgWhat3 <gen> to Furbolg Chieftain 0059 <gen>
    Sound - Set volume of FurbolgWhat3 <gen> to 90.00%
    Sound - Play FurbolgWhat3 <gen>
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Sound - Attach FurbolgYesAttack2 <gen> to Furbolg Chieftain 0059 <gen>
    Sound - Set volume of FurbolgYesAttack2 <gen> to 80.00%
    Sound - Play FurbolgYesAttack2 <gen>
    Wait 1.00 seconds
    If (GoblinSkipped Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Cinematic - Flash a speech indicator for Furbolg Chieftain 0059 <gen> of color (100%, 100%, 100%) with 0% transparency
CompleteGoblinQuest
  Events
    Unit - A unit comes within 384.00 of Neeloc Greedyfingers 0049 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Triggering unit) Equal to |c008000FFChieftain of the Warsong Clan|r 0209 <gen>
        (Triggering unit) Equal to |c00106246Bone Crusher|r 0206 <gen>
        (Triggering unit) Equal to |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    FurbolgQuestCompleted Equal to True
    GameOver Equal to False
  Actions
    Set VariableSet SubquestsComplete = (SubquestsComplete + 1)
    Trigger - Turn off (This trigger)
    Trigger - Add CompleteGoblinQuest_Q <gen> to the trigger queue (Checking conditions)
CompleteGoblinQuest Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Position of NeelocGreedyfingers) for 7.00 seconds
    Camera - Pan camera as necessary for Player 4 (Purple) to (Position of NeelocGreedyfingers) over 0.5 seconds
    Camera - Pan camera as necessary for Player 11 (Dark Green) to (Position of NeelocGreedyfingers) over 0.5 seconds
    Camera - Pan camera as necessary for Player 6 (Orange) to (Position of NeelocGreedyfingers) over 0.5 seconds
    Special Effect - Destroy SpecialEffect01
    Sound - Setup all volume channels for speech
    Sound - Attach IronGolemPissed3 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemPissed3 <gen> to 40.00%
    Sound - Play IronGolemPissed3 <gen>
    Cinematic - Send transmission to (All players) from NeelocGreedyfingers named Neeloc Greedyfingers: Play O04Goblin22 <gen> and display Ah, thank you! Now, these shredders will cut through those trees in no time!. Modify duration: Add 0 seconds and Don't wait
    Wait 1.00 seconds
    Sound - Attach IronGolemYes3 <gen> to Goblin Shredder 0099 <gen>
    Sound - Set volume of IronGolemYes3 <gen> to 40.00%
    Sound - Play IronGolemYes3 <gen>
    Wait for O04Goblin22 <gen> to be 0 seconds from finished playing
    Sound - Reset all volume channels to 100%
    Wait 1.00 seconds
    Unit - Make Shredder01 Vulnerable
    Unit - Make Shredder02 Vulnerable
    Unit - Make Goblin Shredder 0259 <gen> Vulnerable
    Unit - Rescue Shredder01 for Player 4 (Purple) and Change color
    Unit - Rescue Shredder02 for Player 11 (Dark Green) and Change color
    Unit - Rescue Goblin Shredder 0259 <gen> for Player 6 (Orange) and Change color
    Unit - Order Shredder01 to Move To.(Center of Shredder01 <gen>)
    Unit - Order Shredder02 to Move To.(Center of Shredder02 <gen>)
    Unit - Order Goblin Shredder 0259 <gen> to Move To.(Center of Shredder02_____________________u <gen>)
    Quest - Mark QuestFurbolgs as Completed
    Quest - Flash the quest dialog button
    Quest - Mark QuestFurbolgRequirementReturn as Completed
    Quest - Display to (All players) the Quest Completed message: |c00FFFC01OPTIONAL QUEST COMPLETED|r|c00540081Furbolg Chieftain|r
    Unit - Remove Goblin Merchant 0057 <gen> from the game
    Unit - Create 1.Goblin Merchant (Quest Completed) for Neutral Passive at (Center of GoblinMerchant <gen>) facing Default building facing degrees
    Unit - Remove Goblin Laboratory 0058 <gen> from the game
    Unit - Create 1.Goblin Laboratory (Quest Completed) for Neutral Passive at (Center of GoblinLaboratory <gen>) facing Default building facing degrees
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
ShredderHint
  Events
    Player - Player 4 (Purple) Selects a unit
    Player - Player 11 (Dark Green) Selects a unit
    Player - Player 6 (Orange) Selects a unit
  Conditions
    (Unit-type of (Triggering unit)) Equal to Goblin Shredder
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player 4 (Purple)
        (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add ShredderHint_Q <gen> to the trigger queue (Checking conditions)
ShredderHint Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Wait 1.00 seconds
    Quest - Display to (All players) the Simple Hint message: |cffffcc00HINT|r - Goblin Shredders are excellent lumber harvesters.
    Wait Campaign hint delay seconds
    Trigger - Remove (This trigger) from the trigger queue
ApproachingFurbolgCamp
  Events
    Unit - A unit comes within 384.00 of Furbolg 0112 <gen>
    Unit - A unit comes within 384.00 of Furbolg 0100 <gen>
    Unit - A unit comes within 384.00 of Furbolg 0022 <gen>
    Unit - A unit comes within 384.00 of Furbolg 0098 <gen>
    Unit - A unit comes within 384.00 of Furbolg Elder Shaman 0109 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player 4 (Purple)
        (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    Or - Any (Conditions) are true
      Conditions
        (Distance between (Position of Grom) and (Center of FurbolgSpottedSource <gen>)) Less than SpeakingDistance
        (Distance between (Position of Nazgrel) and (Center of FurbolgSpottedSource <gen>)) Less than SpeakingDistance
    FurbolgQuestRecieved Equal to True
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add ApproachingFurbolgCamp_Q <gen> to the trigger queue (Checking conditions)
ApproachingFurbolgCamp Q
  Events
  Conditions
    (Grom is alive) Equal to True
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Center of ChieftanLights <gen>) for 5.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom21 <gen> and display They must be the furbolgs the goblin spoke of. This will be a worthy battle!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
ChieftanDies No Quest
  Events
    Unit - A unit Dies
  Conditions
    FurbolgQuestRecieved Equal to False
    GameOver Equal to False
    FurbolgChieftan Equal to (Dying unit)
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet FurbolgQuestDestroyed = True
    Special Effect - Destroy SpecialEffect01
    Unit - Remove Goblin Merchant 0057 <gen> from the game
    Unit - Create 1.Goblin Merchant (Quest Completed) for Neutral Passive at (Center of GoblinMerchant <gen>) facing Default building facing degrees
    Unit - Remove Goblin Laboratory 0058 <gen> from the game
    Unit - Create 1.Goblin Laboratory (Quest Completed) for Neutral Passive at (Center of GoblinLaboratory <gen>) facing Default building facing degrees
ChieftanDies
  Events
    Unit - A unit Dies
  Conditions
    FurbolgChieftan Equal to (Dying unit)
    FurbolgQuestRecieved Equal to True
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play FurbolgDeath1 <gen>
    Item - Create Health Stone at (Position of (Triggering unit))
    Wait 2 seconds
    Environment - Turn ChieftainLights Off
    Trigger - Add ChieftanDies_Q <gen> to the trigger queue (Checking conditions)
ChieftanDies Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Position of NeelocGreedyfingers) for 7.00 seconds
    Quest - Display to (All players) the Quest Update message: |c00FFFC01OPTIONAL QUEST UPDATE|r|c00540081Furbolg Chieftain|r - |cff808080Slay the Furbolg Chieftain (Completed)|r - Return to Neeloc Greedyfingers for your reward
    Quest - Mark QuestFurbolgRequirementChiefta as Completed
    Quest - Create a quest requirement for QuestFurbolgs with the description Return to Neeloc Greedyfingers for your reward
    Set VariableSet QuestFurbolgRequirementReturn = (Last created quest requirement)
    Wait Campaign quest delay seconds
    Special Effect - Create a special effect attached to the overhead (attachpoint) of NeelocGreedyfingers using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
    Set VariableSet SpecialEffect01 = (Last created special effect)
    Set VariableSet FurbolgQuestCompleted = True
    Trigger - Remove (This trigger) from the trigger queue
Create Leaderboard
  Events
  Conditions
    LeaderboardCreated Equal to False
  Actions
    Set VariableSet LeaderboardCreated = True
    Leaderboard - Create a leaderboard for (All players) titled (null)
    Set VariableSet LeaderboardLumber = (Last created leaderboard)
    Leaderboard - Add Player1 to LeaderboardLumber with label Lumber Harvested and value 0
    Leaderboard - Change the display style for LeaderboardLumber to Hide the title, Show labels, Show values, and Hide icons
    Leaderboard - Change the color of the label for Player1 in LeaderboardLumber to (100%, 80.00%, 0.00%) with 0% transparency
    Leaderboard - Change the color of the value for Player1 in LeaderboardLumber to (100%, 100%, 100%) with 0% transparency
Update Leaderboard
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Leaderboard - Change the value for Player 4 (Purple) in LeaderboardLumber to (((Player 4 (Purple) Current lumber) + (Player 6 (Orange) Current lumber)) + (Player 11 (Dark Green) Current lumber))
    Leaderboard - Change the value for Player 11 (Dark Green) in LeaderboardLumber to (((Player 4 (Purple) Current lumber) + (Player 6 (Orange) Current lumber)) + (Player 11 (Dark Green) Current lumber))
    Leaderboard - Change the value for Player 6 (Orange) in LeaderboardLumber to (((Player 4 (Purple) Current lumber) + (Player 6 (Orange) Current lumber)) + (Player 11 (Dark Green) Current lumber))
Trigger Ambush
  Events
    Unit - A unit enters TriggerAmbush01 <gen>
    Unit - A unit enters TriggerAmbush02 <gen>
    Unit - A unit enters TriggerAmbush03 <gen>
    Unit - A unit enters TriggerAmbush04 <gen>
    Unit - A unit enters TriggerAmbush05 <gen>
    Unit - A unit enters TriggerAmbush06 <gen>
    Unit - A unit enters TriggerAmbush07 <gen>
    Unit - A unit enters TriggerAmbush08 <gen>
    Unit - A unit enters TriggerAmbush9 <gen>
    Unit - A unit enters TriggerAmbush10 <gen>
    Unit - A unit enters TriggerAmbush11 <gen>
    Unit - A unit enters TriggerAmbush12 <gen>
    Unit - A unit enters TriggerAmbush13 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player1
        (Owner of (Entering unit)) Equal to Player2
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Unit - Order Ambusher01 to Attack-Move To.(Random point in GromStart <gen>)
    Unit - Order Ambusher02 to Attack-Move To.(Random point in GromStart <gen>)
    Unit - Order Ambusher03 to Attack-Move To.(Random point in GromStart <gen>)
    AI - Send P_NEGreen the AI Command (0, 0)
    AI - Send P_NETeal the AI Command (0, 0)
AmbushVoiceOver
  Events
    Unit - A unit comes within 512.00 of Elite Huntress 0084 <gen>
    Unit - A unit comes within 512.00 of Archer 0005 <gen>
    Unit - A unit comes within 512.00 of Archer 0007 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player1
        (Owner of (Triggering unit)) Equal to Player2
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add AmbushVoiceOver_Q <gen> to the trigger queue (Checking conditions)
AmbushVoiceOver Q
  Events
  Conditions
    (Ambusher01 is alive) Equal to True
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Position of Ambusher01) for 7.00 seconds
    Unit - Grant shared vision of Ambusher01 to Player1
    Unit - Grant shared vision of Ambusher01 to Player2
    Unit - Grant shared vision of Ambusher01 to Player 6 (Orange)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player1.Grunt named Warsong Orc at (Position of (Triggering unit)): Play O04WarsongOrc10 <gen> and display Chieftain, we're under attack!. Modify duration: Add 0 seconds and Wait
    Cinematic - Send transmission to (All players) from a P_NEBlue.Huntress named Huntress at (Position of Ambusher01): Play O04Huntress09 <gen> and display You were right, sisters. These green-skinned brutes have no respect for life! Slay them in Elune's name!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Wait 2 seconds
    Unit - Deny shared vision of Ambusher01 to Player1
    Unit - Deny shared vision of Ambusher01 to Player2
    Unit - Deny shared vision of Ambusher01 to Player 6 (Orange)
    Trigger - Remove (This trigger) from the trigger queue
ApproachingTreeofLife01
  Events
    Unit - A unit comes within 512.00 of Tree of Life 0015 <gen>
  Conditions
    ApproachedTree Equal to No unit
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player1
        (Owner of (Triggering unit)) Equal to Player2
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Set VariableSet ApproachedTree = TreeOfLife01
    Trigger - Add ApproachingTreeOfLife_Q <gen> to the trigger queue (Checking conditions)
ApproachingTreeofLife02
  Events
    Unit - A unit comes within 512.00 of Tree of Life 0124 <gen>
  Conditions
    ApproachedTree Equal to No unit
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player1
        (Owner of (Triggering unit)) Equal to Player2
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Set VariableSet ApproachedTree = TreeOfLife02
    Trigger - Add ApproachingTreeOfLife_Q <gen> to the trigger queue (Checking conditions)
ApproachingTreeofLife03
  Events
    Unit - A unit comes within 512.00 of Tree of Life 0123 <gen>
  Conditions
    ApproachedTree Equal to No unit
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player1
        (Owner of (Triggering unit)) Equal to Player2
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Set VariableSet ApproachedTree = TreeOfLife03
    Trigger - Add ApproachingTreeOfLife_Q <gen> to the trigger queue (Checking conditions)
ApproachingTreeofLife04
  Events
    Unit - A unit comes within 512.00 of Tree of Life 0021 <gen>
  Conditions
    ApproachedTree Equal to No unit
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player1
        (Owner of (Triggering unit)) Equal to Player2
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Set VariableSet ApproachedTree = TreeOfLife04
    Trigger - Add ApproachingTreeOfLife_Q <gen> to the trigger queue (Checking conditions)
ApproachingTreeofLife05
  Events
    Unit - A unit comes within 512.00 of Tree of Life 0056 <gen>
  Conditions
    ApproachedTree Equal to No unit
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player1
        (Owner of (Triggering unit)) Equal to Player2
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    ((Triggering unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Set VariableSet ApproachedTree = TreeOfLife05
    Trigger - Add ApproachingTreeOfLife_Q <gen> to the trigger queue (Checking conditions)
ApproachingTreeOfLife Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Cinematic - Flash a speech indicator for ApproachedTree of color (100%, 100%, 100%) with 0% transparency
    Cinematic - Ping minimap for (All players) at (Position of ApproachedTree) for 7.00 seconds
    Unit - Grant shared vision of ApproachedTree to Player1
    Unit - Grant shared vision of ApproachedTree to Player2
    Unit - Grant shared vision of ApproachedTree to Player 6 (Orange)
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player1.Grunt named Warsong Orc at (Position of ApproachedTree): Play O04WarsongOrc24 <gen> and display Chieftain, that great tree pulses with magic! We should keep our distance!. Modify duration: Add 0 seconds and Wait
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom25 <gen> and display Bah! Am I surrounded only by cowards? It's a tree, like any other! Cut it down!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Wait 2 seconds
    Unit - Deny shared vision of ApproachedTree to Player1
    Unit - Deny shared vision of ApproachedTree to Player2
    Unit - Deny shared vision of ApproachedTree to Player 6 (Orange)
    Trigger - Remove (This trigger) from the trigger queue
FirstTreeDies
  Events
    Unit - Tree of Life 0015 <gen> Dies
    Unit - Tree of Life 0124 <gen> Dies
    Unit - Tree of Life 0123 <gen> Dies
    Unit - Tree of Life 0021 <gen> Dies
    Unit - Tree of Life 0056 <gen> Dies
  Conditions
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet FirstDeadFro = (Dying unit)
    If ((Dying unit) Equal to TreeOfLife01) then do (Set VariableSet TreeOfLife01Dead = True) else do (Do nothing)
    If ((Dying unit) Equal to TreeOfLife02) then do (Set VariableSet TreeOfLife02Dead = True) else do (Do nothing)
    If ((Dying unit) Equal to TreeOfLife03) then do (Set VariableSet TreeOfLife03Dead = True) else do (Do nothing)
    If ((Dying unit) Equal to TreeOfLife04) then do (Set VariableSet TreeOfLife04Dead = True) else do (Do nothing)
    If ((Dying unit) Equal to TreeOfLife05) then do (Set VariableSet TreeOfLife05Dead = True) else do (Do nothing)
    Trigger - Turn on TreeOfLife01Dies <gen>
    Trigger - Turn on TreeOfLife02Dies <gen>
    Trigger - Turn on TreeOfLife03Dies <gen>
    Trigger - Turn on TreeOfLife04Dies <gen>
    Trigger - Turn on TreeOfLife05Dies <gen>
    Trigger - Add FirstTreeDies_Q <gen> to the trigger queue (Checking conditions)
FirstTreeDies Copy
  Events
    Unit - Tree of Life 0015 <gen> Dies
    Unit - Tree of Life 0124 <gen> Dies
    Unit - Tree of Life 0123 <gen> Dies
    Unit - Tree of Life 0021 <gen> Dies
    Unit - Tree of Life 0056 <gen> Dies
  Conditions
    GameOver Equal to False
  Actions
FirstTreeDies Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Visibility - Create an initially Enabled visibility modifier for Player1 emitting Visibility from (Position of FirstDeadFro) to a radius of 512.00.
    Set VariableSet Visibility01 = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player2 emitting Visibility from (Position of FirstDeadFro) to a radius of 512.00.
    Set VariableSet Visibility02 = (Last created visibility modifier)
    Cinematic - Ping minimap for (All players) at (Position of FirstDeadFro) for 7.00 seconds
    Player - Add 500 to Player 4 (Purple).Current lumber
    Player - Add 500 to Player 11 (Dark Green).Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Quest - Display to (All players) the Quest Update message: |cffffcc00A Tree of Life has been destroyed|r - 1500 lumber pillaged
    Wait Campaign quest delay seconds
    Sound - Setup all volume channels for speech
    Trigger - Run FirstTreeDies_OptLine <gen> (checking conditions)
    Wait for O04Grom26 <gen> to be 0 seconds from finished playing
    Sound - Reset all volume channels to 100%
    Wait 3.00 seconds
    Visibility - Destroy Visibility01
    Visibility - Destroy Visibility02
    Quest - Mark QuestPillage as Discovered
    Quest - Display to (All players) the Quest Discovered message: |c00FFFC01OPTIONAL QUEST|r|c00540081Destroy Trees of Life|r - Destroy the Trees of Life
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
FirstTreeDies OptLine
  Events
  Conditions
    (Grom is alive) Equal to True
    GameOver Equal to False
  Actions
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom26 <gen> and display You see? The great tree provided us with an abundance of lumber! If we find any more, then we'll hack them apart as well!. Modify duration: Add 0 seconds and Wait
TreeOfLife01Dies
  Events
    Unit - Tree of Life 0015 <gen> Dies
  Conditions
    TreeOfLife01Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfLife01Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLife02Dies
  Events
    Unit - Tree of Life 0124 <gen> Dies
  Conditions
    TreeOfLife02Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfLife02Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLife03Dies
  Events
    Unit - Tree of Life 0123 <gen> Dies
  Conditions
    TreeOfLife03Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfLife03Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLife04Dies
  Events
    Unit - Tree of Life 0021 <gen> Dies
  Conditions
    TreeOfLife04Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfLife04Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLife05Dies
  Events
    Unit - Tree of Life 0056 <gen> Dies
  Conditions
    TreeOfLife05Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfLife05Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLifeBonus Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Quest - Display to (All players) the Quest Update message: |cffffcc00A Tree of Life has been destroyed|r - 1500 lumber pillaged
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
AllTreesDie Q
  Events
  Conditions
    TreeOfLife05Dead Equal to True
    TreeOfLife04Dead Equal to True
    TreeOfLife03Dead Equal to True
    TreeOfLife02Dead Equal to True
    TreeOfLife01Dead Equal to True
    GameOver Equal to False
  Actions
    Set VariableSet SubquestsComplete = (SubquestsComplete + 1)
    Quest - Mark QuestPillage as Completed
    Quest - Mark QuestPillageRequirementFro as Completed
    Quest - Display to (All players) the Quest Completed message: |c00FFFC01OPTIONAL QUEST COMPLETED|r|c00540081Destroy Trees of Life|r
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
DuskFogLoop
  Events
    Time - DuskTimer expires
  Conditions
  Actions
    If (FogMax Less than or equal to 12000.00) then do (Pause DuskTimer) else do (Do nothing)
    Set VariableSet FogMax = (FogMax - 100.00)
    Set VariableSet FogMin = (FogMin - 100.00)
    Environment - Set fog to style 0 (fogstyle), z-start FogMin, z-end FogMax, density 0 and color (100%, 100%, 100%)
DawnFogLoop
  Events
    Time - DawnTimer expires
  Conditions
  Actions
    If (FogMax Greater than or equal to 15000.00) then do (Pause DawnTimer) else do (Do nothing)
    Set VariableSet FogMax = (FogMax + 100.00)
    Set VariableSet FogMin = (FogMin + 100.00)
    Environment - Set fog to style 0 (fogstyle), z-start FogMin, z-end FogMax, density 0 and color (100%, 100%, 100%)
Dawn
  Events
    Game - The in-game time of day becomes Equal to 6.00
  Conditions
  Actions
    Countdown Timer - Start DawnTimer as a Repeating timer that will expire in 1.00 seconds
Dusk
  Events
    Game - The in-game time of day becomes Equal to 18.00
  Conditions
  Actions
    Countdown Timer - Start DuskTimer as a Repeating timer that will expire in 1.00 seconds
ExperienceCap
  Events
    Unit - A unit owned by Player 4 (Purple).Gains a level
  Conditions
    (Hero level of |c008000FFChieftain of the Warsong Clan|r 0209 <gen>) Greater than or equal to 6
  Actions
    Trigger - Turn off (This trigger)
    Hero - Disable experience gain for |c008000FFChieftain of the Warsong Clan|r 0209 <gen>.
GromIsWounded
  Events
    Unit - A unit owned by Player 4 (Purple).Is attacked
  Conditions
    (Attacked unit) Equal to Grom
    (Life of Grom) Less than or equal to 300.00
    (Owner of (Attacking unit)) Not equal to Player1
    (Owner of (Attacking unit)) Not equal to Player2
    (Owner of (Attacking unit)) Not equal to Player 6 (Orange)
    (Owner of (Attacking unit)) Not equal to Neutral Hostile
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add GromIsWounded_Q <gen> to the trigger queue (Checking conditions)
GromIsWounded Q
  Events
  Conditions
    (Grom is alive) Equal to True
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Position of Grom) for 7.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom16 <gen> and display These women fight with unmatched savagery! I've never seen their equal. They are... perfect warriors.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
GromApproachesWisp
  Events
    Unit - A unit owned by Player 2 (Blue).Is attacked
    Unit - A unit owned by Player 3 (Teal).Is attacked
    Unit - A unit owned by Player 10 (Light Blue).Is attacked
    Unit - A unit owned by Player 11 (Dark Green).Is attacked
  Conditions
    (Attacking unit) Equal to Grom
    (Unit-type of (Attacked unit)) Equal to Wisp
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add GromApproachesWisp_Q <gen> to the trigger queue (Checking conditions)
GromApproachesWisp Q
  Events
  Conditions
    (Grom is alive) Equal to True
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Position of Grom) for 7.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom08 <gen> and display Those dancing lights are strange. Perhaps they are the dread spirits that you've all been so afraid of?. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
NearingLumberQuota
  Events
    Time - Every 0.50 seconds of game time
  Conditions
    ((Player 4 (Purple) Current lumber) + (Player 11 (Dark Green) Current lumber)) Greater than or equal to 11000
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add NearingLumberQuota_Q <gen> to the trigger queue (Checking conditions)
NearingLumberQuota Q
  Events
  Conditions
    (Grom is alive) Equal to True
    GameOver Equal to False
  Actions
    Cinematic - Ping minimap for (All players) at (Position of Grom) for 5.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom27 <gen> and display We've nearly hit our quota! Our lumber stores are almost full!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
WomenTheyAreWomen
  Events
    Unit - A unit owned by Player 10 (Light Blue).Dies
  Conditions
    (All units of InitialDefenders are dead) Equal to True
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add WomenTheyAreWomen_Q <gen> to the trigger queue (Checking conditions)
WomenTheyAreWomen Q
  Events
  Conditions
    (Grom is alive) Equal to True
    GameOver Equal to False
  Actions
    Wait 0.50 seconds
    Cinematic - Ping minimap for (All players) at (Position of Grom) for 5.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player1.Grunt named Warsong Orc at (Position of (Dying unit)): Play O04WarsongOrc11 <gen> and display Women. They're women!. Modify duration: Add 0 seconds and Wait
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom12 <gen> and display Yes. They almost look like elves, but they're far too tall, and far too savage.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Trigger - Remove (This trigger) from the trigger queue
WhenGoodHippogryphsGoBad
  Events
    Unit - A unit owned by Player 4 (Purple).Is attacked
  Conditions
    (Unit-type of (Attacking unit)) Equal to Hippogryph Rider
    ((Attacked unit) is an illusion) Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add WhenGoodHippogryphsGoBad_Q <gen> to the trigger queue (Checking conditions)
WhenGoodHippogryphsGoBad Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Wait 1.00 seconds
    Unit - Grant shared vision of (Attacking unit) to Player1
    Unit - Grant shared vision of (Attacking unit) to Player2
    Unit - Grant shared vision of (Attacking unit) to Player 6 (Orange)
    Cinematic - Ping minimap for (All players) at (Position of (Attacking unit)) for 7.00 seconds
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player1.Grunt named Warsong Orc at (Position of (Attacked unit)): Play O04WarsongOrc13 <gen> and display Chieftain, the warrior women have returned on flying beasts!. Modify duration: Add 0 seconds and Wait
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom14 <gen> and display They won't last long after our wolf riders have ensnared them!. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Unit - Deny shared vision of (Attacking unit) to Player1
    Unit - Deny shared vision of (Attacking unit) to Player2
    Trigger - Remove (This trigger) from the trigger queue
PillageHasBeenResearched
  Events
    Unit - A unit owned by Player 4 (Purple).Finishes research
    Unit - A unit owned by Player 11 (Dark Green).Finishes research
  Conditions
    (Researched tech-type) Equal to Ropg (techcode)
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet PillageResearched = True
PillageHint
  Events
    Unit - A unit owned by Player 2 (Blue).Dies
    Unit - A unit owned by Player 3 (Teal).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
    Unit - A unit owned by Player 11 (Dark Green).Dies
  Conditions
    PillageResearched Equal to False
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Killing unit)) Equal to Player1
        (Owner of (Killing unit)) Equal to Player2
        (Owner of (Killing unit)) Equal to Player 6 (Orange)
    ((Dying unit) is A structure) Equal to True
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add PillageHint_Q <gen> to the trigger queue (Checking conditions)
PillageHint Q
  Events
  Conditions
    PillageResearched Equal to False
    GameOver Equal to False
  Actions
    Quest - Display to (All players) the Simple Hint message: |cffffcc00HINT|r - Pillage can be learned at your Great Hall, and gives Peons, Grunts and Raiders the ability to gather resources by damaging enemy buildings.
    Wait Campaign hint delay seconds
    Trigger - Remove (This trigger) from the trigger queue
FaerieCircle01
  Events
    Unit - A unit enters TriggerFaerieCircle01 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player1
        (Owner of (Entering unit)) Equal to Player2
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
    ((Entering unit) is an illusion) Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet BonusesFound = (BonusesFound + 1)
    Sound - Set position of FaerieSpawnSound to (Center of FaerieCircle01 <gen>) with Z offset 0
    Sound - Play FaerieSpawnSound
    Special Effect - Create a special effect at (Center of FaerieSpawn01A <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
    Unit - Create 1.Forest Spirit for Neutral Hostile at (Center of FaerieSpawn01A <gen>) facing 100.00 degrees
    If (HEROICMODE Equal to True) then do (Replace (Last created unit) with a Forest Spirit (Insane) using The old unit's relative life and mana) else do (Do nothing)
    If (HEROICMODE Equal to True) then do (Add (Last replaced unit) to FaerieGroup01) else do (Add (Last created unit) to FaerieGroup01)
    Special Effect - Create a special effect at (Center of FaerieSpawn01B <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
    Unit - Create 1.Forest Spirit for Neutral Hostile at (Center of FaerieSpawn01B <gen>) facing 100.00 degrees
    If (HEROICMODE Equal to True) then do (Replace (Last created unit) with a Forest Spirit (Insane) using The old unit's relative life and mana) else do (Do nothing)
    If (HEROICMODE Equal to True) then do (Add (Last replaced unit) to FaerieGroup01) else do (Add (Last created unit) to FaerieGroup01)
    Special Effect - Create a special effect at (Center of FaerieSpawn01C <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
    Unit - Create 1.Forest Spirit for Neutral Hostile at (Center of FaerieSpawn01C <gen>) facing 100.00 degrees
    If (HEROICMODE Equal to True) then do (Replace (Last created unit) with a Forest Spirit (Insane) using The old unit's relative life and mana) else do (Do nothing)
    If (HEROICMODE Equal to True) then do (Add (Last replaced unit) to FaerieGroup01) else do (Add (Last created unit) to FaerieGroup01)
FaerieGroup01Dead
  Events
    Unit - A unit owned by Neutral Hostile.Dies
  Conditions
    (All units of FaerieGroup01 are dead) Equal to True
  Actions
    Wait 1.00 seconds
    Environment - Turn FaerieWeather01 Off
FaerieCircle02
  Events
    Unit - A unit enters TriggerFaerieCircle02 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player1
        (Owner of (Entering unit)) Equal to Player2
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
    ((Entering unit) is an illusion) Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet BonusesFound = (BonusesFound + 1)
    Sound - Set position of FaerieSpawnSound to (Center of FaerieCircle02 <gen>) with Z offset 0
    Sound - Play FaerieSpawnSound
    Special Effect - Create a special effect at (Center of FaerieSpawn02A <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
    Unit - Create 1.Forest Spirit for Neutral Hostile at (Center of FaerieSpawn02A <gen>) facing 100.00 degrees
    If (HEROICMODE Equal to True) then do (Replace (Last created unit) with a Forest Spirit (Insane) using The old unit's relative life and mana) else do (Do nothing)
    If (HEROICMODE Equal to True) then do (Add (Last replaced unit) to FaerieGroup02) else do (Add (Last created unit) to FaerieGroup02)
    Special Effect - Create a special effect at (Center of FaerieSpawn02B <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
    Unit - Create 1.Forest Spirit for Neutral Hostile at (Center of FaerieSpawn02B <gen>) facing 100.00 degrees
    If (HEROICMODE Equal to True) then do (Replace (Last created unit) with a Forest Spirit (Insane) using The old unit's relative life and mana) else do (Do nothing)
    If (HEROICMODE Equal to True) then do (Add (Last replaced unit) to FaerieGroup02) else do (Add (Last created unit) to FaerieGroup02)
    Special Effect - Create a special effect at (Center of FaerieSpawn02C <gen>) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
    Unit - Create 1.Forest Spirit for Neutral Hostile at (Center of FaerieSpawn02C <gen>) facing 100.00 degrees
    If (HEROICMODE Equal to True) then do (Replace (Last created unit) with a Forest Spirit (Insane) using The old unit's relative life and mana) else do (Do nothing)
    If (HEROICMODE Equal to True) then do (Add (Last replaced unit) to FaerieGroup02) else do (Add (Last created unit) to FaerieGroup02)
FaerieGroup02Dead
  Events
    Unit - A unit owned by Neutral Hostile.Dies
  Conditions
    (All units of FaerieGroup02 are dead) Equal to True
  Actions
    Wait 1.00 seconds
    Environment - Turn FaerieWeather02 Off
Victory Condition
  Events
    Time - Every 0.50 seconds of game time
  Conditions
    (((Player 4 (Purple) Current lumber) + (Player 6 (Orange) Current lumber)) + (Player 11 (Dark Green) Current lumber)) Greater than or equal to 15000
    InCinematic Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet GameOver = True
    Unit - Make Grom Invulnerable
    Unit - Make Nazgrel Invulnerable
    Unit - Make |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> Invulnerable
    Wait 2 seconds
    Trigger - Add Victory_Q <gen> to the trigger queue (Checking conditions)
Victory Q
  Events
  Conditions
  Actions
    -------- Quest completion message --------
    Quest - Mark QuestLumber as Completed
    Quest - Mark QuestLumberRequirement15000 as Completed
    Quest - Display to (All players) the Quest Completed message: |c00FFFC01MAIN QUEST COMPLETED|r|c00540081Slash and Burn|r
    Wait Campaign quest delay seconds
    -------- Victory cine...err, dialogue. --------
    Sound - Setup all volume channels for speech
    Cinematic - Send transmission to (All players) from a Player1.Grunt named Warsong Orc at (Position of Grom): Play O04WarsongOrc28 <gen> and display Chieftain, the harvesting is complete!. Modify duration: Add 0 seconds and Wait
    Cinematic - Send transmission to (All players) from Grom named |c008000FFGrom Hellscream|r: Play O04Grom29 <gen> and display Good. Then we'll start constructing the settlement immediately.. Modify duration: Add 0 seconds and Wait
    Sound - Reset all volume channels to 100%
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop01 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop02 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop03 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop04 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop05 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop06 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop07 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop08 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop09 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop10 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop11 <gen>
    Sound - Remove WaterLakeLoop1 <gen> across LakeLoop12 <gen>
    Unit Group - Pick every unit in (Units of type Peon) and do (Order (Picked unit) to Stop.)
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    -------- Change Mission --------
    Trigger - Run Endgame_Text <gen> (checking conditions)
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
      Loop - Actions
        Unit - Hide (Picked unit)
        Unit - Pause (Picked unit)
Defeat Condition
  Events
    Unit - A unit owned by Player 4 (Purple).Dies
    Unit - A unit owned by Player 11 (Dark Green).Dies
    Unit - A unit owned by Player 6 (Orange).Dies
  Conditions
    (Count structures controlled by Player 4 (Purple) (Include incomplete structures)) Equal to 0
    (Count structures controlled by Player 11 (Dark Green) (Include incomplete structures)) Equal to 0
    (Count structures controlled by Player 6 (Orange) (Include incomplete structures)) Equal to 0
    DefeatAllBuildingsDead Equal to True
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet GameOver = True
    Game - Display to (All players) for 600.00 seconds the text: |cffffcc00MAIN QUEST FAILED|r
    Game - Display to (All players) for 600.00 seconds the text: All of your buildings have been destroyed.
    Sound - Play QuestFailed <gen>
    Game - Turn the day/night cycle Off
    Wait 1.00 seconds
    Cinematic - Fade out over 2 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Sound - Play SadMystery <gen>
    Wait 2 seconds
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Make (Picked unit) Invulnerable)
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Order (Picked unit) to Stop.)
    Unit Group - Pick every unit in (Units in (Playable map area)) and do (Hide (Picked unit))
Start AI
  Events
  Conditions
  Actions
    -------- AI Settings --------
    AI - Start campaign AI script for P_NEBlue: war3mapImported\O4 Insane Blue.ai (aiscript)
    AI - Start campaign AI script for P_NEGreen: war3mapImported\Dark Elf AI.ai (aiscript)
    AI - Start campaign AI script for P_NETeal: war3mapImported\O4 Insane Teal.ai (aiscript)
    AI - Start melee AI script for Player 7 (Green): war3mapImported\Glaivers AI.ai (aiscript)
BlueGold
  Events
    Player - Player 2 (Blue)'s Current gold becomes Less than 1000
  Conditions
  Actions
    Player - Add 1341 to Player 2 (Blue).Current gold
BlueLumber
  Events
    Player - Player 2 (Blue)'s Current lumber becomes Less than 600.00
  Conditions
  Actions
    Player - Add 721 to Player 2 (Blue).Current lumber
TealGold
  Events
    Player - Player 3 (Teal)'s Current gold becomes Less than 1000
  Conditions
  Actions
    Player - Add 2207 to Player 3 (Teal).Current gold
TealLumber
  Events
    Player - Player 2 (Blue)'s Current lumber becomes Less than 600.00
  Conditions
  Actions
    Player - Add 819 to Player 2 (Blue).Current lumber
GreenGold
  Events
    Player - Player 12 (Brown)'s Current gold becomes Less than 1000
  Conditions
  Actions
    Player - Add 2109 to Player 12 (Brown).Current gold
GreenLumber
  Events
    Player - Player 12 (Brown)'s Current lumber becomes Less than 600.00
  Conditions
  Actions
    Player - Add 748 to Player 12 (Brown).Current lumber
GreenGreenGold
  Events
    Player - Player 7 (Green)'s Current gold becomes Less than 1000
  Conditions
  Actions
    Player - Add 2109 to Player 7 (Green).Current gold
GreenGreenLumber
  Events
    Player - Player 7 (Green)'s Current lumber becomes Less than 1000
  Conditions
  Actions
    Player - Add 2109 to Player 7 (Green).Current lumber
ExperienceCap2
  Events
    Unit - A unit owned by Player 11 (Dark Green).Gains a level
  Conditions
    (Hero level of |c00106246Bone Crusher|r 0206 <gen>) Greater than or equal to 6
  Actions
    Trigger - Turn off (This trigger)
    Hero - Disable experience gain for |c00106246Bone Crusher|r 0206 <gen>.
ExperienceCap3
  Events
    Unit - A unit owned by Player 6 (Orange).Gains a level
  Conditions
    (Hero level of |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>) Greater than or equal to 6
  Actions
    Trigger - Turn off (This trigger)
    Hero - Disable experience gain for |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>.
ExperienceCap4
  Events
    Unit - A unit owned by Player 1 (Red).Gains a level
  Conditions
    (Hero level of Blademaster 0103 <gen>) Greater than or equal to 6
  Actions
    Trigger - Turn off (This trigger)
    Hero - Disable experience gain for Blademaster 0103 <gen>.
Bwonsamdi Call
  Events
    Unit - A unit owned by Player 6 (Orange).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to The Call Of Bwonsamdi - [TALENT] (Neutral Hostile)
        (Unit-type of (Casting unit)) Equal to Darkspear Hall [Troll]
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play Bwonsamdi <gen>
    Trigger - Turn on (This trigger)
Bwonsamdi Call 2
  Events
    Unit - A unit owned by Player 6 (Orange).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to The Call Of Bwonsamdi - [TALENT] (Neutral Hostile)
        (Unit-type of (Casting unit)) Equal to Command Post [Troll]
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play Bwonsamdi <gen>
    Trigger - Turn on (This trigger)
Skip Cinematic
  Events
    Player - Player 4 (Purple) skips a cinematic sequence
    Player - Player 11 (Dark Green) skips a cinematic sequence
    Player - Player 6 (Orange) skips a cinematic sequence
  Conditions
    Cinematic Equal to True
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player1
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Game - Display to (All players) the text: ((Name of Player1) + wishes to skip the cinematic.)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player2
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote2 = True
        Game - Display to (All players) the text: ((Name of Player2) + wishes to skip the cinematic.)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 6 (Orange)
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote3 = True
        Game - Display to (All players) the text: ((Name of Player2) + wishes to skip the cinematic.)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player1
        SkipVote1 Equal to False
        SkipVote2 Equal to True
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Trigger - Turn off (This trigger)
        Game - Display to (All players) the text: Cinematic was skipped.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (IntroCancel <gen> is on) Equal to True
          Then - Actions
            Trigger - Run IntroCancel <gen> (checking conditions)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (GoblinCancel <gen> is on) Equal to True
          Then - Actions
            Trigger - Run GoblinCancel <gen> (checking conditions)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player2
        SkipVote1 Equal to True
        SkipVote2 Equal to False
        SkipVote3 Equal to False
      Then - Actions
        Set VariableSet SkipVote1 = True
        Trigger - Turn off (This trigger)
        Game - Display to (All players) the text: Cinematic was skipped.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (IntroCancel <gen> is on) Equal to True
          Then - Actions
            Trigger - Run IntroCancel <gen> (checking conditions)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (GoblinCancel <gen> is on) Equal to True
          Then - Actions
            Trigger - Run GoblinCancel <gen> (checking conditions)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 6 (Orange)
        SkipVote1 Equal to False
        SkipVote2 Equal to False
        SkipVote3 Equal to True
      Then - Actions
        Set VariableSet SkipVote1 = True
        Trigger - Turn off (This trigger)
        Game - Display to (All players) the text: Cinematic was skipped.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (IntroCancel <gen> is on) Equal to True
          Then - Actions
            Trigger - Run IntroCancel <gen> (checking conditions)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (GoblinCancel <gen> is on) Equal to True
          Then - Actions
            Trigger - Run GoblinCancel <gen> (checking conditions)
          Else - Actions
      Else - Actions
FrostWolfGrunt
  Events
    Unit - A unit owned by Player 11 (Dark Green).Begins casting an ability
  Conditions
    And - All (Conditions) are true
      Conditions
        (Ability being cast) Equal to Roar (Grunt)
        (Unit-type of (Casting unit)) Equal to Frostwolf Grunt [FrostWolf]
  Actions
    Trigger - Turn off (This trigger)
    Sound - Attach GruntWarcry1 <gen> to (Casting unit)
    Sound - Play GruntWarcry1 <gen>
    Trigger - Turn on (This trigger)
Leaves Game
  Events
    Player - Player 4 (Purple) leaves the game
    Player - Player 6 (Orange) leaves the game
    Player - Player 11 (Dark Green) leaves the game
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        GameSelection Equal to True
      Then - Actions
        Set VariableSet EnoughPlayers = False
        Cinematic - Clear the screen of text messages for (All players).
        Sound - Play QuestLog <gen>
      Else - Actions
    Game - Display to (All players) the text: ((Name of (Triggering player)) + has left the game.)
    Sound - Play CreepAggroWhat1 <gen>
Init Gametext
  Events
    Map initialization
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 4 (Purple) controller) Equal to User
        (Player 11 (Dark Green) controller) Equal to User
        (Player 6 (Orange) controller) Equal to User
        (Player 4 (Purple) slot status) Equal to Is playing
        (Player 11 (Dark Green) slot status) Equal to Is playing
        (Player 6 (Orange) slot status) Equal to Is playing
      Then - Actions
        Set VariableSet EnoughPlayers = True
        Trigger - Run Startgame_Text <gen> (ignoring conditions)
      Else - Actions
        Trigger - Run Startgame_Text_3 <gen> (ignoring conditions)
Startgame New
  Events
    Player - Player 4 (Purple) 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 6 (Orange) types a chat message containing -new (stringnoformat) as An exact match
  Conditions
    GameSelection Equal to True
    EnoughPlayers Equal to True
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 4 (Purple)
        NewVote1 Equal to False
        NewVote2 Equal to False
        NewVote3 Equal to False
      Then - Actions
        Set VariableSet NewVote1 = True
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 11 (Dark Green)
        NewVote1 Equal to False
        NewVote2 Equal to False
        NewVote3 Equal to False
      Then - Actions
        Set VariableSet NewVote2 = True
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 6 (Orange)
        NewVote1 Equal to False
        NewVote2 Equal to False
        NewVote3 Equal to False
      Then - Actions
        Set VariableSet NewVote2 = True
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 4 (Purple)
        NewVote1 Equal to False
        NewVote2 Equal to True
        NewVote3 Equal to False
      Then - Actions
        Cinematic - Clear the screen of text messages for (All players).
        Set VariableSet NewVote1 = True
        Set VariableSet GameSelection = False
        Sound - Play GoodJob <gen>
        Hero - Learn skill for Hero2: Cyclostorm [Nazgrel]
        Hero - Learn skill for Hero2: Wild Fury [Nazgrel]
        Hero - Learn skill for Hero2: Howl of Terror [Nazgrel]
        Hero - Learn skill for Hero3: Call Raptor
        Hero - Learn skill for Hero3: Healing Wave
        Hero - Learn skill for Hero3: Sacrifice
        Wait 1.00 seconds
        Trigger - Run Initial_Ownerships <gen> (checking conditions)
        Trigger - Run IntroCinematic <gen> (checking conditions)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            HEROICMODE Equal to True
          Then - Actions
            Trigger - Run Initial_Ownerships <gen> (checking conditions)
            Trigger - Run Research_Elf <gen> (checking conditions)
            Trigger - Run IntroCinematic <gen> (checking conditions)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 11 (Dark Green)
        NewVote1 Equal to True
        NewVote2 Equal to False
        NewVote3 Equal to False
      Then - Actions
        Cinematic - Clear the screen of text messages for (All players).
        Set VariableSet NewVote2 = True
        Set VariableSet GameSelection = False
        Sound - Play GoodJob <gen>
        Hero - Learn skill for Hero2: Cyclostorm [Nazgrel]
        Hero - Learn skill for Hero2: Wild Fury [Nazgrel]
        Hero - Learn skill for Hero2: Howl of Terror [Nazgrel]
        Hero - Learn skill for Hero3: Call Raptor
        Hero - Learn skill for Hero3: Healing Wave
        Hero - Learn skill for Hero3: Sacrifice
        Wait 1.00 seconds
        Trigger - Run Initial_Ownerships <gen> (checking conditions)
        Trigger - Run IntroCinematic <gen> (checking conditions)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            HEROICMODE Equal to True
          Then - Actions
            Trigger - Run Initial_Ownerships <gen> (checking conditions)
            Trigger - Run Research_Elf <gen> (checking conditions)
            Trigger - Run IntroCinematic <gen> (checking conditions)
          Else - Actions
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering player) Equal to Player 6 (Orange)
        NewVote1 Equal to False
        NewVote2 Equal to False
        NewVote3 Equal to True
      Then - Actions
        Cinematic - Clear the screen of text messages for (All players).
        Set VariableSet NewVote2 = True
        Set VariableSet GameSelection = False
        Sound - Play GoodJob <gen>
        Hero - Learn skill for Hero2: Cyclostorm [Nazgrel]
        Hero - Learn skill for Hero2: Wild Fury [Nazgrel]
        Hero - Learn skill for Hero2: Howl of Terror [Nazgrel]
        Hero - Learn skill for Hero3: Call Raptor
        Hero - Learn skill for Hero3: Healing Wave
        Hero - Learn skill for Hero3: Sacrifice
        Wait 1.00 seconds
        Trigger - Run Initial_Ownerships <gen> (checking conditions)
        Trigger - Run IntroCinematic <gen> (checking conditions)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            HEROICMODE Equal to True
          Then - Actions
            Trigger - Run Initial_Ownerships <gen> (checking conditions)
            Trigger - Run Research_Elf <gen> (checking conditions)
            Trigger - Run IntroCinematic <gen> (checking conditions)
          Else - Actions
      Else - Actions
Startgame Load
  Events
    Player - Player 4 (Purple) 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 6 (Orange) types a chat message containing -load (stringnoformat) as A substring
  Conditions
    (Substring((Entered chat string), 1, 6)) Equal to (Matched chat string)
    (Length of (Entered chat string)) Greater than 6
    GameSelection Equal to True
    EnoughPlayers Equal to True
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    -------- 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
        Or - Any (Conditions) are true
          Conditions
            Save[1] Equal to 43
            Save[1] Equal to 53
        Validate Equal to True
      Then - Actions
        -------- Correct Code --------
        Set VariableSet GameSelection = False
        Sound - Play GoodJob <gen>
        Trigger - Turn off (This trigger)
        Set VariableSet SumRank = Save[2]
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Save[3] Greater than or equal to 1
          Then - Actions
            For each (Integer A) from 1 to Save[3], do (Actions)
              Loop - Actions
                Hero - Learn skill for Hero2: Cyclostorm [Nazgrel]
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Save[3] Greater than or equal to 1
          Then - Actions
            For each (Integer A) from 1 to Save[3], do (Actions)
              Loop - Actions
                Hero - Learn skill for Hero3: Call Raptor
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Save[4] Greater than or equal to 1
          Then - Actions
            For each (Integer A) from 1 to Save[4], do (Actions)
              Loop - Actions
                Hero - Learn skill for Hero3: Sacrifice
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Save[5] Greater than or equal to 1
          Then - Actions
            For each (Integer A) from 1 to Save[5], do (Actions)
              Loop - Actions
                Hero - Learn skill for Hero3: Healing Wave
          Else - Actions
        Set VariableSet SaveCount = 6
        For each (Integer A) from 1 to Save[SaveCount], do (Actions)
          Loop - Actions
            -------- The actual item --------
            Set VariableSet SaveCount = (SaveCount + 1)
            Custom script: set udg_TempItemType = SaveLoad_Integer2Item(udg_Save[udg_SaveCount])
            Hero - Create TempItemType and give it to Hero2
            -------- Number of charges --------
            Set VariableSet SaveCount = (SaveCount + 1)
            Item - Set charges remaining in (Last created item) to Save[SaveCount]
        For each (Integer A) from 1 to Save[SaveCount], do (Actions)
          Loop - Actions
            -------- The actual item --------
            Set VariableSet SaveCount = (SaveCount + 1)
            Custom script: set udg_TempItemType = SaveLoad_Integer2Item(udg_Save[udg_SaveCount])
            Hero - Create TempItemType and give it to Hero3
            -------- Number of charges --------
            Set VariableSet SaveCount = (SaveCount + 1)
            Item - Set charges remaining in (Last created item) to Save[SaveCount]
        Wait 1.00 seconds
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Save[1] Equal to 53
          Then - Actions
            Set VariableSet HEROICMODE = True
            Trigger - Run Initial_Ownerships <gen> (checking conditions)
            Trigger - Run IntroCinematic <gen> (checking conditions)
            Trigger - Run Research_Elf <gen> (checking conditions)
          Else - Actions
            Set VariableSet HEROICMODE = False
            Trigger - Run Initial_Ownerships <gen> (checking conditions)
            Trigger - Run IntroCinematic <gen> (checking conditions)
      Else - Actions
        -------- Invalid code --------
        Sound - Play Error <gen>
        Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 4=-|r
        Game - Display to (All players) for 600.00 seconds the text: The Spirits of Ashenvale
        Game - Display to (All players) for 600.00 seconds the text:
        Game - Display to (All players) for 600.00 seconds the text: There was an error with the code, please try again.
        Game - Display to (All players) for 600.00 seconds the text:
        Game - Display to (All players) for 600.00 seconds the text: Alternatively, both players type '-new' if you do not have a code.
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            HEROICMODE Equal to True
          Then - Actions
            Game - Display to (All players) for 600.00 seconds the text: New game is at Heroic difficulty. Type '-normal' to play at a lower difficulty.
          Else - Actions
            Game - Display to (All players) for 600.00 seconds the text: New game is at Normal difficulty. Type '-heroic' to play at a higher difficulty.
        Skip remaining actions
Endgame Text
  Events
  Conditions
  Actions
    Sound - Play ClanInvitation <gen>
    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 Hero1 in slot (Integer A)) Not equal to No item
          Then - Actions
            Set VariableSet FinalInventory[(Integer A)] = ((Name of (Item carried by Hero1 in slot (Integer A))) + , )
          Else - Actions
            Set VariableSet FinalInventory[(Integer A)] =
    For each (Integer A) from 7 to 12, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Item carried by Hero2 in slot ((Integer A) - 6)) Not equal to No item
          Then - Actions
            Set VariableSet FinalInventory[(Integer A)] = ((Name of (Item carried by Hero2 in slot ((Integer A) - 6))) + , )
          Else - Actions
            Set VariableSet FinalInventory[(Integer A)] =
    For each (Integer A) from 7 to 12, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Item carried by Hero3 in slot ((Integer A) - 12)) Not equal to No item
          Then - Actions
            Set VariableSet FinalInventory[(Integer A)] = ((Name of (Item carried by Hero3 in slot ((Integer A) - 12))) + , )
          Else - Actions
            Set VariableSet FinalInventory[(Integer A)] =
    Set VariableSet SaveLoad_TotalTime = (SaveLoad_TotalTime + TimeSecondsTotal)
    Set VariableSet Save[1] = MissionNumber
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        SumRank Greater than or equal to 1
      Then - Actions
        Set VariableSet Save[2] = (SumRank + RankInteger)
      Else - Actions
        Set VariableSet Save[2] = 0
    Set VariableSet Save[3] = (Level of Wind Walk for Hero1)
    Set VariableSet Save[4] = (Level of Critical Strike for Hero1)
    Set VariableSet Save[5] = (Level of War Cry for Hero1)
    Set VariableSet Save[6] = (Level of Wrath of the Berserker for Hero1)
    Set VariableSet Save[7] = (Level of Cyclostorm [Nazgrel] for Hero2)
    Set VariableSet Save[8] = (Level of Wild Fury [Nazgrel] for Hero2)
    Set VariableSet Save[9] = (Level of Howl of Terror [Nazgrel] for Hero2)
    Set VariableSet Save[10] = (Level of Call Raptor for Hero3)
    Set VariableSet Save[11] = (Level of Sacrifice for Hero3)
    Set VariableSet Save[12] = (Level of Healing Wave for Hero3)
    Set VariableSet Save[13] = (Level of Voodoo Spirits for Hero3)
    Set VariableSet SaveCount = 13
    Set VariableSet Save[SaveCount] = (Number of items carried by Hero1)
    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 Hero1 in slot (Integer A)) is owned) Equal to True
          Then - Actions
            Set VariableSet SaveCount = (SaveCount + 1)
            Set VariableSet TempItem = (Item carried by Hero1 in slot (Integer A))
            Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Item2Integer( udg_TempItem )
            Set VariableSet SaveCount = (SaveCount + 1)
            Set VariableSet Save[SaveCount] = (Charges remaining in (Item carried by Hero1 in slot (Integer A)))
          Else - Actions
    Set VariableSet SaveCount = (SaveCount + 1)
    Set VariableSet Save[SaveCount] = (Number of items carried by Hero2)
    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 Hero2 in slot (Integer A)) is owned) Equal to True
          Then - Actions
            Set VariableSet SaveCount = (SaveCount + 1)
            Set VariableSet TempItem = (Item carried by Hero2 in slot (Integer A))
            Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Item2Integer( udg_TempItem )
            Set VariableSet SaveCount = (SaveCount + 1)
            Set VariableSet Save[SaveCount] = (Charges remaining in (Item carried by Hero2 in slot (Integer A)))
          Else - Actions
    Set VariableSet SaveCount = (SaveCount + 1)
    Set VariableSet Save[SaveCount] = (Number of items carried by Hero3)
    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 Hero2 in slot (Integer A)) is owned) Equal to True
          Then - Actions
            Set VariableSet SaveCount = (SaveCount + 1)
            Set VariableSet TempItem = (Item carried by Hero3 in slot (Integer A))
            Custom script: set udg_Save[udg_SaveCount] = SaveLoad_Item2Integer( udg_TempItem )
            Set VariableSet SaveCount = (SaveCount + 1)
            Set VariableSet Save[SaveCount] = (Charges remaining in (Item carried by Hero3 in slot (Integer A)))
          Else - Actions
    Custom script: set udg_Code = SaveLoad_Encode()
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 4 COMPLETED =-|r
    Game - Display to (All players) for 600.00 seconds the text: (|cffffcc00Player 1's Inventory:|r + (FinalInventory[1] + (FinalInventory[2] + (FinalInventory[3] + (FinalInventory[4] + (FinalInventory[5] + FinalInventory[6]))))))
    Game - Display to (All players) for 600.00 seconds the text: (|cffffcc00Player 2's Inventory:|r + (FinalInventory[7] + (FinalInventory[8] + (FinalInventory[9] + (FinalInventory[10] + (FinalInventory[11] + FinalInventory[12]))))))
    Game - Display to (All players) for 600.00 seconds the text: (|cffffcc00Player 3's Inventory:|r + (FinalInventory[13] + (FinalInventory[14] + (FinalInventory[15] + (FinalInventory[16] + (FinalInventory[17] + FinalInventory[18]))))))
    Game - Display to (All players) for 600.00 seconds the text: (|cffffcc00Save Code:|r + Code)
    Wait 25.00 seconds
    Game - Victory Player 4 (Purple) (Skip dialogs, Show scores)
    Game - Victory Player 6 (Orange) (Skip dialogs, Show scores)
    Game - Victory Player 11 (Dark Green) (Skip dialogs, Show scores)
Startgame Text
  Events
    Player - Player 4 (Purple) types a chat message containing -normal (stringnoformat) as An exact match
    Player - Player 11 (Dark Green) types a chat message containing -normal (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -normal (stringnoformat) as An exact match
  Conditions
    HEROICMODE Equal to True
    GameSelection Equal to True
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Sound - Play QuestLog <gen>
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 4=-|r
    Game - Display to (All players) for 600.00 seconds the text: |c00FFFC01Chapter Four:|r The Spirits of AshenvaleWelcome to the 3Player: Orc Campaign made by deflinok2 . Inspired by the work of Pyraeus and the-spoon.|c00FFFC01The In-Game Commands Are:|rUse |c00fEBA0E/AForce|r |c00E55BB0(For Full Shared Unit Control and Vision Control among Player's Groups)|r and |c00fEBA0E/AVision|r |c00E55BB0(For Only Shared Vision among Player's Groups)|r|c00FFFC01Please type in your difficulty below with the|r "|c00FF7F00-|r" |c00FFFC01included|r:|r-Normal-Heroic
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Type '-load' and the first code you obtained from the previous chapter.
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Alternatively, both players type '-new' if you do not have a code.
    Game - Display to (All players) for 600.00 seconds the text: New game is at Normal difficulty. Type '-heroic' to play at a higher difficulty.
    Set VariableSet HEROICMODE = False
Startgame Text 2
  Events
    Player - Player 4 (Purple) types a chat message containing -heroic (stringnoformat) as An exact match
    Player - Player 11 (Dark Green) types a chat message containing -heroic (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -heroic (stringnoformat) as An exact match
  Conditions
    HEROICMODE Equal to False
    GameSelection Equal to True
  Actions
    Cinematic - Clear the screen of text messages for (All players).
    Sound - Play QuestLog <gen>
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 4=-|r
    Game - Display to (All players) for 600.00 seconds the text: |c00FFFC01Chapter Four:|r The Spirits of AshenvaleWelcome to the 3Player: Orc Campaign made by deflinok2 . Inspired by the work of Pyraeus and the-spoon.|c00FFFC01The In-Game Commands Are:|rUse |c00fEBA0E/AForce|r |c00E55BB0(For Full Shared Unit Control and Vision Control among Player's Groups)|r and |c00fEBA0E/AVision|r |c00E55BB0(For Only Shared Vision among Player's Groups)|r|c00FFFC01Please type in your difficulty below with the|r "|c00FF7F00-|r" |c00FFFC01included|r:|r-Normal-Heroic
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Type '-load' and the first code you obtained from the previous chapter.
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Alternatively, both players type '-new' if you do not have a code.
    Game - Display to (All players) for 600.00 seconds the text: New game is at Heroic difficulty. Type '-normal' to play at a lower difficulty.
    Set VariableSet HEROICMODE = True
Startgame Text 3
  Events
  Conditions
  Actions
    Game - Display to (All players) for 600.00 seconds the text: |cff88aa33-= ORC CHAPTER 4=-|r
    Game - Display to (All players) for 600.00 seconds the text: |c00FFFC01Chapter Four:|r The Spirits of AshenvaleWelcome to the 3Player: Orc Campaign made by deflinok2 . Inspired by the work of Pyraeus and the-spoon.|c00FFFC01The In-Game Commands Are:|rUse |c00fEBA0E/AForce|r |c00E55BB0(For Full Shared Unit Control and Vision Control among Player's Groups)|r and |c00fEBA0E/AVision|r |c00E55BB0(For Only Shared Vision among Player's Groups)|r|c00FFFC01Please type in your difficulty below with the|r "|c00FF7F00-|r" |c00FFFC01included|r:|r-Normal-Heroic
    Game - Display to (All players) for 600.00 seconds the text:
    Game - Display to (All players) for 600.00 seconds the text: Not enough players have been detected ingame.
    Game - Display to (All players) for 600.00 seconds the text: Atleast 3 players are required to begin the map.
Custom Variables
  Events
    Map initialization
  Conditions
  Actions
    Game - Set Lock resource trading to On
    Cinematic - Fade out over 0.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet Player1 = Player 4 (Purple)
    Set VariableSet Player2 = Player 11 (Dark Green)
    Set VariableSet Player3 = Player 6 (Orange)
    Set VariableSet Hero1 = |c008000FFChieftain of the Warsong Clan|r 0209 <gen>
    Set VariableSet Hero2 = |c00106246Bone Crusher|r 0206 <gen>
    Set VariableSet Hero3 = |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    Set VariableSet Grom = |c008000FFChieftain of the Warsong Clan|r 0209 <gen>
    Set VariableSet Nazgrel = |c00106246Bone Crusher|r 0206 <gen>
    Set VariableSet Voljin = |c00FF8000Leader of the Darkspear tribe|r 0039 <gen>
    -------- Items To be Saved --------
    Set VariableSet SaveLoad_Items[1] = Potion of Healing
    Set VariableSet SaveLoad_Items[2] = Potion of Mana
    Set VariableSet SaveLoad_Items[3] = Ring of Protection +1
    Set VariableSet SaveLoad_Items[4] = Maul of Strength
    Set VariableSet SaveLoad_Items[5] = Healing Wards
    Set VariableSet SaveLoad_Items[6] = Wand of Lightning Shield
    Set VariableSet SaveLoad_Items[7] = Scroll of the Beast
    Set VariableSet SaveLoad_Items[8] = Periapt of Vitality
    Set VariableSet SaveLoad_Items[9] = Health Stone
    Set VariableSet SaveLoad_Items[10] = Druid Pouch
    Set VariableSet SaveLoad_Items[11] = Scroll of Healing
    Set VariableSet SaveLoad_Items[12] = Scroll of Protection
    Set VariableSet SaveLoad_Items[13] = Potion of Greater Healing
    Set VariableSet SaveLoad_Items[14] = Ancient Figurine
    Set VariableSet SaveLoad_Items[17] = Potion of Greater Mana
    Set VariableSet SaveLoad_Items[18] = Mantle of Intelligence +3
    Set VariableSet SaveLoad_Items[19] = Scroll of Mana
    Set VariableSet SaveLoad_Items[20] = Gauntlets of Ogre Strength +3
    Set VariableSet SaveLoad_Items[21] = Wand of Negation
    Set VariableSet SaveLoad_Items[22] = Claws of Attack +9
    Set VariableSet SaveLoad_Items[23] = Circlet of Nobility
    Set VariableSet SaveLoad_Items[24] = Claws of Attack +3
    Set VariableSet SaveLoad_Items[25] = Totem of Might
    Set VariableSet SaveLoad_Items[26] = Lion's Ring
    Set VariableSet SaveLoad_Items[27] = Boots of Speed
    Set VariableSet SaveLoad_Items[28] = Potion of Restoration
    Set VariableSet SaveLoad_Items[29] = Slippers of Agility +3
    Set VariableSet SaveLoad_Items[30] = Crystal Ball
    Set VariableSet SaveLoad_Items[31] = Ancestral Staff
    Set VariableSet SaveLoad_Items[32] = Gorehowl
    Set VariableSet SaveLoad_Items[33] = Serathil
    Set VariableSet SaveLoad_Items_LastIndex = 33
    -------- Leave as is. Used to autocreate variables when copy & pasting to a new map --------
    Set VariableSet SaveLoad_Alphabet = ABCDEFGHIJKLMNPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz
    Set VariableSet SaveLoad_CaseSensitive = True
    Set VariableSet SaveLoad_UsePlayername = False
    -------- Required: false --------
    Set VariableSet SaveLoad_Initialized = False
    Set VariableSet Code = AceHart
    Set VariableSet Save[1] = 0
    Set VariableSet SaveCount = 1
    Set VariableSet Validate = False
    Set VariableSet SaveLoad_Compress[1] = 0
    Set VariableSet SaveLoad_Uncompress[1] = 0
Delete Normal
  Events
  Conditions
  Actions
    Unit - Hide Glaive Maiden 0248 <gen>
    Unit - Hide Glaive Maiden 0240 <gen>
    Unit - Hide Glaive Maiden 0249 <gen>
    Unit - Hide Glaive Maiden 0241 <gen>
    Unit - Hide
    Unit - Hide Warden 0232 <gen>
    Unit - Hide Glaive Maiden 0238 <gen>
    Unit - Hide Glaive Maiden 0237 <gen>
    Unit - Hide Glaive Maiden 0239 <gen>
    Unit - Hide Glaive Maiden 0236 <gen>
    Unit - Hide Glaive Maiden 0253 <gen>
    Unit - Hide Glaive Maiden 0254 <gen>
    Unit - Hide Glaive Maiden 0255 <gen>
    Unit - Hide Glaive Maiden 0256 <gen>
Research Elf
  Events
  Conditions
  Actions
    Player - Set the current research level of Resm (techcode) to 2 for Player 2 (Blue)
    Player - Set the current research level of Resw (techcode) to 2 for Player 2 (Blue)
    Player - Set the current research level of Rema (techcode) to 2 for Player 2 (Blue)
    Player - Set the current research level of Rerh (techcode) to 2 for Player 2 (Blue)
    Player - Set the current research level of Resm (techcode) to 2 for Player 3 (Teal)
    Player - Set the current research level of Resw (techcode) to 2 for Player 3 (Teal)
    Player - Set the current research level of Rema (techcode) to 2 for Player 3 (Teal)
    Player - Set the current research level of Rerh (techcode) to 2 for Player 3 (Teal)
    Player - Set the current research level of Resm (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of Resw (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of Rema (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of Rerh (techcode) to 2 for Player 12 (Brown)
    Player - Set the current research level of Resm (techcode) to 2 for Player 7 (Green)
    Player - Set the current research level of Rema (techcode) to 2 for Player 7 (Green)
    Player - Set the current research level of Remg (techcode) to 1 for Player 7 (Green)
Druid of the WildHint
  Events
    Player - Player 6 (Orange) Selects a unit
  Conditions
    (Unit-type of (Triggering unit)) Equal to Druid of the Wild [Troll]
    (Owner of (Triggering unit)) Equal to Player 6 (Orange)
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Add Druid_of_the_WildHint_Q <gen> to the trigger queue (Checking conditions)
Druid of the WildHint Q
  Events
  Conditions
    GameOver Equal to False
  Actions
    Wait 1.00 seconds
    Quest - Display to Player Group - Player 6 (Orange) the Simple Hint message: |cff87ceebNEW UNIT ACQUIRED|rDruid of the Wild - Mystical Troll caster. Has Bat Form, which allows him to morph into a bat. Also has Swiftmend, which heals a friendly unit over time.
    Wait Campaign hint delay seconds
    Trigger - Remove (This trigger) from the trigger queue
Samuro Go Defend Base
  Events
    Unit - A unit enters Star_Build <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Entering unit)) Equal to Player 4 (Purple)
        (Owner of (Entering unit)) Equal to Player 11 (Dark Green)
        (Owner of (Entering unit)) Equal to Player 6 (Orange)
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Run Samuro_Patrol_to_01 <gen> (ignoring conditions)
    Wait 10.00 seconds
    Unit - Unhide Cavalry 0260 <gen>
    Unit - Unhide Cavalry 0261 <gen>
    Unit - Unhide Cavalry 0262 <gen>
    Unit - Order Cavalry 0262 <gen> to Move To.(Center of _______________076 <gen>)
    Unit - Order Cavalry 0261 <gen> to Move To.(Center of _______________074 <gen>)
    Unit - Order Cavalry 0260 <gen> to Move To.(Center of _______________075 <gen>)
Samuro Scouts01Push
  Events
    Unit - A unit enters Samuro_Patrol_1 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 1 (Red)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Order Blademaster 0103 <gen> to Stop.
    Wait 5.00 seconds
    Unit - Order Blademaster 0103 <gen> to Patrol To.(Center of Samuro_Patrol_2 <gen>)
    Trigger - Turn on Samuro_Scouts02Push <gen>
This Begins His Patrol when the Cinematics End
Samuro Scouts02Push
  Events
    Unit - A unit enters Samuro_Patrol_2 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 1 (Red)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Order Blademaster 0103 <gen> to Stop.
    Wait 5.00 seconds
    Unit - Order Blademaster 0103 <gen> to Patrol To.(Center of Samuro_Patrol_3 <gen>)
    Trigger - Turn on Samuro_Scouts03Push <gen>
This Begins His Patrol when the Cinematics End
Samuro Scouts03Push
  Events
    Unit - A unit enters Samuro_Patrol_3 <gen>
  Conditions
    (Owner of (Entering unit)) Equal to Player 1 (Red)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Order Blademaster 0103 <gen> to Stop.
    Wait 5.00 seconds
    Unit - Order Blademaster 0103 <gen> to Patrol To.(Center of Samuro_Patrol_1 <gen>)
    Trigger - Turn on Samuro_Scouts01Push <gen>
Base Is Attacked
  Events
    Unit - A unit owned by Player 4 (Purple).Is attacked
  Conditions
    (Star_Build <gen> contains (Triggering unit)) Equal to True
    (Owner of (Attacking unit)) Not equal to Player 4 (Purple)
    (Owner of (Attacking unit)) Not equal to Player 6 (Orange)
    (Owner of (Attacking unit)) Not equal to Player 11 (Dark Green)
  Actions
    Trigger - Turn off (This trigger)
    If (GameOver Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn off Samuro_Scouts01Push <gen>
    Trigger - Turn off Samuro_Scouts02Push <gen>
    Trigger - Turn off Samuro_Scouts03Push <gen>
    Set VariableSet SamuroTarget = (Attacking unit)
    Trigger - Turn on SamuroTargetDies <gen>
Samuro Patrol to 01
  Events
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    If (GameOver Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn on Samuro_Scouts01Push <gen>
    Unit - Order Blademaster 0103 <gen> to Attack-Move To.(Center of Samuro_Patrol_1 <gen>)
Base Is Attacked 2
  Events
    Unit - A unit owned by Player 6 (Orange).Is attacked
  Conditions
    (Star_Build <gen> contains (Triggering unit)) Equal to True
    (Owner of (Attacking unit)) Not equal to Player 4 (Purple)
    (Owner of (Attacking unit)) Not equal to Player 6 (Orange)
    (Owner of (Attacking unit)) Not equal to Player 11 (Dark Green)
  Actions
    Trigger - Turn off (This trigger)
    If (GameOver Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn off Samuro_Scouts01Push <gen>
    Trigger - Turn off Samuro_Scouts02Push <gen>
    Trigger - Turn off Samuro_Scouts03Push <gen>
    Set VariableSet SamuroTarget = (Attacking unit)
    Trigger - Turn on SamuroTargetDies <gen>
Base Is Attacked 3
  Events
    Unit - A unit owned by Player 11 (Dark Green).Is attacked
  Conditions
    (Star_Build <gen> contains (Triggering unit)) Equal to True
    (Owner of (Attacking unit)) Not equal to Player 4 (Purple)
    (Owner of (Attacking unit)) Not equal to Player 6 (Orange)
    (Owner of (Attacking unit)) Not equal to Player 11 (Dark Green)
  Actions
    Trigger - Turn off (This trigger)
    If (GameOver Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn off Samuro_Scouts01Push <gen>
    Trigger - Turn off Samuro_Scouts02Push <gen>
    Trigger - Turn off Samuro_Scouts03Push <gen>
    Set VariableSet SamuroTarget = (Attacking unit)
    Trigger - Turn on SamuroTargetDies <gen>
SamuroTargetDies
  Events
    Unit - A unit owned by Player 2 (Blue).Dies
    Unit - A unit owned by Player 3 (Teal).Dies
    Unit - A unit owned by Player 7 (Green).Dies
    Unit - A unit owned by Player 9 (Gray).Dies
    Unit - A unit owned by Player 10 (Light Blue).Dies
    Unit - A unit owned by Player 12 (Brown).Dies
    Unit - A unit owned by Neutral Hostile.Dies
  Conditions
    (Dying unit) Equal to SamuroTarget
  Actions
    Trigger - Turn off (This trigger)
    If (GameOver Equal to True) then do (Skip remaining actions) else do (Do nothing)
    Trigger - Turn on Samuro_Scouts01Push <gen>
    Trigger - Turn on Samuro_Scouts02Push <gen>
    Trigger - Turn on Samuro_Scouts03Push <gen>
    Trigger - Turn on Base_Is_Attacked <gen>
    Set VariableSet SamuroTarget = No unit
Samuro Returns Копировать
  Events
    Unit - Blademaster 0103 <gen> Dies
  Conditions
    GameOver Equal to False
  Actions
    Wait 40.00 seconds
    Hero - Instantly revive Blademaster 0103 <gen> at (Center of _______________073 <gen>), Show revival graphics
    Wait 0.50 seconds
    Trigger - Run Samuro_Patrol_to_01 <gen> (ignoring conditions)
Hekazi
  Events
    Unit - A unit owned by Player 6 (Orange).Finishes training a unit
  Conditions
    (Unit-type of (Trained unit)) Equal to Warmonger [Troll]
    (Number of units in (Units owned by Player 6 (Orange) of type Warmonger [Troll])) Equal to 3
  Actions
    Unit - Replace (Trained unit) with a Hekazi [Troll] using The old unit's relative life and mana
Warmonger
  Events
    Unit - A unit owned by Player 6 (Orange).Finishes training a unit
  Conditions
    (Unit-type of (Trained unit)) Equal to Warmonger [Troll]
    (Number of units in (Units owned by Player 6 (Orange) of type Hekazi [Troll])) Equal to 1
  Actions
    Unit - Replace (Trained unit) with a Warmonger [Troll] using The old unit's relative life and mana
TreeOfLife01Dies Копировать
  Events
    Unit - AncientOfWild 0278 <gen> Dies
  Conditions
    TreeOfWild01Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfWild01Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLife02Dies Копировать
  Events
    Unit - AncientOfWild 0055 <gen> Dies
  Conditions
    TreeOfWild02Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfWild02Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q <gen> to the trigger queue (Checking conditions)
TreeOfLife03Dies Копировать
  Events
    Unit - AncientOfWild 0279 <gen> Dies
  Conditions
    TreeOfWild03Dead Equal to False
    GameOver Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet TreeOfWild03Dead = True
    Player - Add 500 to Player1.Current lumber
    Player - Add 500 to Player2.Current lumber
    Player - Add 500 to Player 6 (Orange).Current lumber
    Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 5.00 seconds
    Wait 3.00 seconds
    Trigger - Add TreeOfLifeBonus_Q_____________________u <gen> to the trigger queue (Checking conditions)
    Trigger - Add AllTreesDie_Q_____________________u <gen> to the trigger queue (Checking conditions)
TreeOfLifeBonus Q Копировать
  Events
  Conditions
    GameOver Equal to False
  Actions
    Quest - Display to (All players) the Quest Update message: |cffffcc00A Tree of Wild has been destroyed|r - 1500 lumber pillaged
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
AllTreesDie Q Копировать
  Events
  Conditions
    TreeOfWild03Dead Equal to True
    TreeOfWild02Dead Equal to True
    TreeOfWild01Dead Equal to True
    GameOver Equal to False
  Actions
    Set VariableSet SubquestsComplete = (SubquestsComplete + 1)
    Quest - Mark QuestPillage2 as Completed
    Quest - Mark QuestPillageRequirementFro2 as Completed
    Quest - Display to (All players) the Quest Completed message: |c00FFFC01OPTIONAL QUEST COMPLETED|r|c00540081Destroy Trees of Wild|r
    Wait Campaign quest delay seconds
    Trigger - Remove (This trigger) from the trigger queue
DarkTrolls Cinematic
  Events
    Unit - A unit enters _______________078 <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player 4 (Purple)
        (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
        (Owner of (Triggering unit)) Equal to Player 6 (Orange)
  Actions
    Trigger - Turn off (This trigger)
    Cinematic - Fade out over 1.00 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Turn cinematic mode On for Player Group - Player 4 (Purple)
    Cinematic - Turn cinematic mode On for Player Group - Player 6 (Orange)
    Cinematic - Turn cinematic mode On for Player Group - Player 11 (Dark Green)
    Wait 0.10 seconds
    Unit - Move |c008000FFChieftain of the Warsong Clan|r 0209 <gen> instantly to (Center of _______________079 <gen>), facing (Position of Dark Troll Warlord 0286 <gen>)
    Cinematic - Fade in over 1.20 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Pause all units
    Camera - .Apply. gg_cam_Camera_017 for Player 4 (Purple) over 0 seconds
    Camera - .Apply. gg_cam_Camera_017 for Player 6 (Orange) over 0 seconds
    Camera - .Apply. gg_cam_Camera_017 for Player 11 (Dark Green) over 0 seconds
    Camera - .Apply. gg_cam_Camera_019 for Player 4 (Purple) over 10.00 seconds
    Camera - .Apply. gg_cam_Camera_019 for Player 6 (Orange) over 10.00 seconds
    Camera - .Apply. gg_cam_Camera_019 for Player 11 (Dark Green) over 10.00 seconds
    Cinematic - Send transmission to (All players) from Dark Troll Warlord 0286 <gen> named Dark Troll: Play No sound and display Who are you that you need on our lands. Modify duration: Set to 4.00 seconds and Wait
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play No sound and display We're here for one purpose, to chop more wood! If you do not want to be without a head - do not disturb us. Modify duration: Set to 4.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Dark Troll Warlord 0286 <gen> named Dark Troll: Play No sound and display You think you can threaten me,greenskin?. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play No sound and display One more word and I'll rip your tongue out!. Modify duration: Set to 4.00 seconds and Wait
    Cinematic - Send transmission to (All players) from |c00FF8000Leader of the Darkspear tribe|r 0039 <gen> named |c00FF8000Vol'jin|r: Play No sound and display Warchief, we shouldn't make any more enemies. Maybe they can help us. Modify duration: Set to 4.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Dark Troll Warlord 0286 <gen> named Dark Troll: Play No sound and display I hear you have a problem with the night elves, maybe we can help each other?. Modify duration: Set to 5.00 seconds and Wait
    Wait 2.00 seconds
    Cinematic - Fade in over 0.40 seconds using texture White Mask and color (0%, 0%, 0%) with 0% transparency
    Unit - Unpause all units
    Cinematic - Turn cinematic mode Off for Player Group - Player 4 (Purple)
    Cinematic - Turn cinematic mode Off for Player Group - Player 6 (Orange)
    Cinematic - Turn cinematic mode Off for Player Group - Player 11 (Dark Green)
    Camera - Reset camera for Player 4 (Purple) to standard game-view over 2.00 seconds
    Camera - Reset camera for Player 6 (Orange) to standard game-view over 2.00 seconds
    Camera - Reset camera for Player 11 (Dark Green) to standard game-view over 2.00 seconds
    Trigger - Run Choose_Destiny <gen> (checking conditions)
Choose Destiny
  Events
  Conditions
  Actions
    Dialog - Change the title of Win to Choose DarkTroll Destiny
    Dialog - Create a dialog button for Win labelled Attack them ( canon)
    Set VariableSet Buttons[1] = (Last created dialog Button)
    Dialog - Create a dialog button for Win labelled Unite with them ( non-canon)
    Set VariableSet Buttons[2] = (Last created dialog Button)
    Dialog - Show Win for Player 4 (Purple)
click
  Events
    Dialog - A dialog button is clicked for Win
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to Buttons[1]
      Then - Actions
        Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play No sound and display KILL THEM!!!. Modify duration: Set to 4.00 seconds and Wait
        Wait 2 seconds
        Player - Make Player 4 (Purple) treat Player 5 (Yellow) as an Enemy
        Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Enemy
        Player - Make Player 11 (Dark Green) treat Player 5 (Yellow) as an Enemy
        Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Enemy
        Player - Make Player 5 (Yellow) treat Player 11 (Dark Green) as an Enemy
        Player - Make Player 5 (Yellow) treat Player 4 (Purple) as an Enemy
      Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            (Clicked dialog button) Equal to Buttons[2]
          Then - Actions
            Cinematic - Send transmission to (All players) from |c008000FFChieftain of the Warsong Clan|r 0209 <gen> named |c008000FFGrom Hellscream|r: Play No sound and display Okay Troll, we'll take your help. Modify duration: Set to 4.00 seconds and Wait
            Wait 2 seconds
            Unit - Change ownership of Headhunter 0292 <gen> to Player 4 (Purple) and Retain color
            Unit - Change ownership of Headhunter 0293 <gen> to Player 4 (Purple) and Retain color
            Unit - Change ownership of Headhunter 0285 <gen> to Player 4 (Purple) and Retain color
            Unit - Change ownership of Headhunter 0284 <gen> to Player 4 (Purple) and Retain color
            Unit - Change ownership of Dark Troll 0295 <gen> to Player 6 (Orange) and Retain color
            Unit - Change ownership of Dark Troll 0294 <gen> to Player 6 (Orange) and Retain color
            Unit - Change ownership of Headhunter 0283 <gen> to Player 11 (Dark Green) and Retain color
            Unit - Change ownership of Headhunter 0281 <gen> to Player 11 (Dark Green) and Retain color
            Quest - Display to (All players) the Simple Hint message: |cffffcc00HINT|r - DarkTrolls join to your army
          Else - Actions
    Dialog - Hide Win for (Triggering player)
    Visibility - Enable fog of war