Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
H009_alt.w3m
Variables
Variables
Initialization
Melee Initialization
Resources
AD1
AD2
Quest
Defeat
VicTer
Victory
Crates
Crate1
Crate2
Crate3
Crate4
Crate5
Music
MusicIf
Music1
Music2
Music3
Music4
Music5
Music7
Difficulty
Diff
Easy
Easy start
AttackE1
AttackE2
Normal
Normal start
AttackN1
AttackN2
Hard
Hard start
AttackH1
AttackH2
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
Diff
dialog
No
Easy
button
No
Group1
group
No
Group2
group
No
Hard
button
No
Normal
button
No
QR
questitem
No
Quest
quest
No
Ship1
unit
No
Ship2
unit
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Sound - Clear the music list
Melee Game - Use melee time of day (for all players)
Sound - Set music volume to 75.00 %
Unit - Order Worker 0021 <gen> to Harvest . Cityscape Summer Tree Wall 0002 <gen>
Unit - Order Worker 0022 <gen> to Harvest . Cityscape Summer Tree Wall 0004 <gen>
Unit - Order Worker 0023 <gen> to Harvest . Cityscape Summer Tree Wall 0073 <gen>
Unit - Order Worker 0024 <gen> to Harvest . Cityscape Summer Tree Wall 0066 <gen>
Unit - Order Worker 0014 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Worker 0013 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Worker 0008 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Worker 0010 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Worker 0009 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Worker 0011 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Worker 0012 <gen> to Harvest . Gold Mine 0006 <gen>
Unit - Order Peasant 0137 <gen> to Harvest . Cityscape Summer Tree Wall 1269 <gen>
Unit - Order Peasant 0136 <gen> to Harvest . Cityscape Summer Tree Wall 1275 <gen>
Unit - Order Peasant 0125 <gen> to Harvest . Gold Mine 0065 <gen>
Unit - Order Peasant 0124 <gen> to Harvest . Gold Mine 0065 <gen>
Unit - Order Peasant 0126 <gen> to Harvest . Gold Mine 0065 <gen>
Unit - Change ownership of Captain 0266 <gen> to Player 22 (Snow) and Retain color
Player - Set Player 3 (Teal) . Current gold to 5000
Player - Set Player 3 (Teal) . Current lumber to 2500
Player - Set Player 6 (Orange) . Current gold to 5000
Player - Set Player 6 (Orange) . Current lumber to 2500
Player - Set Player 3 (Teal) . Food cap to 100
Player - Set Player 6 (Orange) . Food cap to 100
Sound - Stop the currently playing music theme
Wait 0.10 seconds
Trigger - Run Music1 <gen> (checking conditions)
Trigger - Run Diff <gen> (checking conditions)
Resources
Events
Player - Player 3 (Teal) 's Current gold becomes Less than or equal to 1000.00
Player - Player 3 (Teal) 's Current lumber becomes Less than or equal to 500.00
Conditions
Actions
Player - Set Player 3 (Teal) . Current gold to 2000
Player - Set Player 3 (Teal) . Current lumber to 1000
AD1
Events
Unit - Human Shipyard 0033 <gen> Dies
Conditions
Actions
Trigger - Turn off AttackE1 <gen>
Trigger - Turn off AttackN1 <gen>
Trigger - Turn off AttackH1 <gen>
AD2
Events
Unit - Keep 0123 <gen> Dies
Conditions
Actions
Trigger - Turn off AttackE2 <gen>
Trigger - Turn off AttackN2 <gen>
Trigger - Turn off AttackH2 <gen>
Quest
Events
Map initialization
Conditions
Actions
Quest - Create a Required, undiscovered quest titled The Battle at Darrowmere with the description With his Paladins keeping vigilant watch over the northlands, the Archbishop's assistant Uther Lightbringer of Lordaeron has come to offer comfort to those who are suffering the misfortunes of war.Lord Lothar has entrusted you with the protection of the Paladins' Commander and his entourage as they travel to the island township of Caer Darrow. Besides, the High Elves will protect you during this mission. , using icon path ReplaceableTextures\CommandButtons\BTNHeroPaladin.blp
Set Variable Set Quest = (Last created quest)
Quest - Create a quest requirement for Quest with the description Escort the Lightbringer to the Circle of Power at Caer Darrow.
Set Variable Set QR = (Last created quest requirement)
Defeat
Events
Unit - Captain 0266 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Quest Failed message: |cffffff00MAIN QUEST FAILED: |rThe Battle at Darrowmere.
Quest - Mark Quest as Failed
Wait 2 seconds
Game - Defeat Player 22 (Snow) with the message: Defeat!
VicTer
Events
Unit - A unit enters Region_009 <gen>
Conditions
(Entering unit) Equal to Captain 0266 <gen>
Actions
Trigger - Run Victory <gen> (ignoring conditions)
Trigger - Turn off (This trigger)
Victory
Events
Conditions
Actions
Quest - Display to (All players) the Quest Completed message: |cffffff00MAIN QUEST COMPLETED:|rThe Battle at Darrowmere.
Quest - Mark QR as Completed
Quest - Mark Quest as Completed
Wait 4.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living High Elven Farm 1 units owned by Player 12 (Brown)) Equal to 5
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff000|r out of |cffffff005|r Crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living High Elven Farm 1 units owned by Player 12 (Brown)) Equal to 4
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff001|r out of |cffffff005|r Crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living High Elven Farm 1 units owned by Player 12 (Brown)) Equal to 3
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff002|r out of |cffffff005|r Crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living High Elven Farm 1 units owned by Player 12 (Brown)) Equal to 2
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff003|r out of |cffffff005|r Crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living High Elven Farm 1 units owned by Player 12 (Brown)) Equal to 1
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff004|r out of |cffffff005|r Crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living High Elven Farm 1 units owned by Player 12 (Brown)) Equal to 0
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff00all|r the Crates! |cffffff00Congratulations!|r
Else - Actions
Wait 4.00 seconds
Game - Victory Player 22 (Snow) ( Show dialogs, Show scores)
Crate1
Events
Unit - High Elven Farm 0294 <gen> Dies
Conditions
Actions
Player - Add 50 to Player 22 (Snow) . Current gold
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Gold|r.
Crate2
Events
Unit - High Elven Farm 0298 <gen> Dies
Conditions
Actions
Player - Add 50 to Player 22 (Snow) . Current lumber
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Lumber|r.
Crate3
Events
Unit - High Elven Farm 0295 <gen> Dies
Conditions
Actions
Player - Add 50 to Player 22 (Snow) . Current gold
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Gold|r.
Crate4
Events
Unit - High Elven Farm 0296 <gen> Dies
Conditions
Actions
Player - Add 50 to Player 22 (Snow) . Current lumber
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Lumber|r.
Crate5
Events
Unit - High Elven Farm 0297 <gen> Dies
Conditions
Actions
Player - Add 50 to Player 22 (Snow) . Current gold
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Gold|r.
MusicIf
Events
Game - A saved game is loaded
Conditions
Actions
Sound - Clear the music list
Sound - Stop the currently playing music theme
Trigger - Run Music1 <gen> (checking conditions)
Music1
Events
Conditions
Actions
Sound - Play Warcraft_F001 <gen>
Wait (Length of Warcraft_F001 <gen>) seconds
Trigger - Run Music2 <gen> (checking conditions)
Music2
Events
Conditions
Actions
Sound - Play Warcraft_003 <gen>
Wait (Length of Warcraft_003 <gen>) seconds
Trigger - Run Music3 <gen> (checking conditions)
Music3
Events
Conditions
Actions
Sound - Play Warcraft_002 <gen>
Wait (Length of Warcraft_002 <gen>) seconds
Trigger - Run Music4 <gen> (checking conditions)
Music4
Events
Conditions
Actions
Sound - Play Warcraft_004 <gen>
Wait (Length of Warcraft_004 <gen>) seconds
Trigger - Run Music5 <gen> (checking conditions)
Music5
Events
Conditions
Actions
Sound - Play Warcraft_006 <gen>
Wait (Length of Warcraft_005 <gen>) seconds
Trigger - Run Music7 <gen> (checking conditions)
Music7
Events
Conditions
Actions
Sound - Play Warcraft_007 <gen>
Wait (Length of Warcraft_007 <gen>) seconds
Trigger - Run Music1 <gen> (checking conditions)
Diff
Events
Conditions
Actions
Dialog - Clear Diff
Dialog - Change the title of Diff to Difficulty Selection:
Dialog - Create a dialog button for Diff labelled Easy
Set Variable Set Easy = (Last created dialog Button)
Dialog - Create a dialog button for Diff labelled Normal
Set Variable Set Normal = (Last created dialog Button)
Dialog - Create a dialog button for Diff labelled Hard
Set Variable Set Hard = (Last created dialog Button)
Dialog - Show Diff for Player 22 (Snow)
Easy start
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Easy
Actions
Dialog - Hide Diff for Player 22 (Snow)
Quest - Display to (All players) the Hint message: |cff00ff00Easy|r difficulty is on.
Unit - Remove Human Battleship 0258 <gen> from the game
Unit - Remove Demolisher 0093 <gen> from the game
Unit - Remove Cannon Tower 0075 <gen> from the game
Unit - Remove Cannon Tower 0076 <gen> from the game
Unit - Remove Cannon Tower 0113 <gen> from the game
Unit - Remove Cannon Tower 0236 <gen> from the game
Unit - Create 1 . Watch Tower for Player 2 (Blue) at (Center of Region_011 <gen>) facing Default building facing degrees
Unit - Remove Demolisher 0091 <gen> from the game
Unit - Remove Demolisher 0284 <gen> from the game
Unit - Remove Demolisher 0283 <gen> from the game
Trigger - Run AttackE1 <gen> (checking conditions)
Trigger - Run AttackE2 <gen> (checking conditions)
Wait 2 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rThe Battle at Darrowmere:- Escort the Lightbringer to the Circle of Power at Caer Darrow.
Quest - Mark Quest as Discovered
Unit - Order Dragonhawk Rider 0301 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Dragonhawk Rider 0302 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Dragonhawk Rider 0303 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragon Hawk
Wait 60.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragon Hawk
Wait 61.00 seconds
Set Variable Set Group1 = (Units in Region_001 <gen> owned by Player 3 (Teal))
Unit Group - Order Group1 to Attack-Move To . (Position of Keep 0123 <gen>)
AttackE1
Events
Conditions
Actions
Wait 130.00 seconds
Unit - Order Human Shipyard 0025 <gen> to train/upgrade to a Human Frigate
Wait 30.00 seconds
Unit - Order Human Shipyard 0025 <gen> to train/upgrade to a Human Frigate
Wait 30.00 seconds
Wait 2.00 seconds
Set Variable Set Group2 = (Units in Region_010 <gen> owned by Player 3 (Teal))
Unit Group - Order Group2 to Attack-Move To . (Position of Human Shipyard 0033 <gen>)
Unit - Order Ship2 to Attack-Move To . (Position of Human Shipyard 0039 <gen>)
Trigger - Run (This trigger) (checking conditions)
AttackE2
Events
Conditions
Actions
Wait 100.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragonhawk Rider
Wait 36.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragonhawk Rider
Wait 36.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragonhawk Rider
Wait 39.00 seconds
Set Variable Set Group1 = (Units in Region_001 <gen> owned by Player 3 (Teal))
Unit Group - Order Group1 to Attack-Move To . (Position of Keep 0123 <gen>)
Trigger - Run (This trigger) (checking conditions)
Normal start
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Normal
Actions
Dialog - Hide Diff for Player 22 (Snow)
Quest - Display to (All players) the Hint message: |cffffff00Normal|r difficulty is on.
Trigger - Run AttackN1 <gen> (checking conditions)
Trigger - Run AttackN2 <gen> (checking conditions)
Unit - Remove Demolisher 0283 <gen> from the game
Wait 2 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rThe Battle at Darrowmere:- Escort the Lightbringer to the Circle of Power at Caer Darrow.
Quest - Mark Quest as Discovered
Unit - Order Dragonhawk Rider 0301 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Dragonhawk Rider 0302 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Dragonhawk Rider 0303 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragon Hawk
Wait 60.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragon Hawk
Wait 61.00 seconds
Set Variable Set Group1 = (Units in Region_001 <gen> owned by Player 3 (Teal))
Unit Group - Order Group1 to Attack-Move To . (Position of Keep 0123 <gen>)
AttackN1
Events
Conditions
Actions
Wait 160.00 seconds
Unit - Order Human Shipyard 0025 <gen> to train/upgrade to a Human Frigate
Wait 30.00 seconds
Unit - Order Human Shipyard 0025 <gen> to train/upgrade to a Human Frigate
Wait 30.00 seconds
Wait 2.00 seconds
Set Variable Set Group2 = (Units in Region_010 <gen> owned by Player 3 (Teal))
Unit Group - Order Group2 to Attack-Move To . (Position of Human Shipyard 0033 <gen>)
Unit - Order Ship2 to Attack-Move To . (Position of Human Shipyard 0039 <gen>)
Trigger - Run (This trigger) (checking conditions)
AttackN2
Events
Conditions
Actions
Wait 160.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragonhawk Rider
Wait 60.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragonhawk Rider
Wait 61.00 seconds
Set Variable Set Group1 = (Units in Region_001 <gen> owned by Player 3 (Teal))
Unit Group - Order Group1 to Attack-Move To . (Position of Keep 0123 <gen>)
Trigger - Run (This trigger) (checking conditions)
Hard start
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Hard
Actions
Dialog - Hide Diff for Player 22 (Snow)
Quest - Display to (All players) the Hint message: |cffff0000Hard|r difficulty is on.
Trigger - Run AttackH1 <gen> (checking conditions)
Trigger - Run AttackH2 <gen> (checking conditions)
Unit - Remove Human Frigate 0052 <gen> from the game
Unit - Remove Human Battleship 0054 <gen> from the game
Unit - Remove Human Frigate 0051 <gen> from the game
Unit - Remove Glaive Thrower 0046 <gen> from the game
Unit - Remove Knight 0260 <gen> from the game
Unit - Remove Knight 0034 <gen> from the game
Unit - Remove Archer 0045 <gen> from the game
Unit - Remove Footman 0038 <gen> from the game
Unit - Remove Footman 0029 <gen> from the game
Wait 2 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rThe Battle at Darrowmere:- Escort the Lightbringer to the Circle of Power at Caer Darrow.
Quest - Mark Quest as Discovered
Unit - Order Dragonhawk Rider 0301 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Dragonhawk Rider 0302 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Dragonhawk Rider 0303 <gen> to Attack-Move To . (Position of Keep 0123 <gen>)
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragon Hawk
Wait 60.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragon Hawk
Wait 61.00 seconds
Set Variable Set Group1 = (Units in Region_001 <gen> owned by Player 3 (Teal))
Unit Group - Order Group1 to Attack-Move To . (Position of Keep 0123 <gen>)
AttackH1
Events
Conditions
Actions
Wait 160.00 seconds
Unit - Order Human Shipyard 0025 <gen> to train/upgrade to a Human Frigate
Wait 30.00 seconds
Wait 2.00 seconds
Set Variable Set Group2 = (Units in Region_010 <gen> owned by Player 3 (Teal))
Unit Group - Order Group2 to Attack-Move To . (Position of Human Shipyard 0033 <gen>)
Unit - Order Ship2 to Attack-Move To . (Position of Human Shipyard 0039 <gen>)
Trigger - Run (This trigger) (checking conditions)
AttackH2
Events
Conditions
Actions
Wait 160.00 seconds
Unit - Order Gryphon Aviary 0016 <gen> to train/upgrade to a Dragonhawk Rider
Wait 61.00 seconds
Set Variable Set Group1 = (Units in Region_001 <gen> owned by Player 3 (Teal))
Unit Group - Order Group1 to Attack-Move To . (Position of Keep 0123 <gen>)
Trigger - Run (This trigger) (checking conditions)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.