1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

Red Raven v1.02.1.w3x
Variables
Variables
Initialization
Melee Initialization
INTRO
Prologue
Child move
bam
creation
Naming Red Raven
Main element and focus
GENERAL
Atonement Altar
Death Red Raven HARDCORE
Death Red Raven Tutorial
Death Red Raven
Death Elemental Effect
LEVEL
Attack Sound Red Raven
Sending items to town
Camera shake
Old Friend Leave
MUSIC
Music Silence
Music Dies Irae
Music LLYR
Music ELIWLOD
Music Aderyn
Music Gwynfor
Music Storm King
Music Fade out
Music Fade in
Places
HINT DIALOGUE
HINT DIALOGUE Copy
ENTER LAKE
ENTER annstas
ENTER herkenduch
ENTER enochs
ENTER ceinwen
Quests
Commands
selectoff
selecton
select enemy
tutorial off
tutorial on
Periodic events
CAMERA CREATION
CAMERA
CAMERA Dungeon
CAMERA Dungeon Boss
CAMERA Aderyn Boss
CAMERA Ffraid
CAMERA Eliwlod Boss
CAMERA Gwynfor Boss
Ffraid Close
Ffraid Far away
Crows first area
Orb HP
Thunder Wolf Snore
Eye of the Unseen
HITBOX
ACT OBSTACLES
SEAL 4
SEAL 5
SEAL 6
TRune 0
Wand Unlock
Looking Glass Unlock
Phase Unlock
Lightning 1
Lightning 2
TRune 1
TRune 2a
TRune 2b
TRune 3
Learn about Seals
SEAL 1
Gwalchmei run
Child of Rot 1
Child of Rot 2
Child of Rot 3
HRune Northern a
HRune Northern b
Miniboss Spear of Awel
Eliwlod1
HRune 1
Miniboss Iseult
HRune 2
HRune 3
ALBRECHTS STUDY
SEAL 2
Sisters of Thorns
ERune 1
Sisters of Thorns 2
ERune 2
ERune 3a
ERune 3b
Dungeon 1
Enter D1
Leave D1
light up
DRune 1
Snake target
DRune 2
Ambush 1
Ambush 2
Snake target 2
Snake target 3
DRune 3
GATE 1
GATE 2
GATE 3
GATE 4
GATE 5
Dungeon 2
Enter D2
Leave D2
CEINWEN KEY 1
CEINWEN KEY 2
CEINWEN KEY 3
Spawn Ghosts
Ghost target 1
Ghost target 1 2
Ghost target 2
Ghost target 2 2
Enter D3
Leave D3
Dungeon 3
Enter D4
Leave D4
SEAL 3
DRune 4
DRune 5
Enter Water Portal
Leave Water Portal
NPCs
MORWENS TOBACCO
TALK Phase 1
TALK Phase 2
TALK Phase 3
TALK Side Dialogue
TALK ELIWLOD
ATTACK ELIWLOD VANISH
TALK GRIGOR 1
Move Grigor to town
TALK GRIGOR 2
TALK RHEIN
TALK RHEIN 2
Rhein leaving
TALK FFRAID
FFRAID Death
TALK RHEIN VENDOR
Quest related
NOTES
TURN OFF DIALOGUE
BOOKS
Soul Arts
Fire
Ice
Thunder
Earth
Arcane
Necromancy
Blood
Light
Darkness
READ BOOKS
Grimoire animation
Grimoire animation off
Grimoire abilities
Monuments
Altars
Runestone unlock
Runes acquire
Runestone Passives
Saints
Unlock Herkenduch
Unlock Enochs Garden
Unlock Road of Remembrance Saint
Unlock Ceinwens Secret Study Saint
Unlock Tegeirians Resting Place Saint
LOOT
Unit Death
Miniboss Death
ENEMIES
Boss Attacks
Boss Abilities
Unit Attacks
Unit Abilities
Uthyr Seal Death
Herkenduch Haste
Iseult Attack 1
Iseult Attack 2
Grotesque Seal Death
Awaken BROKEN PROMISE
Awaken DREAMING MOTHER
Death effect UNIT
Death effect BOSS
BERZ
BERZ Fire 1
BERZ Fire Storm
BERZ Fire Storm 360
BERZ Fire
BERZ Radiance
BERZ Frost Aura
BERZ Nature Orb 360
BERZ Green Fire
BERZ Nature Orb
BERZ Thunder 360
BERZ White Claw
MM
Herkenduch
MM ENEMY RAVEN HAG
MM Core ENEMY RAVEN HAG
Enochs Garden
MM GREEN ARROW
MM Core GREEN ARROW
Ceinwens Study
Labyrinth
MM Green Fire
MM Core Green Fire
MM Blood Essence
MM Core Blood Essence
BOSSES
STORM KING
Storm King Minions
Storm King Intro
SK 80 percent
SK Spawn RunMulti RUN
SK Spawn RunMulti
SK Spawn Thunder Seal
SK Spawn Thunder Seal Death
SK 65 percent
SK 50 percent
SK 30 percent
SK increase size
SK AoE Attack
SK DEATH
MM BOSS THUNDER
MM Core BOSS THUNDER
MADOC
MDC Periodic shockwave
MDC Shockwave
MDC Four Earth Orbs
MDC 80 percent
MDC Quick Sand Orbs
MDC Explosions at boss
MDC 40 percent
MDC Quick Sand Orbs 2
MDC LOSE
MDC REMATCH
MDC DEATH
Pick up Earth Scroll
ADERYN
MM ADERYN
MM Core ADERYN
Aderyn Attack 1
Aderyn Ice Pattern 1
Aderyn Ice Pattern 2
Aderyn Ice Pattern 3
Aderyn 90 percent
Aderyn copies attack 1
Aderyn 70 percent
Aderyn 50 percent
Aderyn 40 percent
Aderyn periodic Ffraid attack
Aderyn Ffraid Seals death
Aderyn Ffraid attack
Aderyn 15 percent
Aderyn LOSE
Aderyn REMATCH
Aderyn DEATH
ELIWLOD
MM ELIWLOD
MM Core ELIWLOD
Eliwlod Attack 1
Eliwlod Attack 2
Eliwlod Ember Death
Eliwlod 90 percent
Eliwlod 80 percent
Eliwlod 70 percent
Eliwlod Wolf Attack
Eliwlod WolfDeath
Eliwlod Periodic Fire Source
Eliwlod 60 percent
Eliwlod Periodic Seal 1
Eliwlod Seal Death 1
Eliwlod 50 percent
Eliwlod Periodic Seal 2
Eliwlod Seal Death 2
Eliwlod 40 percent
Eliwlod 30 percent
Eliwlod Periodic Fire Spear
Eliwlod 20 percent
Eliwlod Periodic Fire Orbs
Eliwlod Looking Glass Death
Eliwlod Spear Attack
Eliwlod LOSE
Eliwlod REMATCH
LLYR
Llyr Periodic Warriors
Llyr 80 Percent
Llyr 70 Percent
Llyr Periodic Mages
Llyr 60 Percent
Llyr 50 percent
Llyr Periodic Locust
Llyr 30 percent
Llyr Periodic Warrior and Mages
Llyr 20 Percent
Llyr LOSE
Llyr REMATCH
Llyr DEATH
GWYNFOR
MM GWYNFOR
MM Core GWYNFOR
Gwynfor Looking Glass Death
Gwynfor Periodic Darkness
Gwynfor Periodic Looking glass selves
Gwynfor Darkness Ward
Gwynfor chains
Gwynfor chains Death
Gwynfor 85 percent
Gwynfor 70 percent
Gwynfor Periodic Abyss Orb Walk
Gwynfor Attack Multi
Gwynfor 55 percent
Gwynfor 40 percent
Gwynfor Wind Orb
Gwynfor Periodic Tornado Walk
Gwynfor 25 percent
Gwynfor Periodic Chaos at position
Gwynfor Chaos Orb
Gwynfor Chaos Attack 1
Gwynfor 15 percent
Gwynfor Periodic Chaos surround
Gwynfor Chaos Attack 2
Gwynfor Periodic Chaos Multi
MM CHAOS
MM Core CHAOS
Gwynfor LOSE
REMATCH GWYNFOR
CUTSCENES
CUTSCENE MORWEN
CUTSCENE Snake People
CUTSCENE MADOC
CUTSCENE Old Friend
CUTSCENE ADERYN
CUTSCENE ELIWLOD
CUTSCENE ELIWLOD DEATH
CUTSCENE LLYR
CUTSCENE GWYNFOR
CUTSCENE GWYNFOR DEATH
CUTSCENE ENDING
ENDINGS
ITEMS
Buy Item Sound Effect
Learn about Old Tomes
Learn about Key Items
Learn about Unidentified Sorceries
Access Items
Inventory Items
Gold
Use item
Attack Effects
V
V dawn crystal
F
D
C
C No Duplicate Items
Z No Duplicate Items
Dummy C Chaos
Dummy C Harmony
Moon Child Circlet
Feather of the Last Whisper
X
Z
The Soul Stone
Stone of Rot
MAGIC
V - Phase
V Life and Travel
V Belt of the Insightful
VD Switch Places
F - Soul Mass
F Change to passive
F Attack unit and Attack Orb
F Orb Death
F Orb Explosion
ENEMY Orb Explosion
D - Self Cast
D Looking Glass Self
D Looking Glass Self Death
C - AoE
FIRE
ICE
THUNDER
EARTH
NECROMANCY
ARCANE
BLOOD
LIGHT
DARKNESS
X - Mass or Single
The Awakening of Enlil
Beckon the Storm
Concentrated Bolt Attack
Symphony of the Mountain
Symphony of the Mountain Earth Orbs
Winters Kiss
Waltz of the Fireflies
Gethins Requiem
Gethins Requiem Attack
Z - Projectiles or Single
Multishot
MM Init
MM FIRE
MM ICE
MM THUNDER
MM EARTH
MM ARCANE
MM NECROMANCY
MM BLOOD
MM LIGHT
MM DARKNESS
MM Core FIRE
MM Core ICE
MM Core THUNDER
MM Core EARTH
MM Core ARCANE
MM Core NECROMANCY
MM Core BLOOD
MM Core LIGHT
MM Core DARKNESS
STAT BONUSES
SPIRITISM
EARTH Z
NECRO Z 1
OCCULTISM
BLOOD Z
ARCANE Z
NECRO Z 2
MYSTICISM
NECRO Z 3
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code except Custom Script Item. Custom Script Item will merge into map script after globals variables declaration with the list order in trigger view.

		
Name Type Is Array Initial Value
AbilityC integer No
AbilityX integer No
ACT integer No
armor real No
BOSS unit No
BOSSUnit unit Yes
CinematicMODE boolean No
creation texttag Yes
creationb boolean Yes
CrowPoint location No
DashPoint location No
deathpoint location No
DeathUnit unit No
Dialog1 dialog No
Dialog2 dialog No
DialogButton button Yes
DieInDungeon boolean No
EMS_temppoint3 location Yes
EMUS_arrowgroup group Yes
EMUS_arrowpick unit No
EMUS_ArrowSpeed real Yes
EMUS_calcReal real Yes
EMUS_calcReal2 real Yes
EMUS_Caster unit Yes
EMUS_DamagedUnit unit No
EMUS_DamagePerArrow real Yes
EMUS_detectorgroup group No
EMUS_DistanceOfTravel real Yes
EMUS_DistReal real No
EMUS_Facing real Yes
EMUS_Integer integer Yes
EMUS_NumberOfArrows integer Yes
EMUS_Sound sound No
EMUS_temppoints location Yes
FogUnit unit No
GrigorExhaust boolean No
HARDCORE boolean No
HitBoxPoint location No
IntegerBOSS integer No
IntegerENEMY integer No
IntegerFocus integer No
IntegerLOOT integer No
IntegerOrbEx integer No
IntegerPassive integer No
IntegerPenalty integer No
IntegerRedRaven integer No
IntegerZ integer No
IntegerZEnemy integer No
INVENTORY integer No
INVENTORY2 integer Yes
ItemCharges integer Yes
Level integer Yes
LightPoint location No
LookingGlassSelf unit No
ManipulatedItem item No
ManipulatedItemTYPE itemcode No
MS_temppoint3 location Yes
Multi_Shot_Ability_Level integer No
Multi_Shot_Base_Arrow_Count integer No
Multi_Shot_Caster unit No
Multi_Shot_Dummy_Ability abilcode No
Multi_Shot_Facing real No
Multi_Shot_Location location No
Multi_Shot_Location_2 location No
Multi_Shot_Loop_Location location No
Multi_Shot_Loop_Location2 location No
Multi_Shot_Owner player No
Multi_Shot_Total_Arrow_Count integer No
MultiShotPoint location No
MUS_arrowgroup group Yes
MUS_arrowpick unit No
MUS_ArrowSpeed real Yes
MUS_calcReal real Yes
MUS_calcReal2 real Yes
MUS_Caster unit Yes
MUS_DamagedUnit unit No
MUS_DamagePerArrow real Yes
MUS_detectorgroup group No
MUS_DistanceOfTravel real Yes
MUS_DistReal real No
MUS_Facing real Yes
MUS_Integer integer Yes
MUS_NumberOfArrows integer Yes
MUS_Sound sound No
MUS_temppoints location Yes
NAMESTRING string No
OrbGroup group No
OrbGroup2 group No
PaperQuillText string Yes
PASSIVE integer No
QUEST quest Yes
QuestItem item Yes
RealF real No
RealV real Yes
RedRaven unit No
REVABILITY ability Yes
REVEXP integer No
REVITEM itemcode Yes
REVLEVEL integer No
REVSTAT integer Yes
REVUNITTYPE unitcode No
ScrollGiven boolean No
Selectofforon boolean No
SpecialEffect effect No
SpectralSeal integer No
TALK integer Yes
TALKSOUND sound No
TempAngle real No
TempGroup group No
TempGroup2 group No
TempPoint location No
TempPoint2 location No
TempPoint3 location No
TempPointEnemyMulti location No
TempPointGwyn location No
TempUnit unit Yes
TenPercentofCurrentLife real No
test string No
TOBACCO integer No
Tutorial boolean No
UnitGroup group No
UnitX unit Yes
VisPoint location No
VISVIS fogmodifier Yes
Weather weathereffect No
WindPoint location No
Default melee game initialization for all players
Melee Initialization
  Events
    Map initialization
  Conditions
  Actions
    Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Sound - Set Ambient Sounds to 0.00%
    Sound - Set User Interface Sounds to 0.00%
    Custom script: call BlzFrameSetAllPoints(BlzGetOriginFrame(ORIGIN_FRAME_WORLD_FRAME, 0), BlzGetOriginFrame(ORIGIN_FRAME_GAME_UI, 0))
    Custom script: call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0), false)
    Custom script: call BlzFrameSetVisible(BlzGetFrameByName("ConsoleUIBackdrop",0), false)
    Camera - .Apply. gg_cam_Gameplay for Player 1 (Red) over 0 seconds
    Cinematic - Turn subtitle display override On
    Sound - Clear the music list
    Sound - Stop the currently playing music theme
    Set VariableSet TempGroup = (Units in creation <gen>)
    Unit Group - Pick every unit in TempGroup and do (Hide (Picked unit))
    Custom script: call DestroyGroup(udg_TempGroup)
    Animation - Remove the second (animationname) animation tag to |c00F5DEB3Pedestal|r 0141 <gen>
    Hero - Create |cffffcc00Stained Parchment|r and give it to |cff800000Red Raven|r 0001 <gen>
    Hero - Create |cffffcc00Stained Parchment|r and give it to |cff800000Red Raven|r 0039 <gen>
    Hero - Create |cffffcc00Stained Parchment|r and give it to |cff800000Red Raven|r 0038 <gen>
    Unit - Set Name of |c00F5DEB3Pedestal|r 0141 <gen> to |c00F5DEB3Pedestal:|r |cffc0c0c0Wind|r
    Unit - Set Name of |c00F5DEB3Herkenduch Altar|r 0036 <gen> to |c00F5DEB3Enoch's Garden Altar
    Unit - Set Name of |c00F5DEB3Herkenduch Altar|r 0085 <gen> to |c00F5DEB3Ceinwen's Secret Archive Altar
    Unit - Change color of |cffc8ffffOld Friend|r 0024 <gen> to Snow
    Unit - Change color of |cffc8ffffS E A L|r 0061 <gen> to Navy
    Unit - Change color of |cffc8ffffS E A L|r 0093 <gen> to Maroon
    Unit - Change color of |cffc8ffffS E A L|r 0342 <gen> to Maroon
    Unit - Change color of |cffc8ffffS E A L|r 0129 <gen> to Mint
    Unit - Change color of |cffc8ffffS E A L|r 0014 <gen> to Wheat
    Unit - Change color of |cffc8ffffS E A L|r 0271 <gen> to Yellow
    Unit - Change color of |cff00ff00Shadow of Gethin|r 0356 <gen> to Black
    Unit - Change color of peasant intro 0332 <gen> to Brown
    Animation - Change |c00F5DEB3A N W I R E D D|r 0011 <gen>'s animation speed to 50.00% of its original speed
    Animation - Change Gwynfor 0313 <gen>'s animation speed to 50.00% of its original speed
    Animation - Change Gwynfor intro 0331 <gen>'s animation speed to 50.00% of its original speed
    Animation - Change HUGE THUNDER WOLF 0363 <gen>'s animation speed to 50.00% of its original speed
    Animation - Play IRON GATE 0120 <gen>'s death alternate (animationname) animation
    Unit - Hide |c00F5DEB3M O R W E N|r 0058 <gen>
    Unit - Hide |c00F5DEB3F F R A I D|r 0314 <gen>
    Set VariableSet TempGroup = (Units of type DISCO (Male 2))
    Unit Group - Pick every unit in TempGroup and do (Hide (Picked unit))
    Custom script: call DestroyGroup(udg_TempGroup)
    Neutral Building - Add |c00F5DEB3Paper & Quill to |c00F5DEB3G R I G O R|r 0078 <gen> with 1 in stock and a max stock of 1
    Set VariableSet TempGroup = (Units of type |cffffc896Grotesque|r locust smaller ground)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cffffc896Grotesque|r locust)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type grotesque locust D)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cffffc896Grotesque|r locust smaller ground darker)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type grotesque locust D2)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cffff0000Touched by Vlad|r LOCUST)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type saint locust D)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type saint ending)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type target)
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 100.00% transparency)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cff963232Lost Scholar|r woman)
    Unit Group - Pick every unit in TempGroup and do (Make (Picked unit) Invulnerable)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cff963232Lost Scholar|r)
    Unit Group - Pick every unit in TempGroup and do (Make (Picked unit) Invulnerable)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type Green Fire CHECKPOINT enochs)
    Unit Group - Pick every unit in TempGroup and do (Hide (Picked unit))
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type Green Fire CHECKPOINT DUNGEON)
    Unit Group - Pick every unit in TempGroup and do (Hide (Picked unit))
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type Green Fire CHECKPOINT)
    Unit Group - Pick every unit in TempGroup and do (Hide (Picked unit))
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type saint (Male 2))
    Unit Group - Pick every unit in TempGroup and do (Change (Picked unit)'s animation speed to 0.00% of its original speed)
    Unit Group - Pick every unit in TempGroup and do (Add |c00F5DEB3Annstás Saint to (Picked unit) with 0 in stock and a max stock of 1)
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cffffc896Herkenduch Hag|r)
    Unit Group - Pick every unit in TempGroup and do (Create |cffffcc00Herkenduch Scroll|r and give it to (Picked unit))
    Custom script: call DestroyGroup(udg_TempGroup)
    Set VariableSet TempGroup = (Units of type |cffffc896Herkenduch Rot Dancer|r channel)
    Unit Group - Pick every unit in TempGroup and do (Play (Picked unit)'s spell channel (animationname) animation)
    Custom script: call DestroyGroup(udg_TempGroup)
    Game - Disable ally color button and Disable creep camp button
    Game - Hide creep camps on the minimap.
    Game - Enable selection and deselection functionality (Disable selection circles)
    Game - Set time of day speed to 0.00% of the default speed
    Destructible - Pick every destructible in BOSS_1_Storm_King <gen> and do (Hide (Picked destructible))
    Set VariableSet IntegerPassive = 0
    Set VariableSet IntegerPenalty = 0
    Set VariableSet FogUnit = Fog Gate 1 0040 <gen>
    Set VariableSet CinematicMODE = False
    Set VariableSet ScrollGiven = False
    Set VariableSet DieInDungeon = False
    Quest - Create a Optional quest titled Commands with the description |c00F5DEB3COMMANDS|r|cffffff00-tutorial on|r = Upon encountering a new mechanic, a voice will give a hint to how it functions.|cffffff00-tutorial off|r = You will be given no hints when encountering a new mechanic.|cffffff00-select on|r = Allows you to select enemy units without switching to Red Raven|cffffff00-select off|r = Will automatically select Red Raven if you click on an enemy unit, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleUnits.blp
    Quest - Create a Required quest titled Main task with the description |c00F5DEB3As his purple garb turned crimson, I chose to stay my hand. |n|nThrough broken teeth he uttered "Silenced Songs."|r, using icon path ReplaceableTextures\CommandButtons\BTNScribeScroll.blp
    Quest - Create a Optional quest titled MODELS (A-K) with the description AndreOverload519 - Forsaken ArcherAyane - AuraBlink - Anime WindsBlizzard Entertainment - World of WarcraftBoogles - Soulfire MissileBorn2Modificate - CloudBorn2Modificate - High-Res Doodad PackDeolrin - Possessed TomeEmpyReal - Black MagicEmpyReal - Blood SpellsEpsilon - DinnerRoomGolemEviL_BuddhA - Scroll RedFelipe Gormadoc - Blood Variation Fingolfin - Birch 1Fingolfin - Birch 2Fingolfin - Birch 3Fingolfin - Oak 1Fingolfin - Oak 2Fingolfin - Oak 3General Frank - AquamarineGeneral Frank - Orb of BloodGeneral Frank - Orb of DarknessGeneral Frank - Orb of DragonsGeneral Frank - Orb of FireGeneral Frank - Orb of IceGeneral Frank - Orb of LightGeneral Frank - Orb of LightningGeneral Frank - Orb of Poison-Grendel - Priest of Putrescence-Grendel - Toxic WeedHerrDave - MyrddraalJetFangInferno - AnnihilationJetFangInferno - BanishTargetJetFangInferno - BreathofFireDamageJetFangInferno - CloudofFogJetFangInferno - DesecrateJetFangInferno - HandBuffsJetFangInferno - Magic SealsJetFangInferno - RandomFxPackJetFangInferno - UDeathSmallJudash - AlmagestJudash - ArchBlackWingsJudash - Black BlinkJudash - Blood ExplosionJudash - Blood SlamJudash - Blood WingsJudash - Blue Ball I, IIJudash - DeathroseJudash - Desert CycloneJudash - Devil SlamJudash - EclipseJudash - Falling LightJudash - Flame CycloneJudash - Feather PackJudash - GrossJudash - HellBondJudash - HelRootsBuffJudash - Holy CrossJudash - Ice SparksJudash - Judgement CutJudash - Lava CrackJudash - Lava SlamJudash - Liquid LightningJudash - Lightning ShockJudash - Lightning SlamJudash - Quick SandJudash - Red BatsJudash - Root ShieldJudash - Shadow SlamJudash - Soul AuraJudash - Wind BallKAIL333XZ - Icons to Models PackKAIL333XZ - Some Custom Items PackKellym0 - GreatElderHydraLightningOrb, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled MODELS (L-Z) with the description Lothar1994 - Fel Fire & Blue FireMatarael - Elven BootsMc ! - Arcane TomeMythic - Blink vol. IMythic - Blizzard IIMythic - ConflagrateMythic - Culling Slash vol. IIMythic - EmberMythic - Fire ArrowsMythic - Fire MissilesMythic - Firebrand ShotsMythic - Fountain of SoulsMythic - HealMythic - Holy LightMythic - Kingdom ComeMythic - Nether BlastMythic - Pillar of FlameMythic - RadianceMythic - Rain of Fire vol. II, IIIMythic - Singularity vol. I, IIMythic - Soul ArmorMythic - Soul DischargeMythic - Storm BoltMythic - Void RainMythic - Void RiftsMythic - Void TeleportMythic - Windwalkneogaidenx - Glowing LightnGy - DarknessBombPeeKay - Lightning SphereRepublicola - Ring of ProtectionRightField - NewOrbRondo - MauerRondo - PfeilerRondo - TorRondo - Turm 1Rondo - Turm 2Sc_freek - Eerie FogSNART - Realistic WaterSunchips - GrassAnimatedSunchips - Kitchen KnifeSunwarrior25 - Blue Torch AttachmentSunwarrior25 - Green Torch AttachmentSuPa- - Cave GoblinSuPa- - WortlingTalavaj - Stone & Sword PackTassAvadar - Animated FlagsTauer - Zul'jinTerrio - Item ModelsThe_Spellweaver - Frosty Crystal DropTranquil - Lightning MultipleTr!KzZ - Gold CoinsUgoUgo - Flaming RavenUgoUgo - Orb of VenomUgoUgo - Orb of WindUgoUgo - ToxicFieldUngoliath - Timber Wolf variationUnknown creator** - AncientsWrathUnknown creator** - CarpetUnknown creator** - JudgementUnknown creator** - Shadow BallWILL THE ALMIGHTY - Air-based ExplosionWILL THE ALMIGHTY - Ancient ExplosionWILL THE ALMIGHTY - DirtExplosionWILL THE ALMIGHTY - Dirt ExplosionWILL THE ALMIGHTY - Ground-based ExplosionWILL THE ALMIGHTY - Massive ExplosionWILL THE ALMIGHTY - Nuclear ExplosionWILL THE ALMIGHTY - SparksExplosionWILL THE ALMIGHTY - Sparks ExplosionWhiteDeath - Gray WerewolfWhiteDeath - Living StatueWhiteDeath - WerewolfWindexIsBack - Light SourcesXiaolianhuaStudio - Fantasy EnvironmentxXm0Rph3usXx - Stonehouse KitZap - Model** Could not find an author for this model. If such information becomes available to me, I will update the credits as soon as I’m able., using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled SKINS with the description 67Chrome - ReturnedArcher67Chrome - ReturnedCaptain67Chrome - ReturnedMageMr. Goblin - Corrupted DogMr. Goblin - Corrupted WolfRed Shift - MinerStanakin - CaveKid, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled SKINS (Ungoliath) with the description Ungoliath - AcolyteUngoliath - BansheeUngoliath - Bog BeastUngoliath - Cave GoblinUngoliath - DalaranMutantUngoliath - DeathroseUngoliath - Druid of the TalonUngoliath - Flaming RavenUngoliath - GhoulUngoliath - JainaUngoliath - Living StatueUngoliath - MedivhUngoliath - MurlocUngoliath - MyrddraalUngoliath - Naga Royal GuardUngoliath - Naga SirenUngoliath - Priest of PutrescenceUngoliath - SorceressUngoliath - TimberWolfUngoliath - Toxic WeedUngoliath - VillagerWomanUngoliath - WarEagleUngoliath - WarlockUngoliath - WatcherUngoliath - WortlingUngoliath - WoW ModelsUngoliath - ZombieUngoliath - Zul'jin, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled TERRAIN with the description Nan0 - Stone Path Nan0 - Stone Path 2Nan0 - White Rock, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled ICONS with the description Amigurumi - ChainsOfDarknessBLazeKraze - Bad OmenBlizzard Entertainment - World of WarcraftCloudWolf - CW MagusStaffCRAZYRUSSIAN - BendTimeCRAZYRUSSIAN - EnergizeFRENGERS - Scroll of ObliqueInfinityNexus - ScribeScrollKelthuzad - Talking2Kola - QuestScrollNFWar - Ice WandOgeRfaCes - Circle of LightningOgeRfaCes - Dark LightOgeRfaCes - LightPeeKay - Adept01PeeKay - Adept002PeeKay - Adept003PeeKay - MagicStickLightPeeKay - Law of Blood ScrollPeeKay - Scroll of InfernoRevolve - ScrollSkypsi - LeatherboundTome ISkypsi - LeatherboundTome IISkypsi - LeatherboundTome IIISkypsi - LeatherboundTome IVSkypsi - LeatherboundTome VThe Panda - Frost WandVeronnis - Quest Icon Bundle, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled IMAGES with the description Ungoliath - Custom filters, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled SOUNDS with the description All Sounds - Write on paperBlizzard Entertainment - Diablo IIDashGo - Drag the Body SomewhereFreesound - Woman LaughFreesound - Woman ScreamThomas Sarnari - Dragons & Mythical CreaturesUngoliath - Character Voices & Sound Editing, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled MUSIC I with the description Chopin, FredericEtudes, Op. 25Performer: Bohumir StehlikCopyright: Public Domain Mark 1.0Draeseke, FelixRequiem, Op. 22Performer: Private Tape (MUSOPEN)Copyright: Creative Commons License: Attribution 3.0Dvorak, AntoninSymphony no. 9 in E minor, From the New World Op. 95Performer: Symphony OrchestraCopyright: Public Domain Mark 1.0Mahler, GustavSymphony no. 2 in C minor “Resurrection”Performer: European ArchiveCopyright: Public Domain Mark 1.0, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled MUSIC II with the description Mendelssohn, FelixSymphony No. 4 in A Major (Italian), Mov. 4, Op. 90Performer: Musopen SymphonyCopyright: Public Domain Mark 1.0Verdi, GiuseppeQuattro Pezzi SacriPerformer: European ArchiveCopyright: Public Domain Mark 1.0Verdi, GiuseppeRequiemPerformer: Orchestre national de FranceCopyright: Creative Commons Attribution-NonCommercial-NoDerivs 4.0Wagner, RichardTannhauser, WWV 70Performer: European ArchiveCopyright: Public Domain Mark 1.0, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Quest - Create a Optional quest titled SYSTEMS with the description Projectile System found within...RedScores - “Gaulish Spellpack”-Berz- - “Simple Spell Pack”, using icon path ReplaceableTextures\WorldEditUI\Editor-MultipleDoodads.blp
    Set VariableSet TOBACCO = 0
    Set VariableSet TALK[0] = 0
    Set VariableSet TALK[1] = 0
    Set VariableSet TALK[2] = 0
    Set VariableSet TALK[3] = 0
    Set VariableSet TALK[4] = 0
    Set VariableSet TALK[5] = 0
    Set VariableSet Tutorial = True
    Set VariableSet INVENTORY = 0
    Set VariableSet INVENTORY2[1] = 0
    Set VariableSet INVENTORY2[2] = 0
    Set VariableSet AbilityX = 0
    Set VariableSet AbilityC = 0
    Unit - Set Name of saint 0103 <gen> to |c00F5DEB3Herkenduch Saint|r
    Unit - Set Name of saint 0107 <gen> to |c00F5DEB3Annstás Saint|r
    Unit - Set Name of saint 0147 <gen> to |c00F5DEB3Enoch's Garden Saint|r
    Unit - Set Name of saint 0025 <gen> to |c00F5DEB3Road of Remebrance Saint|r
    Unit - Set Name of saint 0389 <gen> to |c00F5DEB3Ceinwen's Secret Archive Saint|r
    Unit - Set Name of saint 0401 <gen> to |c00F5DEB3Tegeirian's Resting Place Saint|r
    Set VariableSet ACT = 1
    Unit - Pause |cff963232Lost Scholar|r 0123 <gen>
    Unit - Hide |cff963232Lost Scholar|r 0123 <gen>
    Unit - Hide |c00F5DEB3F F R A I D|r 0192 <gen>
    Unit - Hide Gwalchmei ap Gwyar 0247 <gen>
    Unit - Hide Drudwas ap Tryffin 0248 <gen>
    Unit - Hide |cff963232Lost Scholar|r 0130 <gen>
    Unit - Pause |cff963232Lost Scholar|r 0130 <gen>
    Animation - Change |cffafafafMiracle of Silenced Songs|r 0184 <gen>'s vertex coloring to (100%, 100%, 100%) with 100.00% transparency
    Animation - Change target 0292 <gen>'s vertex coloring to (100%, 100%, 100%) with 100.00% transparency
    Animation - Change target 0291 <gen>'s vertex coloring to (100%, 100%, 100%) with 100.00% transparency
    Animation - Change target 0310 <gen>'s vertex coloring to (100%, 100%, 100%) with 100.00% transparency
    Destructible - Hide Roar 3486 <gen>
    Animation - Change target 0246 <gen>'s vertex coloring to (0.00%, 0.00%, 0.00%) with 100.00% transparency
    Unit - Add SEAL BLUE (Neutral) to |cffc8ffffS E A L|r 0061 <gen>
    Unit - Add SEAL RED (Neutral) to |cffc8ffffS E A L|r 0093 <gen>
    Unit - Add SEAL RED (Neutral) to |cffc8ffffS E A L|r 0342 <gen>
    Unit - Add SEAL Fire Red (Neutral) to |cffc8ffffS E A L|r 0014 <gen>
    Unit - Add SEAL GREEN (Neutral) to |cffc8ffffS E A L|r 0129 <gen>
    Unit - Add SEAL YELLOW (Neutral) to |cffc8ffffS E A L|r 0271 <gen>
    Set VariableSet GrigorExhaust = False
    Set VariableSet ACT = 1
    Set VariableSet PASSIVE = 0
    Set VariableSet SpectralSeal = 0
    Animation - Change |cffffc896Sister of Thorns|r 0160 <gen>'s animation speed to 50.00% of its original speed
    Destructible - Hide Fire Effect 2527 <gen>
    Destructible - Hide Fire Effect 2526 <gen>
    Animation - Change Roar 2548 <gen>'s animation speed to 0.00% of its original speed
    Animation - Change Roar 2550 <gen>'s animation speed to 0.00% of its original speed
    Animation - Change Roar 2549 <gen>'s animation speed to 0.00% of its original speed
    Set VariableSet TempPoint2 = (Center of Region_356_Copy <gen>)
    Unit - Make Statue with bowl 0277 <gen> face TempPoint2 over 0 seconds
    Custom script: call RemoveLocation(udg_TempPoint2)
    Set VariableSet TempPoint2 = (Center of Region_356 <gen>)
    Unit - Make Statue with bowl 0269 <gen> face TempPoint2 over 0 seconds
    Custom script: call RemoveLocation(udg_TempPoint2)
    AI - Ignore Fire Wolf 0260 <gen>'s guard position
    Set VariableSet creationb[2] = False
    Set VariableSet creationb[1] = False
    Set VariableSet creationb[0] = False
    Neutral Building - Add Arcane Crystal - Very Easy to |c00F5DEB3Atonement Altar|r 0002 <gen> with 1 in stock and a max stock of 1
    Neutral Building - Add Arcane Crystal - Easy to |c00F5DEB3Atonement Altar|r 0002 <gen> with 1 in stock and a max stock of 1
    Neutral Building - Add Arcane Crystal - Story to |c00F5DEB3Atonement Altar|r 0002 <gen> with 1 in stock and a max stock of 1
    Neutral Building - Add Death Blessing - Hardcore to |c00F5DEB3Atonement Altar|r 0002 <gen> with 1 in stock and a max stock of 1
    Neutral Building - Remove |cffd2d2c8The Awakening of Enlil|r from |c00F5DEB3Grimoire|r 0081 <gen>
    Neutral Building - Add |cffd2d2c8The Awakening of Enlil|r to |c00F5DEB3Grimoire|r 0081 <gen> with 1 in stock and a max stock of 1
    Set VariableSet HARDCORE = False
    Hero - Disable experience gain for |cffff0000Touched by Vlad|r 0270 <gen>.
    Hero - Disable experience gain for |cffff0000Horror of the Labyrinth|r 0341 <gen>.
    Hero - Disable experience gain for |cff8080ffCynfrig's Winter Siren|r 0377 <gen>.
    -------- TESTING --------
    -------- --------
    Destructible - Pick every destructible in (Entire map) and do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            Or - Any (Conditions) are true
              Conditions
                (Destructible-type of (Matching destructible)) Equal to DTep (destructablecode)
                (Destructible-type of (Matching destructible)) Equal to YTpb (destructablecode)
                (Destructible-type of (Matching destructible)) Equal to YTpc (destructablecode)
          Then - Actions
            Destructible - Hide (Picked destructible)
          Else - Actions
    Set VariableSet ACT = 1
    -------- --------
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across EYE_OF_THE_UNSEEN_LIGHT <gen>
    Set VariableSet VISVIS[5] = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across AREA_Tutorial <gen>
    Set VariableSet VISVIS[0] = (Last created visibility modifier)
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_071_Copy_2 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across BLACK_SCREEN <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_071 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_237 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across LLYR_VISION <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across VISION_GWYNFOR <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_229 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_230 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_231 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_232 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_233 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_234 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_235 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Fog of war across Region_236 <gen>
INTRO
  Events
    Time - Elapsed game time is 0.00 seconds
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Set VariableSet CinematicMODE = True
    Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Cinematic - Disable user control for (All players).
    Game - Set the time of day to 12
    Environment - Set sky to Blizzard Sky
    Environment - Reset fog to default values
    Sound - Set Ambient Sounds to 0.00%
    Sound - Set User Interface Sounds to 0.00%
    Custom script: call BlzHideOriginFrames(true)
    Selection - Clear selection for Player 1 (Red).
    Wait 0.50 seconds
    Camera - .Apply. gg_cam_Black_screen for Player 1 (Red) over 0 seconds
    Wait 0.50 seconds
    Cinematic - Fade in over 0.50 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Cinematic - Fade out over 2.00 seconds using texture amapbyungoliath.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
    Wait 4.00 seconds
    Cinematic - Fade in over 2.00 seconds using texture amapbyungoliath.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
    Wait 2.10 seconds
    Cinematic - Apply a filter over 2.00 seconds using Normal blending on texture White Mask, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 0% transparency
    Wait 2.10 seconds
    Camera - .Apply. gg_cam_intro_1 for Player 1 (Red) over 0 seconds
    Camera - Sway the camera source for Player 1 (Red) with magnitude 10 and velocity 0.1
    Environment - Set fog to style Linear, z-start 0.00, z-end 3500.00, density 0 and color (100.00%, 100.00%, 100.00%)
    Wait 2.00 seconds
    Cinematic - Fade in over 4.00 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 0% transparency
    Wait 2.00 seconds
    Sound - Play intro <gen>
    Wait 2.10 seconds
    Cinematic - Fade out over 4.00 seconds using texture RRINTRO.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0.00% transparency
    Wait 6.00 seconds
    Cinematic - Enable user control for (All players).
    Dialog - Clear Dialog1
    Dialog - Change the title of Dialog1 to |cffc80000Watch prologue?|r
    Dialog - Create a dialog button for Dialog1 labelled |c00F5DEB3Yes.|r
    Set VariableSet DialogButton[2] = (Last created dialog Button)
    Dialog - Create a dialog button for Dialog1 labelled |c00F5DEB3No.|r
    Set VariableSet DialogButton[3] = (Last created dialog Button)
    Dialog - Show Dialog1 for Player 1 (Red)
Prologue
  Events
    Dialog - A dialog button is clicked for Dialog1
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to DialogButton[2]
      Then - Actions
        Trigger - Turn off (This trigger)
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Stop intro <gen> After fading
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Sound - Set pitch of WindLoopStereo <gen> to 0.70
        Sound - Play WindLoopStereo <gen>
        Cinematic - Disable user control for (All players).
        Cinematic - Fade in over 2.00 seconds using texture RRINTRO.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 2.10 seconds
        Sound - Play introbam <gen>
        Camera - .Apply. gg_cam_intro_2 for Player 1 (Red) over 30.00 seconds
        Cinematic - Fade out over 2.00 seconds using texture prol1.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 5.00 seconds
        Cinematic - Fade in over 2.00 seconds using texture prol1.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 1.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture prol2.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 5.00 seconds
        Cinematic - Fade in over 1.00 seconds using texture prol2.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 1.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture prol3.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 5.00 seconds
        Cinematic - Fade in over 2.00 seconds using texture prol3.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 2.10 seconds
        Environment - Set fog to style Linear, z-start 0.00, z-end 3000.00, density 0.60 and color (100%, 100%, 100%)
        AI - Ignore peasant intro 0332 <gen>'s guard position
        AI - Ignore child intro 0333 <gen>'s guard position
        Set VariableSet TempPoint = (Center of Region_520 <gen>)
        Unit - Order peasant intro 0332 <gen> to Move To.TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Set VariableSet TempPoint = (Center of Region_520_Copy <gen>)
        Unit - Order child intro 0333 <gen> to Move To.TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Camera - Stop swaying/shaking the camera for Player 1 (Red).
        Camera - .Apply. gg_cam_intro_3 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_4 for Player 1 (Red) over 30.00 seconds
        Wait 4.00 seconds
        Camera - .Apply. gg_cam_intro_5 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_6 for Player 1 (Red) over 30.00 seconds
        Wait 5.00 seconds
        Camera - .Apply. gg_cam_intro_7 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_8 for Player 1 (Red) over 30.00 seconds
        Wait 2.00 seconds
        Set VariableSet TempPoint = (Center of Region_520_Copy_2 <gen>)
        Unit - Make Gwynfor intro 0331 <gen> face TempPoint over 0.30 seconds
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 0.25 seconds
        Animation - Lock Gwynfor intro 0331 <gen>'s Head to face child intro 0333 <gen>, offset by (0, 0, 90)
        Wait 1.00 seconds
        Set VariableSet TempPoint = (Center of Region_520 <gen>)
        Unit - Move peasant intro 0332 <gen> instantly to TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 0.10 seconds
        Set VariableSet TempPoint = (Center of Region_520_Copy <gen>)
        Unit - Make peasant intro 0332 <gen> face TempPoint over 0 seconds
        Custom script: call RemoveLocation(udg_TempPoint)
        Camera - .Apply. gg_cam_intro_9 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_10 for Player 1 (Red) over 30.00 seconds
        Wait 3.00 seconds
        Camera - .Apply. gg_cam_intro_11 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_12 for Player 1 (Red) over 30.00 seconds
        Wait 4.00 seconds
        Environment - Set fog to style Linear, z-start 0.00, z-end 3500.00, density 0.60 and color (100%, 100%, 100%)
        Camera - .Apply. gg_cam_intro_13 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_14 for Player 1 (Red) over 30.00 seconds
        Wait 2.00 seconds
        Unit - Unpause child intro 0333 <gen>
        Animation - Reset child intro 0333 <gen>'s body-part facing
        Wait 0.50 seconds
        Set VariableSet TempPoint = (Center of Region_523 <gen>)
        Unit - Order child intro 0333 <gen> to Move To.TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 2.00 seconds
        Camera - .Apply. gg_cam_intro_15 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_16 for Player 1 (Red) over 30.00 seconds
        Set VariableSet TempPoint = (Center of Region_523 <gen>)
        Unit - Order peasant intro 0332 <gen> to Move To.TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 4.00 seconds
        Animation - Reset Gwynfor intro 0331 <gen>'s body-part facing
        Set VariableSet TempPoint = (Center of Region_520_Copy_2_Copy <gen>)
        Unit - Make Gwynfor intro 0331 <gen> face TempPoint over 0.10 seconds
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 1.00 seconds
        Camera - .Apply. gg_cam_intro_17 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_18 for Player 1 (Red) over 30.00 seconds
        Wait 2.00 seconds
        Cinematic - Fade out over 2.00 seconds using texture prol4.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 5.00 seconds
        Cinematic - Fade in over 2.00 seconds using texture prol4.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 1.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture prol5.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 5.00 seconds
        Cinematic - Fade in over 1.00 seconds using texture prol5.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 1.10 seconds
        Animation - Change Gwynfor intro 0331 <gen>'s animation speed to 20.00% of its original speed
        Unit - Add Chaos body (Neutral) to Gwynfor intro 0331 <gen>
        Animation - Play Gwynfor intro 0331 <gen>'s stand first (animationname) animation
        Sound - Stop WindLoopStereo <gen> Immediately
        Sound - Stop palasanctuary <gen> Immediately
        Sound - Set pitch of palasanctuary <gen> to 0.80
        Sound - Play palasanctuary <gen>
        Wait 0.50 seconds
        Camera - .Apply. gg_cam_intro_19 for Player 1 (Red) over 0.00 seconds
        Camera - .Apply. gg_cam_intro_20 for Player 1 (Red) over 10.00 seconds
        Set VariableSet TempPoint = (Position of Gwynfor intro 0331 <gen>)
        Unit - Create 1.Dummy ITEM for Neutral Passive at TempPoint facing Default building facing degrees
        Set VariableSet BOSSUnit[0] = (Last created unit)
        Custom script: call RemoveLocation(udg_TempPoint)
        Unit - Add a 10.00 second Generic expiration timer to BOSSUnit[0]
        Unit - Add CHAOS LOCUST to BOSSUnit[0]
        Wait 0.01 seconds
        Unit - Reset ability cooldowns for BOSSUnit[0].
        Unit - Order BOSSUnit[0] to Stop.
        Wait 0.01 seconds
        Unit - Order BOSSUnit[0] to Undead Crypt Lord - Locust Swarm.
        Wait 1.00 seconds
        Cinematic - Fade out over 1.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0% transparency
        Wait 1.10 seconds
        Environment - Reset fog to default values
        Camera - .Apply. gg_cam_Black_screen for Player 1 (Red) over 0 seconds
        Trigger - Turn on CAMERA_CREATION <gen>
        Environment - Reset fog to default values
        Unit - Remove Gwynfor intro 0331 <gen> from the game
        Unit - Remove peasant intro 0332 <gen> from the game
        Unit - Remove child intro 0333 <gen> from the game
        Wait 0.10 seconds
        Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 2.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture prol6.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 5.00 seconds
        Cinematic - Fade in over 1.00 seconds using texture prol6.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 1.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture charactercreation.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Unit - Unhide FIRE 0335 <gen>
        Unit - Unhide THUNDER 0336 <gen>
        Unit - Unhide ICE 0334 <gen>
        Unit - Unhide SPIRITISM 0337 <gen>
        Unit - Unhide OCCULTISM 0338 <gen>
        Unit - Unhide MYSTICISM 0339 <gen>
        Unit - Unhide FINISH CREATION 0340 <gen>
        Set VariableSet TempGroup = (Units in creation <gen>)
        Unit Group - Pick every unit in TempGroup and do (Unhide (Picked unit))
        Custom script: call DestroyGroup(udg_TempGroup)
        Wait 2.10 seconds
        Trigger - Turn on Naming_Red_Raven <gen>
        Cinematic - Enable user control for (All players).
        Sound - Play intro <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Clicked dialog button) Equal to DialogButton[3]
      Then - Actions
        Trigger - Turn off (This trigger)
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Disable user control for (All players).
        Cinematic - Fade in over 2.00 seconds using texture RRINTRO.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 2.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0% transparency
        Wait 2.10 seconds
        Camera - Stop swaying/shaking the camera for Player 1 (Red).
        Camera - .Apply. gg_cam_Black_screen for Player 1 (Red) over 0 seconds
        Trigger - Turn on CAMERA_CREATION <gen>
        Environment - Reset fog to default values
        Unit - Remove Gwynfor intro 0331 <gen> from the game
        Unit - Remove peasant intro 0332 <gen> from the game
        Unit - Remove child intro 0333 <gen> from the game
        Wait 0.10 seconds
        Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Wait 2.10 seconds
        Cinematic - Fade out over 2.00 seconds using texture charactercreation.blp (cinefiltertexture) and color (100.00%, 100.00%, 100.00%) with 0% transparency
        Unit - Unhide FIRE 0335 <gen>
        Unit - Unhide THUNDER 0336 <gen>
        Unit - Unhide ICE 0334 <gen>
        Unit - Unhide SPIRITISM 0337 <gen>
        Unit - Unhide OCCULTISM 0338 <gen>
        Unit - Unhide MYSTICISM 0339 <gen>
        Unit - Unhide FINISH CREATION 0340 <gen>
        Set VariableSet TempGroup = (Units in creation <gen>)
        Unit Group - Pick every unit in TempGroup and do (Unhide (Picked unit))
        Custom script: call DestroyGroup(udg_TempGroup)
        Wait 2.10 seconds
        Trigger - Turn on Naming_Red_Raven <gen>
        Cinematic - Enable user control for (All players).
      Else - Actions
Child move
  Events
    Unit - A unit enters Region_520_Copy <gen>
  Conditions
    (Entering unit) Equal to child intro 0333 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Wait 0.50 seconds
    Unit - Pause (Entering unit)
    Wait 0.50 seconds
    Set VariableSet TempPoint = (Position of Gwynfor intro 0331 <gen>)
    Unit - Make child intro 0333 <gen> face TempPoint over 0.25 seconds
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.25 seconds
    Animation - Lock child intro 0333 <gen>'s Head to face Gwynfor intro 0331 <gen>, offset by (0, 0, 90)
bam
  Events
    Unit - A unit Dies
  Conditions
    (Dying unit) Equal to Farm 0044 <gen>
  Actions
    Game - Defeat Player 1 (Red) with the message: |cffc0c0c0Terror surrounds me. Is this how it ends?|r
Naming Red Raven
  Events
    Player - Player 1 (Red) types a chat message containing -name (stringnoformat) as A substring
  Conditions
    (Substring((Entered chat string), 1, 5)) Equal to -name
  Actions
    Hero - Set Name of |cff800000Red Raven|r 0001 <gen> to (Substring((Entered chat string), 7, 17))
    Hero - Set Name of |cff800000Red Raven|r 0039 <gen> to (Substring((Entered chat string), 7, 17))
    Hero - Set Name of |cff800000Red Raven|r 0038 <gen> to (Substring((Entered chat string), 7, 17))
    Set VariableSet NAMESTRING = (Substring((Entered chat string), 7, 17))
    Floating Text - Destroy creation[0]
    Set VariableSet TempPoint = (Center of creation_name <gen>)
    Floating Text - Create floating text that reads (Substring((Entered chat string), 7, 17)) at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 0.00%), and 0% transparency
    Set VariableSet creation[0] = (Last created floating text)
    Custom script: call RemoveLocation(udg_TempPoint)
    Sound - Stop ItemReceived <gen> Immediately
    Sound - Set pitch of ItemReceived <gen> to 0.60
    Sound - Play ItemReceived <gen>
    Set VariableSet creationb[0] = True
Main element and focus
  Events
    Player - Player 1 (Red) Selects a unit
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to FIRE 0335 <gen>
      Then - Actions
        Set VariableSet creationb[1] = True
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Set VariableSet IntegerFocus = 1
        Floating Text - Destroy creation[1]
        Set VariableSet TempPoint = (Center of creation_starting_element <gen>)
        Floating Text - Create floating text that reads |cffd45e19FIRE|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[1] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        -------- --------
        Floating Text - Destroy creation[4]
        Set VariableSet TempPoint = (Center of Element_description <gen>)
        Floating Text - Create floating text that reads |cffd45e19Fire|r has high damage and a damage over time effect. Resonates with Spiritism. at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[4] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to THUNDER 0336 <gen>
      Then - Actions
        Set VariableSet creationb[1] = True
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Set VariableSet IntegerFocus = 3
        Floating Text - Destroy creation[1]
        Set VariableSet TempPoint = (Center of creation_starting_element <gen>)
        Floating Text - Create floating text that reads |cff00ffffTHUNDER|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[1] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        -------- --------
        Floating Text - Destroy creation[4]
        Set VariableSet TempPoint = (Center of Element_description <gen>)
        Floating Text - Create floating text that reads |cff00ffffThunder|r has medium damage and affects attack speed. Resonates with Occultism. at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[4] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to ICE 0334 <gen>
      Then - Actions
        Set VariableSet creationb[1] = True
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Set VariableSet IntegerFocus = 2
        Floating Text - Destroy creation[1]
        Set VariableSet TempPoint = (Center of creation_starting_element <gen>)
        Floating Text - Create floating text that reads |cff8080ffICE|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[1] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        -------- --------
        Floating Text - Destroy creation[4]
        Set VariableSet TempPoint = (Center of Element_description <gen>)
        Floating Text - Create floating text that reads |cff8080ffIce|r has low damage and affects movement speed. Resonates with Mysticism. at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[4] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to SPIRITISM 0337 <gen>
      Then - Actions
        Set VariableSet creationb[2] = True
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Set VariableSet RedRaven = |cff800000Red Raven|r 0039 <gen>
        Floating Text - Destroy creation[2]
        Set VariableSet TempPoint = (Center of creation_main_focus <gen>)
        Floating Text - Create floating text that reads |cffc89696SPIRITISM|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[2] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        -------- --------
        Floating Text - Destroy creation[3]
        Set VariableSet TempPoint = (Center of Discipline_description <gen>)
        Floating Text - Create floating text that reads Binds damage to |cffc89696Spiritism|r. This discipline enhances health and health regeneration. at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[3] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to OCCULTISM 0338 <gen>
      Then - Actions
        Set VariableSet creationb[2] = True
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Set VariableSet RedRaven = |cff800000Red Raven|r 0038 <gen>
        Floating Text - Destroy creation[2]
        Set VariableSet TempPoint = (Center of creation_main_focus <gen>)
        Floating Text - Create floating text that reads |cffc8c864OCCULTISM|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[2] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        -------- --------
        Floating Text - Destroy creation[3]
        Set VariableSet TempPoint = (Center of Discipline_description <gen>)
        Floating Text - Create floating text that reads Binds damage to |cffc8c864Occultism|r. This discipline enhances defence and attack speed. at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[3] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to MYSTICISM 0339 <gen>
      Then - Actions
        Set VariableSet creationb[2] = True
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Set VariableSet RedRaven = |cff800000Red Raven|r 0001 <gen>
        Floating Text - Destroy creation[2]
        Set VariableSet TempPoint = (Center of creation_main_focus <gen>)
        Floating Text - Create floating text that reads |cff9696c8MYSTICISM|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[2] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        -------- --------
        Floating Text - Destroy creation[3]
        Set VariableSet TempPoint = (Center of Discipline_description <gen>)
        Floating Text - Create floating text that reads Binds damage to |cff9696c8Mysticism|r. This discipline enhances mana and mana regeneration. at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[3] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Triggering unit) Equal to FINISH CREATION 0340 <gen>
        creationb[0] Equal to True
        creationb[1] Equal to True
        creationb[2] Equal to True
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Floating Text - Destroy creation[2]
        Set VariableSet TempPoint = (Center of creation_main_focus <gen>)
        Floating Text - Create floating text that reads |cff9696c8MYSTICISM|r at TempPoint with Z offset 0, using font size 12.00, color (100.00%, 100%, 100%), and 0% transparency
        Set VariableSet creation[2] = (Last created floating text)
        Custom script: call RemoveLocation(udg_TempPoint)
        Sound - Stop intro <gen> After fading
        Set VariableSet TempGroup = (Units of type Green Fire CHECKPOINT)
        Unit Group - Pick every unit in TempGroup and do (Hide (Picked unit))
        Custom script: call DestroyGroup(udg_TempGroup)
        Floating Text - Destroy creation[4]
        Floating Text - Destroy creation[3]
        Floating Text - Destroy creation[2]
        Floating Text - Destroy creation[1]
        Floating Text - Destroy creation[0]
        Unit - Remove THUNDER 0336 <gen> from the game
        Unit - Remove ICE 0334 <gen> from the game
        Unit - Remove FIRE 0335 <gen> from the game
        Unit - Remove SPIRITISM 0337 <gen> from the game
        Unit - Remove OCCULTISM 0338 <gen> from the game
        Unit - Remove MYSTICISM 0339 <gen> from the game
        Unit - Remove FINISH CREATION 0340 <gen> from the game
        Trigger - Turn off (This trigger)
        Trigger - Turn off Naming_Red_Raven <gen>
        Cinematic - Fade out over 0.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
        Wait 2 seconds
        Cinematic - Disable user control for (All players).
        Trigger - Turn off CAMERA_CREATION <gen>
        Game - Set the time of day to 24.00
        Environment - Set fog to style Linear, z-start 0.00, z-end 3500.00, density 0 and color (25.00%, 25.00%, 25.00%)
        Set VariableSet TempPoint = (Center of Region_030 <gen>)
        Set VariableSet TempPoint2 = (Center of Region_030_Copy <gen>)
        Unit - Move RedRaven instantly to TempPoint, facing TempPoint2
        Custom script: call RemoveLocation(udg_TempPoint)
        Custom script: call RemoveLocation(udg_TempPoint2)
        Camera - .Apply. gg_cam_RoR_intro_1 for Player 1 (Red) over 0 seconds
        Sound - Play RollingThunder1 <gen>
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            IntegerFocus Equal to 1
          Then - Actions
            Set VariableSet TempPoint = (Center of ITEM_First_Wand <gen>)
            Item - Create |cffffcc00Wand of|r |cffd45e19Fire|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cffd45e19Fire|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn_Copy <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cff8080ffIce|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn_Copy_Copy <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cff00ffffThunder|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            IntegerFocus Equal to 2
          Then - Actions
            Set VariableSet TempPoint = (Center of ITEM_First_Wand <gen>)
            Item - Create |cffffcc00Wand of|r |cff8080ffIce|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cff8080ffIce|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn_Copy <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cff00ffffThunder|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn_Copy_Copy <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cffd45e19Fire|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            IntegerFocus Equal to 3
          Then - Actions
            Set VariableSet TempPoint = (Center of ITEM_First_Wand <gen>)
            Item - Create |cffffcc00Wand of|r |cff00ffffThunder|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cff00ffffThunder|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn_Copy <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cffd45e19Fire|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
            Set VariableSet TempPoint = (Center of First_tome_spawn_Copy_Copy <gen>)
            Item - Create |c00F5DEB3Old Tome:|r |cff8080ffIce|r at TempPoint
            Custom script: call RemoveLocation(udg_TempPoint)
          Else - Actions
        Environment - Set sky to Blizzard Sky
        Wait 2 seconds
        Camera - .Apply. gg_cam_ror_intro_2 for Player 1 (Red) over 20.00 seconds
        Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
        Sound - Set Ambient Sounds to 100.00%
        Sound - Set User Interface Sounds to 100.00%
        Wait 6.00 seconds
        Set VariableSet TempPoint = (Center of Region_529 <gen>)
        Unit - Move |cffc8ffffOld Friend|r 0024 <gen> instantly to TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 1.00 seconds
        Camera - .Apply. gg_cam_ror_intro_3 for Player 1 (Red) over 0 seconds
        Camera - .Apply. gg_cam_ror_intro_4 for Player 1 (Red) over 20.00 seconds
        Sound - Stop WispPissed2 <gen> Immediately
        Sound - Set pitch of WispPissed2 <gen> to 0.60
        Sound - Play WispPissed2 <gen>
        Wait 0.50 seconds
        Set VariableSet TempPoint = (Center of Region_529 <gen>)
        Unit - Make RedRaven face TempPoint over 0.10 seconds
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 4.00 seconds
        Camera - .Apply. gg_cam_ror_intro_5 for Player 1 (Red) over 0 seconds
        Camera - .Apply. gg_cam_ror_intro_6 for Player 1 (Red) over 20.00 seconds
        Sound - Stop WispPissed1 <gen> Immediately
        Sound - Set pitch of WispPissed1 <gen> to 0.60
        Sound - Play WispPissed1 <gen>
        Set VariableSet TempPoint = (Center of Region_529_Copy <gen>)
        Unit - Order |cffc8ffffOld Friend|r 0024 <gen> to Move To.TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Wait 2.00 seconds
        Cinematic - Fade out over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
        Wait 2.10 seconds
        Set VariableSet TempPoint = (Center of Region_531 <gen>)
        Unit - Move |cffc8ffffOld Friend|r 0024 <gen> instantly to TempPoint
        Custom script: call RemoveLocation(udg_TempPoint)
        Unit - Change ownership of RedRaven to Player 1 (Red) and Change color
        Set VariableSet CinematicMODE = False
        Unit - For RedRaven, Ability Phase, Hide ability: True
        Unit - For RedRaven, Ability Looking Glass Self, Hide ability: True
        Unit - For RedRaven, Ability Magical Wand, Hide ability: True
        Unit - Remove |cffffc8ffRelease|r ROAR from RedRaven
        Wait 0.10 seconds
        Cinematic - Enable user control for (All players).
        Cinematic - Fade in over 2 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
        Wait 2.00 seconds
        Environment - Set sky to Blizzard Sky
        Custom script: call BlzHideOriginFrames(false)
        Custom script: call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0), false)
        Custom script: call BlzFrameSetVisible(BlzGetFrameByName("ConsoleUIBackdrop",0), false)
        Unit - Unpause RedRaven
        Unit - Make RedRaven Vulnerable
        Selection - Select RedRaven for Player 1 (Red)
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 15.00 seconds the text: |c00F5DEB3You can interact with many objects in Silenced Songs.Like - for instance - the |cffffff00Atonement Altar|r |c00F5DEB3before you, where you may choose a lower difficulty.|r
      Else - Actions
Atonement Altar
  Events
    Unit - A unit Sells an item (from shop)
  Conditions
    (Selling unit) Equal to |c00F5DEB3Atonement Altar|r 0002 <gen>
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Sold Item)) Equal to Arcane Crystal - Very Easy
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 2.00 seconds the text: |c00F5DEB3Chosen |cffffff00Very Easy Mode|r|r
        Neutral Building - Remove Arcane Crystal - Very Easy from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Neutral Building - Remove Arcane Crystal - Easy from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Neutral Building - Remove Arcane Crystal - Story from |c00F5DEB3Atonement Altar|r 0002 <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Sold Item)) Equal to Arcane Crystal - Easy
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 2.00 seconds the text: |c00F5DEB3Chosen |cffffff00Easy Mode|r|r
        Neutral Building - Remove Arcane Crystal - Very Easy from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Neutral Building - Remove Arcane Crystal - Easy from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Neutral Building - Remove Arcane Crystal - Story from |c00F5DEB3Atonement Altar|r 0002 <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Sold Item)) Equal to Arcane Crystal - Story
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 2.00 seconds the text: |c00F5DEB3Chosen |cffffff00Story Mode|r|r
        Neutral Building - Remove Arcane Crystal - Very Easy from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Neutral Building - Remove Arcane Crystal - Easy from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Neutral Building - Remove Arcane Crystal - Story from |c00F5DEB3Atonement Altar|r 0002 <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Item-type of (Sold Item)) Equal to Death Blessing - Hardcore
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 2.00 seconds the text: |c00F5DEB3Chosen |cffffff00HARDCORE Mode|r|r
        Neutral Building - Remove Death Blessing - Hardcore from |c00F5DEB3Atonement Altar|r 0002 <gen>
        Set VariableSet HARDCORE = True
      Else - Actions
Death Red Raven HARDCORE
  Events
    Unit - A unit Dies
  Conditions
    (Dying unit) Equal to RedRaven
    HARDCORE Equal to True
  Actions
    Trigger - Turn off (This trigger)
    Cinematic - Fade out over 2.00 seconds using texture White Mask and color (100.00%, 0%, 0%) with 0% transparency
    Custom script: call BlzHideOriginFrames(true)
    Cinematic - Disable user control for (All players).
    Set VariableSet CinematicMODE = True
    Set VariableSet TempPoint = (Position of RedRaven)
    Unit - Create 1.Dummy ITEM for Neutral Passive at TempPoint facing Default building facing degrees
    Set VariableSet DeathUnit = (Last created unit)
    Camera - Lock camera target for Player 1 (Red) to DeathUnit, offset by (0, 210.00) using Default rotation
    Custom script: call RemoveLocation(udg_TempPoint)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (LookingGlassSelf is alive) Equal to True
      Then - Actions
        Unit - Kill LookingGlassSelf
      Else - Actions
    Wait 2 seconds
    Game - Defeat Player 1 (Red) with the message: |cffc0c0c0Terror surrounds me. Is this how it ends?|r
Death Red Raven Tutorial
  Events
    Unit - A unit Dies
  Conditions
    (Dying unit) Equal to RedRaven
    HARDCORE Equal to False
  Actions
    Trigger - Turn off (This trigger)
    Cinematic - Fade out over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Custom script: call BlzHideOriginFrames(true)
    Cinematic - Disable user control for (All players).
    Trigger - Turn off Music_Storm_King <gen>
    Trigger - Turn off BERZ_Thunder_360 <gen>
    Trigger - Turn off SK_Spawn_Thunder_Seal_Death <gen>
    Trigger - Turn off Storm_King_Intro <gen>
    Trigger - Turn off Storm_King_Minions <gen>
    Trigger - Turn off SK_Spawn_Thunder_Seal <gen>
    Trigger - Turn off SK_Spawn_RunMulti <gen>
    Trigger - Turn off SK_Spawn_RunMulti_RUN <gen>
    Trigger - Turn off SK_30_percent <gen>
    Trigger - Turn off SK_50_percent <gen>
    Trigger - Turn off SK_65_percent <gen>
    Trigger - Turn off SK_80_percent <gen>
    Trigger - Turn off SK_increase_size <gen>
    Trigger - Turn off SK_AoE_Attack <gen>
    Trigger - Turn off SK_DEATH <gen>
    Set VariableSet CinematicMODE = True
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (LookingGlassSelf is alive) Equal to True
      Then - Actions
        Unit - Kill LookingGlassSelf
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (DeathUnit is alive) Equal to True
      Then - Actions
        Unit - Remove DeathUnit from the game
      Else - Actions
    Set VariableSet TempPoint = (Position of RedRaven)
    Unit - Create 1.Dummy ITEM for Neutral Passive at TempPoint facing Default building facing degrees
    Set VariableSet DeathUnit = (Last created unit)
    Camera - Lock camera target for Player 1 (Red) to DeathUnit, offset by (0, 210.00) using Default rotation
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 2.00 seconds
    Trigger - Turn on Music_Fade_out <gen>
    Wait 2.50 seconds
    Set VariableSet TempGroup = (Units in REMOVE_WOLVES <gen> owned by Player 11 (Dark Green))
    Unit Group - Pick every unit in TempGroup and do (Remove (Picked unit) from the game)
    Custom script: call DestroyGroup(udg_TempGroup)
    Unit - Remove BOSS from the game
    Unit - Remove DeathUnit from the game
    Set VariableSet TempPoint = (Center of Region_487_Copy <gen>)
    Hero - Instantly revive RedRaven at TempPoint, Hide revival graphics
    Unit - Set mana of RedRaven to 100%
    Hero - Enable experience gain for RedRaven.
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Center of Region_487_Copy_2 <gen>)
    Unit - Make RedRaven face TempPoint over 0 seconds
    Custom script: call RemoveLocation(udg_TempPoint)
    Unit - Hide RedRaven
    Game - Set the time of day to 12
    Environment - Set sky to Blizzard Sky
    Environment - Turn Weather Off
    Environment - Remove Weather
    Environment - Set fog to style Linear, z-start 0.00, z-end 3000.00, density 0 and color (100%, 100%, 100%)
    Destructible - Pick every destructible in FOG_Storm_King_Enter <gen> and do (Kill (Matching destructible))
    Destructible - Pick every destructible in FOG_Storm_King_Exit <gen> and do (Kill (Matching destructible))
    Camera - .Apply. gg_cam_Saved1 for Player 1 (Red) over 0 seconds
    Camera - Sway the camera source for Player 1 (Red) with magnitude 10 and velocity 0.1
    Wait 0.10 seconds
    Camera - .Apply. gg_cam_Saved2 for Player 1 (Red) over 20.00 seconds
    Sound - Set pitch of pDrag_the_Body_Somewhere <gen> to 0.70
    Sound - Play pDrag_the_Body_Somewhere <gen>
    Cinematic - Fade in over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 4.00 seconds
    Cinematic - Fade out over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 5.00 seconds
    Set VariableSet TempPoint = (Center of Region_487 <gen>)
    Set VariableSet TempPoint2 = (Center of Region_487_Copy <gen>)
    Unit - Create 1 |cff8080ffFollower of|r |cffffcc00Gwynfor|r for Neutral Passive at TempPoint facing TempPoint2
    Custom script: call RemoveLocation(udg_TempPoint)
    Custom script: call RemoveLocation(udg_TempPoint2)
    Set VariableSet BOSSUnit[0] = (Last created unit)
    Animation - Change BOSSUnit[0]'s animation speed to 50.00% of its original speed
    Camera - .Apply. gg_cam_Saved_Aderyn for Player 1 (Red) over 0.00 seconds
    Wait 1.00 seconds
    Cinematic - Fade in over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 4.00 seconds
    Cinematic - Fade out over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 5.00 seconds
    Unit - Remove BOSSUnit[0] from the game
    Sound - Set pitch of DruidOfTheTalonMorphedWarcry1 <gen> to 0.30
    Sound - Play DruidOfTheTalonMorphedWarcry1 <gen>
    Camera - .Apply. gg_cam_Saved3 for Player 1 (Red) over 0 seconds
    Wait 4.00 seconds
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 4.00 seconds
    Camera - .Apply. gg_cam_Saved4 for Player 1 (Red) over 2.00 seconds
    Wait 3.00 seconds
    Unit - Unhide RedRaven
    Camera - Stop swaying/shaking the camera for Player 1 (Red).
    Camera - .Apply. gg_cam_Saved5 for Player 1 (Red) over 0 seconds
    Camera - .Apply. gg_cam_Saved6 for Player 1 (Red) over 30.00 seconds
    Wait 5.00 seconds
    Cinematic - Fade out over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 2.10 seconds
    Environment - Set fog to style Linear, z-start 0.00, z-end 8000.00, density 0 and color (100%, 100%, 100%)
    Trigger - Turn on Death_Red_Raven <gen>
    Trigger - Turn on TURN_OFF_DIALOGUE <gen>
    Set VariableSet CinematicMODE = False
    Wait 0.10 seconds
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Wait 1.00 seconds
    Cinematic - Enable user control for (All players).
    Custom script: call BlzHideOriginFrames(false)
    Custom script: call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP, 0), false)
    Custom script: call BlzFrameSetVisible(BlzGetFrameByName("ConsoleUIBackdrop",0), false)
    Unit - Unpause RedRaven
    Unit - Make RedRaven Vulnerable
    Selection - Select RedRaven for Player 1 (Red)
Death Red Raven
  Events
    Unit - A unit Dies
  Conditions
    (Dying unit) Equal to RedRaven
    HARDCORE Equal to False
  Actions
    Cinematic - Fade out over 4.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
    Set VariableSet CinematicMODE = True
    -------- --- --------
    Set VariableSet REVSTAT[0] = (Strength of RedRaven (Exclude bonuses))
    Set VariableSet REVSTAT[1] = (Agility of RedRaven (Exclude bonuses))
    Set VariableSet REVSTAT[2] = (Intelligence of RedRaven (Exclude bonuses))
    Set VariableSet REVITEM[0] = (Item-type of (Item carried by RedRaven in slot 1))
    Set VariableSet REVITEM[1] = (Item-type of (Item carried by RedRaven in slot 2))
    Set VariableSet REVITEM[2] = (Item-type of (Item carried by RedRaven in slot 3))
    Set VariableSet REVITEM[3] = (Item-type of (Item carried by RedRaven in slot 4))
    Set VariableSet REVITEM[4] = (Item-type of (Item carried by RedRaven in slot 5))
    Set VariableSet REVITEM[5] = (Item-type of (Item carried by RedRaven in slot 6))
    Set VariableSet ItemCharges[1] = (Charges remaining in (Item carried by RedRaven in slot 1))
    Set VariableSet ItemCharges[2] = (Charges remaining in (Item carried by RedRaven in slot 2))
    Set VariableSet ItemCharges[3] = (Charges remaining in (Item carried by RedRaven in slot 3))
    Set VariableSet ItemCharges[4] = (Charges remaining in (Item carried by RedRaven in slot 4))
    Set VariableSet ItemCharges[5] = (Charges remaining in (Item carried by RedRaven in slot 5))
    Set VariableSet ItemCharges[6] = (Charges remaining in (Item carried by RedRaven in slot 6))
    Set VariableSet REVLEVEL = (Hero level of RedRaven)
    Set VariableSet REVEXP = (Hero experience of RedRaven)
    Set VariableSet REVUNITTYPE = (Unit-type of RedRaven)
    -------- --- --------
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (LookingGlassSelf is alive) Equal to True
      Then - Actions
        Unit - Kill LookingGlassSelf
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (DeathUnit is alive) Equal to True
      Then - Actions
        Unit - Remove DeathUnit from the game
      Else - Actions
    Set VariableSet TempPoint = (Position of RedRaven)
    Unit - Create 1.Dummy ITEM for Neutral Passive at TempPoint facing Default building facing degrees
    Set VariableSet DeathUnit = (Last created unit)
    Camera - Lock camera target for Player 1 (Red) to DeathUnit, offset by (0, 210.00) using Default rotation
    Custom script: call RemoveLocation(udg_TempPoint)
    Unit - Add a 20.00 second Generic expiration timer to DeathUnit
    Unit - Add RESPAWN LOCUST 2 to DeathUnit
    Wait 0.01 seconds
    Unit - Reset ability cooldowns for DeathUnit.
    Unit - Order DeathUnit to Stop.
    Wait 0.01 seconds
    Unit - Order DeathUnit to Undead Crypt Lord - Locust Swarm.
    Wait 1.98 seconds
    Trigger - Turn on Music_Fade_out <gen>
    Wait 2.50 seconds
    Unit - Remove DeathUnit from the game
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        DieInDungeon Equal to True
      Then - Actions
        Sound - Stop NorthrendDay <gen> Immediately
        Sound - Play NorthrendDay <gen>
        Game - Set the time of day to 24.00
        Sound - Disable dawn and dusk sounds
        Sound - Set Ambient Sounds to 0.00%
        Trigger - Turn off CAMERA <gen>
        Trigger - Turn off CAMERA_Dungeon_Boss <gen>
        Trigger - Turn off CAMERA_Aderyn_Boss <gen>
        Trigger - Turn off CAMERA_Eliwlod_Boss <gen>
        Trigger - Turn off CAMERA_Gwynfor_Boss <gen>
        Environment - Set fog to style Linear, z-start 0.00, z-end 2000.00, density 0 and color (0.00%, 0.00%, 0.00%)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ACT Equal to 4
          Then - Actions
            Sound - Enable dawn and dusk sounds
            Sound - Set Ambient Sounds to 20.00%
            Trigger - Turn off CAMERA_Ffraid <gen>
            Trigger - Turn off Ffraid_Far_away <gen>
            Trigger - Turn on Ffraid_Close <gen>
          Else - Actions
        Trigger - Turn on CAMERA_Dungeon <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        DieInDungeon Equal to False
      Then - Actions
        Sound - Stop NorthrendDay <gen> Immediately
        Sound - Enable dawn and dusk sounds
        Sound - Set Ambient Sounds to 100.00%
        Trigger - Turn off CAMERA_Dungeon <gen>
        Trigger - Turn off CAMERA_Dungeon_Boss <gen>
        Trigger - Turn off CAMERA_Aderyn_Boss <gen>
        Trigger - Turn off CAMERA_Eliwlod_Boss <gen>
        Trigger - Turn off CAMERA_Gwynfor_Boss <gen>
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ACT Equal to 2
          Then - Actions
            Game - Set the time of day to 20.00
            Environment - Set fog to style Linear, z-start 0.00, z-end 8000.00, density 0 and color (80.00%, 50.00%, 15.00%)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ACT Equal to 3
          Then - Actions
            Game - Set the time of day to 12.00
            Environment - Set fog to style Linear, z-start 0.00, z-end 3500.00, density 0 and color (100.00%, 100.00%, 100.00%)
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ACT Equal to 4
          Then - Actions
            Game - Set the time of day to 24.00
            Environment - Set fog to style Linear, z-start 0.00, z-end 5000.00, density 0 and color (100.00%, 100.00%, 100.00%)
            Trigger - Turn off CAMERA_Ffraid <gen>
            Trigger - Turn off Ffraid_Far_away <gen>
            Trigger - Turn on Ffraid_Close <gen>
          Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ACT Equal to 5
          Then - Actions
            Game - Set the time of day to 24.00
            Environment - Set fog to style Linear, z-start 0.00, z-end 3500.00, density 0 and color (100.00%, 100.00%, 100.00%)
            Trigger - Turn off CAMERA_Ffraid <gen>
            Trigger - Turn off Ffraid_Far_away <gen>
            Trigger - Turn on Ffraid_Close <gen>
          Else - Actions
        Trigger - Turn on CAMERA <gen>
      Else - Actions
    Unit - Remove RedRaven from the game
    Trigger - Turn off LEVEL <gen>
    Set VariableSet TempPoint = (Center of RESPAWN <gen>)
    Unit - Create 1.REVUNITTYPE for Player 1 (Red) at (Center of RESPAWN <gen>) facing Default building facing degrees
    Set VariableSet RedRaven = (Last created unit)
    Hero - Set RedRaven Hero-level to REVLEVEL, Hide level-up graphics
    Hero - Set RedRaven experience to REVEXP, Hide level-up graphics
    Hero - Modify Strength of RedRaven: Set to REVSTAT[0].
    Hero - Modify Agility of RedRaven: Set to REVSTAT[1].
    Hero - Modify Intelligence of RedRaven: Set to REVSTAT[2].
    Hero - Create REVITEM[0] and give it to RedRaven
    Item - Set charges remaining in (Last created item) to ItemCharges[1]
    Hero - Create REVITEM[1] and give it to RedRaven
    Item - Set charges remaining in (Last created item) to ItemCharges[2]
    Hero - Create REVITEM[2] and give it to RedRaven
    Item - Set charges remaining in (Last created item) to ItemCharges[3]
    Hero - Create REVITEM[3] and give it to RedRaven
    Item - Set charges remaining in (Last created item) to ItemCharges[4]
    Hero - Create REVITEM[4] and give it to RedRaven
    Item - Set charges remaining in (Last created item) to ItemCharges[5]
    Hero - Create REVITEM[5] and give it to RedRaven
    Item - Set charges remaining in (Last created item) to ItemCharges[6]
    Hero - Set Name of RedRaven to NAMESTRING
    Unit - Set life of RedRaven to 100%
    Unit - Set mana of RedRaven to 100%
    Hero - Enable experience gain for RedRaven.
    Trigger - Turn on LEVEL <gen>
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityC Equal to 1
      Then - Actions
        Unit - Remove |cffffc8ffRelease|r ROAR from RedRaven
        Unit - Remove |cffffffc8Soothe|r ROAR from RedRaven
        Unit - Add |cffffc8ffRelease|r ROAR to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityC Equal to 2
      Then - Actions
        Unit - Remove |cffffc8ffRelease|r ROAR from RedRaven
        Unit - Remove |cffffffc8Soothe|r ROAR from RedRaven
        Unit - Add |cffffffc8Soothe|r ROAR to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityX Equal to 1
      Then - Actions
        Unit - Add |cffd2d2c8The Awakening of Enlil|r to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityX Equal to 2
      Then - Actions
        Unit - Add |cff00ffffBeckon the Storm|r to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityX Equal to 3
      Then - Actions
        Unit - Add |cffc89632Symphony of the Mountain|r to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityX Equal to 4
      Then - Actions
        Unit - Add |cff8080ffWinter's Kiss|r to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityX Equal to 5
      Then - Actions
        Unit - Add |cffd45e19Waltz of the Fireflies|r to RedRaven
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        AbilityX Equal to 6
      Then - Actions
        Unit - Add |cff00ff00Gethin's Requiem|r to RedRaven
      Else - Actions
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Position of RedRaven)
    Unit - Create 1.Dummy ITEM for Neutral Passive at TempPoint facing Default building facing degrees
    Set VariableSet DeathUnit = (Last created unit)
    Custom script: call RemoveLocation(udg_TempPoint)
    Unit - Add a 20.00 second Generic expiration timer to DeathUnit
    Unit - Add RESPAWN LOCUST to DeathUnit
    Wait 0.01 seconds
    Unit - Reset ability cooldowns for DeathUnit.
    Unit - Order DeathUnit to Stop.
    Wait 0.01 seconds
    Unit - Order DeathUnit to Undead Crypt Lord - Locust Swarm.
    Wait 0.48 seconds
    Set VariableSet CinematicMODE = False
    Cinematic - Fade in over 2.00 seconds using texture Black Mask and color (0%, 0%, 0%) with 0% transparency
Death Elemental Effect
  Events
    Unit - A unit Dies
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffd2d2c8Wind Spirit|r (Male 2)
      Then - Actions
        Set VariableSet TempPoint = (Position of (Dying unit))
        Special Effect - Create a special effect at TempPoint using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Remove (Dying unit) from the game
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffff0000Dreaming Servant|r BLOOD
      Then - Actions
        Set VariableSet TempPoint = (Position of (Dying unit))
        Special Effect - Create a special effect at TempPoint using war3mapImported\BloodEX-Special.mdx
        Special Effect - Destroy (Last created special effect)
        Special Effect - Create a special effect at TempPoint using war3mapImported\Blood Massacre.mdx
        Special Effect - Destroy (Last created special effect)
        Unit - Remove (Dying unit) from the game
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Dummy ROT
      Then - Actions
        Sound - Stop attract <gen> Immediately
        Sound - Play attract <gen>
        Sound - Set pitch of attract <gen> to 1.10
        Set VariableSet TempPoint = (Position of (Dying unit))
        Unit - Remove (Dying unit) from the game
        Special Effect - Create a special effect at TempPoint using Abilities\Spells\NightElf\ManaBurn\ManaBurnTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Unit - Create 1.Rot (Male 2) for Player 21 (Coal) at TempPoint facing Default building facing degrees
        Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cff00ff00Shadow of Gethin|r SHADOW
      Then - Actions
        Set VariableSet TempPoint = (Position of (Dying unit))
        Unit - Remove (Dying unit) from the game
        Special Effect - Create a special effect at TempPoint using war3mapImported\Soul Discharge.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Rot (Male 2)
      Then - Actions
        Set VariableSet TempPoint = (Position of (Dying unit))
        Unit - Remove (Dying unit) from the game
        Special Effect - Create a special effect at TempPoint using Abilities\Spells\NightElf\EntanglingRoots\EntanglingRootsTarget.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_TempPoint)
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to |cffc8ffffSoul Echo|r (Male 2)
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using units\nightelf\Wisp\Wisp.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Fire (Male 2)
      Then - Actions
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Ice (Male 2)
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using Abilities\Spells\Undead\FrostArmor\FrostArmorDamage.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Thunder (Male 2)
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using Abilities\Spells\Orc\LightningShield\LightningShieldBuff.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Arcane Energy
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using war3mapImported\Blink Pink Target.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to Gwynfor Darkness
            (Unit-type of (Dying unit)) Equal to ECLIPSE (Male 2)
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using war3mapImported\Soul Discharge Purple.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to Dummy ITEM
            (Unit-type of (Dying unit)) Equal to Dummy ITEM LARGE
            (Unit-type of (Dying unit)) Equal to Gwynfor Wind
            (Unit-type of (Dying unit)) Equal to BLOOD EFFECT (Male 2)
            (Unit-type of (Dying unit)) Equal to BLOOD EFFECT BOSS (Male 2)
            (Unit-type of (Dying unit)) Equal to Gwynfor Chaos
            (Unit-type of (Dying unit)) Equal to Pure Chaos (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal BRIGHT BLUE THUNDER PERHAPS (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal BRIGHT TEAL (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal BRIGHT TEAL STORM KING AOE
            (Unit-type of (Dying unit)) Equal to Seal BRIGHT TEAL UTHYR AOE
            (Unit-type of (Dying unit)) Equal to Seal DARK BLUE (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal DARK RED (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal DEATHLY GREEN (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal DIVINE YELLOW (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal ICY THIN BLUE (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal NATURE GREEN (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal ORANGE VOODOO (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal BLOOD DREAMING MOTHER
            (Unit-type of (Dying unit)) Equal to Seal ORANGE WAR (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal ORANGE WITH COGWHEELS (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal PURPLE (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal PURPLE BLUE (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal RED (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal RED WAR (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal SLIME GREEN (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal SLIME GREEN air
            (Unit-type of (Dying unit)) Equal to Seal SUPER BLUE (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal SUPER OMEGA LIGHT (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal WHITE (Male 2)
            (Unit-type of (Dying unit)) Equal to Seal WHITE BLUE (Male 2)
            (Unit-type of (Dying unit)) Equal to Dummy THUNDER
            (Unit-type of (Dying unit)) Equal to Gwalchmei ap Gwyar invis dummy
            (Unit-type of (Dying unit)) Equal to |cffffff96Lightning Essence|r
            (Unit-type of (Dying unit)) Equal to |cffffff96Lightning Essence|r 2
      Then - Actions
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to Eliwlod Fire
            (Unit-type of (Dying unit)) Equal to Eliwlod Fire 2
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using war3mapImported\Pillar of Flame Orange.mdx
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to Archer Llyr
            (Unit-type of (Dying unit)) Equal to Archer undead
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using units\creeps\SkeletonArcher\SkeletonArcher.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Or - Any (Conditions) are true
          Conditions
            (Unit-type of (Dying unit)) Equal to Mage Llyr
            (Unit-type of (Dying unit)) Equal to Mage undead
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using units\undead\SkeletonMage\SkeletonMage.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Unit-type of (Dying unit)) Equal to Swordsman
      Then - Actions
        Set VariableSet deathpoint = (Position of (Dying unit))
        Special Effect - Create a special effect at deathpoint using units\undead\Skeleton\Skeleton.mdl
        Special Effect - Destroy (Last created special effect)
        Custom script: call RemoveLocation(udg_deathpoint)
        Unit - Remove (Dying unit) from the game
      Else - Actions
LEVEL
  Events
    Unit - A unit Gains a level
  Conditions
    (Leveling Hero) Equal to RedRaven
  Actions
    Game - Display to (All players) for 5.00 seconds the text: |cfffff064L E V E L U P|r
    Unit - Set mana of RedRaven to 100%
    Sound - Stop palasalvation <gen> Immediately
    Sound - Set pitch of palasalvation <gen> to 0.70
    Sound - Play palasalvation <gen>
    Sound - Stop palaprayer <gen> Immediately
    Sound - Set pitch of palaprayer <gen> to 1.20
    Sound - Play palaprayer <gen>
    Unit - Remove SEAL YELLOW (Neutral) from RedRaven
    Unit - Add SEAL YELLOW (Neutral) to RedRaven
    Unit - Add SEAL Fire Red (Neutral) to RedRaven
    Special Effect - Create a special effect attached to the origin (attachpoint) of RedRaven using war3mapImported\Heal Gold.mdx
    Special Effect - Destroy (Last created special effect)
    Special Effect - Create a special effect attached to the origin (attachpoint) of RedRaven using war3mapImported\Holy Light.mdx
    Special Effect - Destroy (Last created special effect)
    Player - Add (((Hero level of (Triggering unit)) x 5) - Level[(Player number of (Owner of (Triggering unit)))]) to (Owner of (Leveling Hero)).Current lumber
    Set VariableSet Level[(Player number of (Owner of (Triggering unit)))] = ((Hero level of (Triggering unit)) x 5)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Hero level of RedRaven) Equal to 2
      Then - Actions
        Player - Set Player 1 (Red).Current lumber to ((Player 1 (Red) Current lumber) - 5)
      Else - Actions
    Wait 4.00 seconds
    Unit - Remove SEAL YELLOW (Neutral) from RedRaven
    Unit - Remove SEAL Fire Red (Neutral) from RedRaven
Attack Sound Red Raven
  Events
    Unit - A unit Is attacked
  Conditions
    (Attacking unit) Equal to RedRaven
  Actions
    Set VariableSet IntegerRedRaven = (Random integer number between 1 and 3)
    Sound - Stop FireBallMissileLaunch301 <gen> Immediately
    Sound - Set pitch of FireBallMissileLaunch301 <gen> to 0.40
    Sound - Play FireBallMissileLaunch301 <gen>
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        IntegerRedRaven Equal to 1
      Then - Actions
        Sound - Stop defend <gen> Immediately
        Sound - Set pitch of defend <gen> to 0.50
        Sound - Play defend <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        IntegerRedRaven Equal to 2
      Then - Actions
        Sound - Stop defend <gen> Immediately
        Sound - Set pitch of defend <gen> to 0.60
        Sound - Play defend <gen>
      Else - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        IntegerRedRaven Equal to 3
      Then - Actions
        Sound - Stop defend <gen> Immediately
        Sound - Set pitch of defend <gen> to 0.70
        Sound - Play defend <gen>
      Else - Actions
Sending items to town
  Events
    Unit - A unit Acquires an item
  Conditions
    (Unit-type of (Hero manipulating item)) Equal to |cffc8ffffSoul Echo|r (Male 2)
    And - All (Conditions) are true
      Conditions
        (Item-type of (Item being manipulated)) Not equal to 5 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 10 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 15 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 20 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 25 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 30 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 35 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 40 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 45 |cffffcc00Gold
        (Item-type of (Item being manipulated)) Not equal to 50 |cffffcc00Gold
  Actions
    Set VariableSet ManipulatedItem = (Item being manipulated)
    Set VariableSet ItemCharges[0] = (Charges remaining in ManipulatedItem)
    Set VariableSet TempPoint = (Random point in Items <gen>)
    Item - Create (Item-type of ManipulatedItem) at TempPoint
    Item - Set charges remaining in (Last created item) to ItemCharges[0]
    Custom script: call RemoveLocation(udg_TempPoint)
    Item - Remove ManipulatedItem
Camera shake
  Events
  Conditions
  Actions
    Camera - Shake the camera for Player 1 (Red) with magnitude 5.00
    Wait 0.50 seconds
    Camera - Stop swaying/shaking the camera for Player 1 (Red).
Old Friend Leave
  Events
    Unit - A unit leaves Region_127 <gen>
  Conditions
    (Leaving unit) Equal to |cffc8ffffOld Friend|r 0024 <gen>
  Actions
    Set VariableSet TempPoint = (Center of Items <gen>)
    Unit - Move |cffc8ffffOld Friend|r 0024 <gen> instantly to TempPoint, facing TempPoint2
    Custom script: call RemoveLocation(udg_TempPoint)
Music Silence
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    Sound - Play Silence <gen>
    Wait 4.00 seconds
Music Dies Irae
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Sound - Play madoc <gen>
    Wait 126.00 seconds
Music LLYR
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Sound - Play LLYR <gen>
    Wait 133.00 seconds
Music ELIWLOD
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Sound - Play ELIWLOD <gen>
    Wait 105.00 seconds
Music Aderyn
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Sound - Play Aderyn <gen>
    Wait 200.00 seconds
Music Gwynfor
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Sound - Play palaVerdi___libera_me_1 <gen>
    Wait 152.00 seconds
Music Storm King
  Events
    Time - Every 2.00 seconds of game time
  Conditions
  Actions
    Sound - Play storm_king <gen>
    Wait 56.00 seconds
Music Fade out
  Events
    Time - Every 0.03 seconds of game time
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Sound - Set music volume to 90.00%
    Wait 0.05 seconds
    Sound - Set music volume to 80.00%
    Wait 0.05 seconds
    Sound - Set music volume to 70.00%
    Wait 0.05 seconds
    Sound - Set music volume to 60.00%
    Wait 0.05 seconds
    Sound - Set music volume to 50.00%
    Wait 0.05 seconds
    Sound - Set music volume to 40.00%
    Wait 0.05 seconds
    Sound - Set music volume to 30.00%
    Wait 0.05 seconds
    Sound - Set music volume to 20.00%
    Wait 0.05 seconds
    Sound - Set music volume to 10.00%
    Wait 0.05 seconds
    Sound - Set music volume to 0.00%
    Sound - Stop the currently playing music theme
    Sound - Clear the music list
    Trigger - Turn on Music_Silence <gen>
Music Fade in
  Events
    Time - Every 0.03 seconds of game time
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Sound - Set music volume to 10.00%
    Wait 0.05 seconds
    Sound - Set music volume to 20.00%
    Wait 0.05 seconds
    Sound - Set music volume to 30.00%
    Wait 0.05 seconds
    Sound - Set music volume to 40.00%
    Wait 0.05 seconds
    Sound - Set music volume to 50.00%
    Wait 0.05 seconds
    Sound - Set music volume to 60.00%
    Wait 0.05 seconds
    Sound - Set music volume to 70.00%
    Wait 0.05 seconds
    Sound - Set music volume to 80.00%
    Wait 0.05 seconds
    Sound - Set music volume to 90.00%
    Wait 0.05 seconds
    Sound - Set music volume to 100.00%
HINT DIALOGUE
  Events
    Unit - A unit enters HINT_DIALOGUE <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Tutorial Equal to True
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 15.00 seconds the text: |c00F5DEB3By clicking on an NPC you can interact with them.Each time you press "TALK" a new line of dialogue will be given. There are often clues and hints in their dialogues. Sometimes they are even |cffffff00necessary to acquire a key item|r. |c00F5DEB3Their last line of dialogue will be repeated until the story progresses further.|r
      Else - Actions
HINT DIALOGUE Copy
  Events
    Unit - A unit enters HINT_ALTAR <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Tutorial Equal to True
      Then - Actions
        Sound - Stop ItemReceived <gen> Immediately
        Sound - Set pitch of ItemReceived <gen> to 0.60
        Sound - Play ItemReceived <gen>
        Cinematic - Clear the screen of text messages for (All players).
        Game - Display to (All players) for 15.00 seconds the text: |c00F5DEB3Use the relics found within the Annstás Chapel to level up and unlock new abilities.|r
      Else - Actions
ENTER LAKE
  Events
    Unit - A unit enters LAKE_OF_QUEEN_RHOSWEN <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Stop ShimmeringPortalEntrance <gen> Immediately
    Sound - Set pitch of ShimmeringPortalEntrance <gen> to 0.40
    Sound - Play ShimmeringPortalEntrance <gen>
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) the text: |c00F5DEB3LAKE OF QUEEN RHOSWEN|r
ENTER annstas
  Events
    Unit - A unit enters ENTER_ANNSTAS <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Stop ShimmeringPortalEntrance <gen> Immediately
    Sound - Set pitch of ShimmeringPortalEntrance <gen> to 0.40
    Sound - Play ShimmeringPortalEntrance <gen>
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) the text: |c00F5DEB3ANNSTÁS HAMLET|r
ENTER herkenduch
  Events
    Unit - A unit enters ENTER_HERKENDUCH <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Stop ShimmeringPortalEntrance <gen> Immediately
    Sound - Set pitch of ShimmeringPortalEntrance <gen> to 0.40
    Sound - Play ShimmeringPortalEntrance <gen>
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) the text: |c00F5DEB3HERKENDUCH ROAD|r
ENTER enochs
  Events
    Unit - A unit enters ENTER_ENOCHS_GARDEN <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Stop ShimmeringPortalEntrance <gen> Immediately
    Sound - Set pitch of ShimmeringPortalEntrance <gen> to 0.40
    Sound - Play ShimmeringPortalEntrance <gen>
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) the text: |c00F5DEB3ENOCH'S GARDEN|r
ENTER ceinwen
  Events
    Unit - A unit enters ENTER_CEINWENS_SECRET_ARCHIVE <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Stop ShimmeringPortalEntrance <gen> Immediately
    Sound - Set pitch of ShimmeringPortalEntrance <gen> to 0.40
    Sound - Play ShimmeringPortalEntrance <gen>
    Cinematic - Clear the screen of text messages for (All players).
    Game - Display to (All players) the text: |c00F5DEB3CEINWEN'S SECRET ARCHIVE|r
selectoff
  Events
    Player - Player 1 (Red) types a chat message containing -select off (stringnoformat) as An exact match
  Conditions
  Actions
    Set VariableSet Selectofforon = False
    Trigger - Turn on select_enemy <gen>
selecton
  Events
    Player - Player 1 (Red) types a chat message containing -select on (stringnoformat) as An exact match
  Conditions
  Actions
    Set VariableSet Selectofforon = True
    Trigger - Turn off select_enemy <gen>
select enemy
  Events
    Player - Player 1 (Red) Selects a unit
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Owner of (Triggering unit)) Equal to Player 9 (Gray)
        (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
        (Owner of (Triggering unit)) Equal to Player 12 (Brown)
        (Owner of (Triggering unit)) Equal to Player 21 (Coal)
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Selectofforon Equal to False
        (RedRaven is alive) Equal to True
      Then - Actions
        Selection - Select RedRaven for Player 1 (Red)
      Else - Actions
tutorial off
  Events
    Player - Player 1 (Red) types a chat message containing -tutorial off (stringnoformat) as An exact match
  Conditions
  Actions
    Set VariableSet Tutorial = False
tutorial on
  Events
    Player - Player 1 (Red) types a chat message containing -tutorial on (stringnoformat) as An exact match
  Conditions
  Actions
    Set VariableSet Tutorial = True
CAMERA CREATION
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to True
  Actions
    Camera - .Apply. gg_cam_Black_screen for Player 1 (Red) over 0.10 seconds
CAMERA
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
CAMERA Dungeon
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay_Dungeon for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
CAMERA Dungeon Boss
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay_Dungeon_Boss for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
CAMERA Aderyn Boss
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay_Aderyn_boss for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
CAMERA Ffraid
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay_Ffraid for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
CAMERA Eliwlod Boss
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay_Eliwlod_Boss for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
CAMERA Gwynfor Boss
  Events
    Time - Every 0.04 seconds of game time
  Conditions
    CinematicMODE Equal to False
  Actions
    Camera - .Apply. gg_cam_Gameplay_Gwynfor_Boss for Player 1 (Red) over 0.10 seconds
    Camera - Lock camera target for Player 1 (Red) to RedRaven, offset by (0.00, 210.00) using Default rotation
Ffraid Close
  Events
    Unit - A unit enters Ffraid_Camera <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off CAMERA <gen>
    Trigger - Turn on CAMERA_Ffraid <gen>
    Trigger - Turn on Ffraid_Far_away <gen>
Ffraid Far away
  Events
    Unit - A unit leaves Ffraid_Camera <gen>
  Conditions
    (Leaving unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Trigger - Turn off CAMERA_Ffraid <gen>
    Trigger - Turn on CAMERA <gen>
    Trigger - Turn on Ffraid_Close <gen>
Crows first area
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 2 0028 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 0003 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 2 0027 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 0004 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 2 0007 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 2 0006 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 2 0016 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 0005 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in Crow_over_forest <gen>)
    Unit - Order Crow 2 0008 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    -------- --------
    Set VariableSet CrowPoint = (Random point in crow_blabla <gen>)
    Unit - Order Crow 3 0250 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in crow_blabla <gen>)
    Unit - Order Crow 3 0137 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in crow_blabla <gen>)
    Unit - Order Crow 3 0133 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
    Set VariableSet CrowPoint = (Random point in crow_blabla <gen>)
    Unit - Order Crow 3 0013 <gen> to Move To.CrowPoint
    Custom script: call RemoveLocation(udg_CrowPoint)
Orb HP
  Events
    Time - Every 1.00 seconds of game time
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (RedRaven has an item of type |c00F5DEB3Ring of the Soul Arts|r) Equal to True
      Then - Actions
        Set VariableSet RealF = 8.33
      Else - Actions
        Set VariableSet RealF = 16.66
    -------- Soul --------
    Set VariableSet OrbGroup2 = (Units of type |cffc8ffffSoul Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Fire --------
    Set VariableSet OrbGroup2 = (Units of type |cffd45e19Fire Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Ice --------
    Set VariableSet OrbGroup2 = (Units of type |cff8080ffIce Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Thunder --------
    Set VariableSet OrbGroup2 = (Units of type |cff00ffffThunder Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Earth --------
    Set VariableSet OrbGroup2 = (Units of type |cffc89632Earth Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Necromancy --------
    Set VariableSet OrbGroup2 = (Units of type |cff00ff00Necrotic Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Arcane --------
    Set VariableSet OrbGroup2 = (Units of type |cff800000Arcane Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Blood --------
    Set VariableSet OrbGroup2 = (Units of type |cffff0000Blood Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Light --------
    Set VariableSet OrbGroup2 = (Units of type |cffffff00Light Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Darkness --------
    Set VariableSet OrbGroup2 = (Units of type |cff6f2583Dark Orb|r (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
    -------- Orb of Rot --------
    Set VariableSet OrbGroup2 = (Units of type Orb of Rot (Male 2))
    Unit Group - Pick every unit in OrbGroup2 and do (Set life of (Picked unit) to ((Life of (Picked unit)) - RealF))
    Custom script: call DestroyGroup(udg_OrbGroup2)
Thunder Wolf Snore
  Events
    Time - Every 8.00 seconds of game time
  Conditions
    (Thunder_Wolf_Snore <gen> contains RedRaven) Equal to True
  Actions
    Sound - Stop NetherDragonYesAttack3 <gen> Immediately
    Sound - Set pitch of NetherDragonYesAttack3 <gen> to 0.50
    Sound - Play NetherDragonYesAttack3 <gen>
Eye of the Unseen
  Events
    Time - Every 1.00 seconds of game time
  Conditions
    (RedRaven is alive) Equal to True
  Actions
    Set VariableSet LightPoint = (Position of RedRaven)
    Region - Center EYE_OF_THE_UNSEEN_LIGHT <gen> on LightPoint
    Custom script: call RemoveLocation(udg_LightPoint)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (RedRaven has an item of type |c00F5DEB3Eye of the Unseen) Equal to True
      Then - Actions
        Visibility - Enable VISVIS[5]
      Else - Actions
        Visibility - Disable VISVIS[5]
HITBOX
  Events
    Time - Every 0.03 seconds of game time
  Conditions
    (RedRaven is alive) Equal to True
  Actions
    Set VariableSet HitBoxPoint = (Position of RedRaven)
    Unit - Move |cff800000Red Raven|r 0353 <gen> instantly to HitBoxPoint
    Custom script: call RemoveLocation(udg_HitBoxPoint)
SEAL 4
  Events
    Unit - A unit comes within 256 of |cffc8ffffS E A L|r 0129 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to |cff00ff00Necrotic Orb|r (Male 2)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Kill |cffc8ffffS E A L|r 0129 <gen>
    Unit - Kill Necrotic Orb 0125 <gen>
    Unit - Kill Necrotic Orb 0128 <gen>
    Sound - Set pitch of StarfallCaster101 <gen> to 0.70
    Sound - Play StarfallCaster101 <gen>
    Sound - Set pitch of cursetarget3 <gen> to 0.60
    Sound - Play cursetarget3 <gen>
    Destructible - Pick every destructible in Region_514 <gen> and do (Kill (Matching destructible))
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_605 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_604 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_603 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across bm_vis_1_Copy <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_600_Copy <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_600_Copy_2 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_600 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across bm_vis_1 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across bm_vis_1_Copy_2 <gen>
    Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region_599 <gen>
SEAL 5
  Events
    Unit - A unit comes within 256 of |cffc8ffffS E A L|r 0093 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to |cff800000Arcane Orb|r (Male 2)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Kill |cffc8ffffS E A L|r 0093 <gen>
    Unit - Kill |cffc8ffffArcane Orb|r 0094 <gen>
    Unit - Kill |cffc8ffffArcane Orb|r 0101 <gen>
    Sound - Set pitch of StarfallCaster101 <gen> to 0.70
    Sound - Play StarfallCaster101 <gen>
    Sound - Set pitch of cursetarget3 <gen> to 0.60
    Sound - Play cursetarget3 <gen>
    Destructible - Pick every destructible in Region_515 <gen> and do (Kill (Matching destructible))
SEAL 6
  Events
    Unit - A unit comes within 256 of |cffc8ffffS E A L|r 0342 <gen>
  Conditions
    (Unit-type of (Entering unit)) Equal to |cff800000Arcane Orb|r (Male 2)
  Actions
    Trigger - Turn off (This trigger)
    Unit - Kill |cffc8ffffS E A L|r 0342 <gen>
    Unit - Kill |cffc8ffffArcane Orb|r 0343 <gen>
    Unit - Kill |cffc8ffffArcane Orb|r 0344 <gen>
    Sound - Set pitch of StarfallCaster101 <gen> to 0.70
    Sound - Play StarfallCaster101 <gen>
    Sound - Set pitch of cursetarget3 <gen> to 0.60
    Sound - Play cursetarget3 <gen>
    Destructible - Pick every destructible in SEAL_ENOCHS_GARDEN <gen> and do (Kill (Matching destructible))
TRune 0
  Events
    Unit - A unit enters Rune1_Copy_3 <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Set pitch of StarfallCaster101 <gen> to 0.70
    Sound - Play StarfallCaster101 <gen>
    Destructible - Kill Thunder Clap 4280 <gen>
    Destructible - Pick every destructible in Region_509 <gen> and do (Kill (Matching destructible))
    Destructible - Pick every destructible in Region_511 <gen> and do (Kill (Matching destructible))
    Destructible - Pick every destructible in Region_510 <gen> and do (Kill (Matching destructible))
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_storm_callers <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_storm_callers <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_storm_callers <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_storm_callers_Copy <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_storm_callers_Copy <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_storm_callers_Copy <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_storm_callers_Copy_2 <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_storm_callers_Copy_2 <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_storm_callers_Copy_2 <gen>)
    Unit - Create 1.|cffc8c8ffStorm Caller|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_2 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_2 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_2 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_3 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_3 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_3 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_4 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_4 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_4 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_5 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_5 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempPoint = (Random point in 3_thunder_beasts_Copy_5 <gen>)
    Unit - Create 1.|cffc8c8ffThunder Beast|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Wait 0.10 seconds
    Set VariableSet TempPoint = (Center of thunder_beast_elite <gen>)
    Unit - Create 1.|cffc8c8ffStorm Lord|r for Player 11 (Dark Green) at TempPoint facing (Random angle) degrees
    Custom script: call RemoveLocation(udg_TempPoint)
    Set VariableSet TempGroup = (Units of type |cffc8c8ffStorm Lord|r)
    Unit Group - Pick every unit in TempGroup and do (Set (Picked unit) Hero-level to 8, Hide level-up graphics)
    Unit Group - Pick every unit in TempGroup and do (Disable experience gain for (Picked unit).)
    Custom script: call DestroyGroup(udg_TempGroup)
Wand Unlock
  Events
    Unit - A unit Acquires an item
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cff00ff00Necromancy|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cff00ffffThunder|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cff800000Arcane|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cff8080ffIce|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cff974397Darkness|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cffc89632Earth|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cffd45e19Fire|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cffff0000Blood|r
        (Item-type of (Item being manipulated)) Equal to |cffffcc00Wand of|r |cffffff00Light|r
    Or - Any (Conditions) are true
      Conditions
        (Hero manipulating item) Equal to RedRaven
        (Hero manipulating item) Equal to |cffc8ffffOld Friend|r 0024 <gen>
  Actions
    Trigger - Turn off (This trigger)
    Unit - For RedRaven, Ability Magical Wand, Hide ability: False
Looking Glass Unlock
  Events
    Unit - A unit enters UNLOCK_Looking_Glass <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Unit - For RedRaven, Ability Looking Glass Self, Hide ability: False
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Tutorial Equal to True
      Then - Actions
        Cinematic - Clear the screen of text messages for (All players).
        Sound - Play tut1 <gen>
        Set VariableSet TALKSOUND = (Last played sound)
        Game - Display to (All players) for 18.00 seconds the text: |cff808080Remember, by peering through the veil and gazing upon your |c00FFD700looking glass selves|r|cff808080, you - my Ravens - may accomplish wonders. This sorcery is what makes us unique...|r
      Else - Actions
Phase Unlock
  Events
    Unit - A unit enters UNLOCK_Phase <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Unit - For RedRaven, Ability Phase, Hide ability: False
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        Tutorial Equal to True
      Then - Actions
        Cinematic - Clear the screen of text messages for (All players).
        Sound - Stop TALKSOUND Immediately
        Sound - Play tut2 <gen>
        Set VariableSet TALKSOUND = (Last played sound)
        Game - Display to (All players) for 17.00 seconds the text: |cff808080Each passing second consists of infinite moments within the time stream.|r |c00FFD700Phasing|r |cff808080is our gift, and even allows us to link with our other selves across realities - our|r |c00FFD700looking glass selves|r|cff808080...|r
      Else - Actions
Lightning 1
  Events
    Unit - A unit enters Thunder_1 <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Set pitch of RollingThunder1 <gen> to 0.70
    Sound - Play RollingThunder1 <gen>
Lightning 2
  Events
    Unit - A unit enters Lightning_2 <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Play STORM_KING_5 <gen>
TRune 1
  Events
    Unit - A unit enters Rune1 <gen>
  Conditions
    (Entering unit) Equal to RedRaven
  Actions
    Trigger - Turn off (This trigger)
    Sound - Set pitch of StarfallCaster101 <gen> to 0.70
    Sound - Play StarfallCaster101 <gen>
    Destructible - Kill Thunder Clap 0105 <gen>
    Destructible - Pick every destructible in Fog_Gate_1 <gen> and do (Kill (Matching destructible))
TRune 2a
  Events
    Unit - A unit enters Rune_2b <gen>
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Entering unit) Equal to LookingGlassSelf
        (Entering unit) Equal to RedRaven
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Entering unit) Equal to LookingGlassSelf
        (Rune_2a <gen> contains RedRaven) Equal to True
      Then - Actions
        Trigger - Turn off (This trigger)
        Trigger - Turn off TRune_2b <gen>