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
O006_alt.w3m
Variables
Variables
Initialization
Melee Initialization
Dialog
Quest
Defeat
Victory
Easy
Easy
EasyAttack1
EasyAttack2
Normal
Normal
NormalAttack1
NormalAttack2
Hard
Hard
HardAttack1
HardAttack2
Music
MusicIf
Music1
Music2
Music3
Music4
Music5
Crates
Crate1
Crate2
Crate3
Crate4
Crate5
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
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player - Make Player 1 (Red) treat Player 16 (Violet) as an Ally
Player - Make Player 2 (Blue) treat Player 16 (Violet) as an Ally
Player - Make Player 21 (Coal) treat Player 16 (Violet) as an Ally
Player - Make Player 16 (Violet) treat Player 1 (Red) as an Ally
Player - Make Player 16 (Violet) treat Player 2 (Blue) as an Ally
Player - Make Player 16 (Violet) treat Player 21 (Coal) as an Ally
Melee Game - Use melee time of day (for all players)
Visibility - Enable black mask
Visibility - Enable fog of war
Player - Set Player 1 (Red) . Current gold to 10000
Player - Set Player 1 (Red) . Current lumber to 10000
Player - Set Player 2 (Blue) . Current gold to 10000
Player - Set Player 2 (Blue) . Current lumber to 10000
Player - Set Player 1 (Red) . Food cap to 100
Player - Set Player 2 (Blue) . Food cap to 100
Unit - Order Peasant 0086 <gen> to Harvest . Summer Tree Wall 0918 <gen>
Unit - Order Peasant 0085 <gen> to Harvest . Summer Tree Wall 1006 <gen>
Unit - Order Peasant 0103 <gen> to Harvest . Summer Tree Wall 0981 <gen>
Unit - Order Peasant 0223 <gen> to Harvest . Summer Tree Wall 0217 <gen>
Unit - Order Peon 0037 <gen> to Harvest . Summer Tree Wall 1051 <gen>
Unit - Order Peon 0123 <gen> to Harvest . Summer Tree Wall 1061 <gen>
Unit - Order Peon 0036 <gen> to Harvest . Summer Tree Wall 1063 <gen>
Unit - Order Peon 0125 <gen> to Harvest . Summer Tree Wall 1068 <gen>
Player - Change color of Player 21 (Coal) to Black , Changing color of existing units
Unit - Change color of Knight 0005 <gen> to Violet
Sound - Clear the music list
Sound - Stop the currently playing music theme
Sound - Missing string for 'SetThematicMusicVolumeBJ'
Trigger - Run Music1 <gen> (checking conditions)
Wait 0.10 seconds
Trigger - Run Dialog <gen> (checking conditions)
Dialog
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 21 (Coal)
Quest
Events
Map initialization
Conditions
Actions
Quest - Create a Required, undiscovered quest titled The Badlands with the description Doomhammer has sent word that the Ogre-Mage Cho'gall, chieftain of the Twilight's Hammer Clan, is personally inspecting the Foundry at Grim Batol. Cho'gall and his convoy will be traveling through the badlands of Khaz Modan.At the same time massive Human and Dwarf forces are preparing their attack on the convoy from all sides. Luckily the Goblins, which provided us with their Zeppelins and technologies last time, are eager to aid our cause with their best forces.Should Cho'gall die, your life will be forfeit as well... , using icon path ReplaceableTextures\CommandButtons\BTNOgreLord.blp
Set Variable Set Quest = (Last created quest)
Quest - Create a quest requirement for Quest with the description Escort Cho'gall to the Circle of Power at Grim Batol.
Set Variable Set QR = (Last created quest requirement)
Defeat
Events
Unit - Knight 0005 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Quest Failed message: |cffffff00MAIN QUEST FAILED:|rThe Badlands.
Quest - Mark Quest as Failed
Wait 4.00 seconds
Game - Defeat Player 21 (Coal) with the message: Cho'gall has been killed!
Victory
Events
Unit - A unit enters Region_026 <gen>
Conditions
(Entering unit) Equal to Knight 0005 <gen>
Actions
Quest - Display to (All players) the Quest Completed message: |cffffff00MAIN QUEST COMPLETED:|rThe Badlands.
Quest - Mark Quest as Completed
Quest - Mark QR 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 didn't find any 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 21 (Coal) ( Show dialogs, Show scores)
Easy
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Easy
Actions
Dialog - Hide Diff for Player 21 (Coal)
Quest - Display to (All players) the Hint message: |cff00ff00Easy|r difficulty is on.
Unit - Remove Rifleman 0140 <gen> from the game
Unit - Remove Footman 0162 <gen> from the game
Unit - Remove Rifleman 0143 <gen> from the game
Unit - Remove Mortar Team 0156 <gen> from the game
Unit - Remove Rifleman 0149 <gen> from the game
Unit - Remove Footman 0169 <gen> from the game
Trigger - Run EasyAttack1 <gen> (checking conditions)
Wait 2.00 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rThe Badlands:- Escort Cho'gall to the Circle of Power at Grim Batol.
Quest - Mark Quest as Discovered
Unit Group - Order (Units in Region_000 <gen>) to Attack-Move To . (Position of Knight 0005 <gen>)
Wait 20.00 seconds
Unit Group - Order (Units in Region_001 <gen>) to Attack-Move To . (Position of Knight 0005 <gen>)
EasyAttack1
Events
Conditions
Actions
Wait 80.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Set Variable Set Group1 = (Units in Region_003 <gen> owned by Player 2 (Blue))
Unit Group - Order Group1 to Attack-Move To . (Position of Knight 0005 <gen>)
Trigger - Run EasyAttack2 <gen> (checking conditions)
EasyAttack2
Events
Conditions
Actions
Wait 80.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Set Variable Set Group2 = (Units in Region_002 <gen> owned by Player 1 (Red))
Unit Group - Order Group2 to Attack-Move To . (Position of Knight 0005 <gen>)
Trigger - Run EasyAttack1 <gen> (checking conditions)
Normal
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Normal
Actions
Dialog - Hide Diff for Player 21 (Coal)
Quest - Display to (All players) the Hint message: |cffffff00Normal |rdifficulty is on.
Trigger - Run NormalAttack1 <gen> (checking conditions)
Wait 2.00 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rThe Badlands:- Escort Cho'gall to the Circle of Power at Grim Batol.
Quest - Mark Quest as Discovered
Unit - Remove Watch Tower 0046 <gen> from the game
Unit - Remove Demolisher 0121 <gen> from the game
Unit - Remove Ogre Warrior 0133 <gen> from the game
Unit - Remove Forest Troll Trapper 0126 <gen> from the game
Unit - Create 1 . Footman for Player 1 (Red) at (Center of Region_022 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 1 (Red) at (Center of Region_023 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_024 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_025 <gen>) facing Default building facing degrees
Unit Group - Order (Units in Region_000 <gen>) to Attack-Move To . (Position of Knight 0005 <gen>)
Wait 20.00 seconds
Unit Group - Order (Units in Region_001 <gen>) to Attack-Move To . (Position of Knight 0005 <gen>)
NormalAttack1
Events
Conditions
Actions
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Set Variable Set Group1 = (Units in Region_003 <gen> owned by Player 2 (Blue))
Unit Group - Order Group1 to Attack-Move To . (Position of Knight 0005 <gen>)
Trigger - Run NormalAttack2 <gen> (checking conditions)
NormalAttack2
Events
Conditions
Actions
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Set Variable Set Group2 = (Units in Region_002 <gen> owned by Player 1 (Red))
Unit Group - Order Group2 to Attack-Move To . (Position of Knight 0005 <gen>)
Trigger - Run NormalAttack1 <gen> (checking conditions)
Hard
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Hard
Actions
Dialog - Hide Diff for Player 21 (Coal)
Quest - Display to (All players) the Hint message: |cffff0000Hard|r difficulty is on.
Trigger - Run HardAttack1 <gen> (checking conditions)
Wait 2.00 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rThe Badlands:- Escort Cho'gall to the Circle of Power at Grim Batol.
Quest - Mark Quest as Discovered
Unit - Create 1 . Footman for Player 1 (Red) at (Center of Region_022 <gen>) facing Default building facing degrees
Unit - Create 1 . Guard Tower for Player 1 (Red) at (Center of Region_012 <gen>) facing Default building facing degrees
Unit - Create 1 . Cannon Tower for Player 1 (Red) at (Center of Region_014 <gen>) facing Default building facing degrees
Unit - Create 1 . Cannon Tower for Player 1 (Red) at (Center of Region_019 <gen>) facing Default building facing degrees
Unit - Create 1 . Guard Tower for Player 1 (Red) at (Center of Region_012 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 1 (Red) at (Center of Region_023 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_024 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_025 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 1 (Red) at (Center of Region_007 <gen>) facing Default building facing degrees
Unit Group - Order (Units in Region_000 <gen>) to Attack-Move To . (Position of Knight 0005 <gen>)
Wait 20.00 seconds
Unit Group - Order (Units in Region_001 <gen>) to Attack-Move To . (Position of Knight 0005 <gen>)
HardAttack1
Events
Conditions
Actions
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Archer
Wait 15.00 seconds
Unit - Order Barracks 0060 <gen> to train/upgrade to a Glaive Thrower
Wait 31.00 seconds
Set Variable Set Group1 = (Units in Region_003 <gen> owned by Player 2 (Blue))
Unit Group - Order Group1 to Attack-Move To . (Position of Knight 0005 <gen>)
Trigger - Run HardAttack2 <gen> (checking conditions)
HardAttack2
Events
Conditions
Actions
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Footman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Rifleman
Wait 15.00 seconds
Unit - Order Barracks 0106 <gen> to train/upgrade to a Mortar Team
Wait 31.00 seconds
Set Variable Set Group2 = (Units in Region_002 <gen> owned by Player 1 (Red))
Unit Group - Order Group2 to Attack-Move To . (Position of Knight 0005 <gen>)
Trigger - Run HardAttack1 <gen> (checking conditions)
MusicIf
Events
Game - A saved game is loaded
Conditions
Actions
Sound - Stop the currently playing music theme
Trigger - Run Music1 <gen> (checking conditions)
Music1
Events
Conditions
Actions
Sound - Play 001_Warcraft_Intro <gen>
Wait (Length of 001_Warcraft_Intro <gen>) seconds
Sound - Clear the music list
Sound - Stop the currently playing music theme
Trigger - Run Music2 <gen> (checking conditions)
Music2
Events
Conditions
Actions
Sound - Play Warcraft_OaH___Darkened_Descendants <gen>
Wait (Length of Warcraft_OaH___Darkened_Descendants <gen>) seconds
Trigger - Run Music3 <gen> (checking conditions)
Music3
Events
Conditions
Actions
Sound - Play Warcraft_OaH___Angelfire <gen>
Wait (Length of Warcraft_OaH___Angelfire <gen>) seconds
Trigger - Run Music4 <gen> (checking conditions)
Music4
Events
Conditions
Actions
Sound - Play Warcraft_OaH___Forever_Laid_in_Chains <gen>
Wait (Length of Warcraft_OaH___Forever_Laid_in_Chains <gen>) seconds
Trigger - Run Music1 <gen> (checking conditions)
Music5
Events
Conditions
Actions
Sound - Play Warcraft_012 <gen>
Wait 213.00 seconds
Trigger - Run Music1 <gen> (checking conditions)
Crate1
Events
Unit - High Elven Farm 0111 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: Yiu've found |cffffff0050 Gold|r.
Player - Add 50 to Player 21 (Coal) . Current gold
Crate2
Events
Unit - High Elven Farm 0136 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: Yiu've found |cffffff0050 Lumber|r.
Player - Add 50 to Player 21 (Coal) . Current lumber
Crate3
Events
Unit - High Elven Farm 0137 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: Yiu've found |cffffff0050 Gold|r.
Player - Add 50 to Player 21 (Coal) . Current gold
Crate4
Events
Unit - High Elven Farm 0135 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: Yiu've found |cffffff0050 Lumber|r.
Player - Add 50 to Player 21 (Coal) . Current lumber
Crate5
Events
Unit - High Elven Farm 0138 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: Yiu've found |cffffff0050 Gold|r.
Player - Add 50 to Player 21 (Coal) . Current gold
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.