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
O002.w3m
Variables
Variables
Initialization
Melee Initialization
MusicIf
Crate1
Crate2
Crate3
Quest
Saved Trolls
ZullSomething
Defeat
The Line
The Attack
The Cicrle
Victory
Music
Music1
Music2
Music3
Music4
Difficulty
Dialog
Easy
Normal
Hard
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
Hard
button
No
Normal
button
No
QR1
questitem
No
QR2
questitem
No
Quest
quest
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player - Make Player 2 (Blue) treat Player 21 (Coal) as an Ally
Player - Make Player 21 (Coal) treat Player 2 (Blue) as an Ally
Melee Game - Use melee time of day (for all players)
Visibility - Enable fog of war
Visibility - Enable black mask
Sound - Clear the music list
Sound - Stop the currently playing music theme
Sound - Set music volume to 80.00 %
Player - Change color of Player 21 (Coal) to Black , Changing color of existing units
Wait 0.10 seconds
Trigger - Run Music1 <gen> (checking conditions)
Trigger - Run Dialog <gen> (checking conditions)
MusicIf
Events
Game - A saved game is loaded
Conditions
Actions
Sound - Clear the music list
Trigger - Run Music1 <gen> (checking conditions)
Crate1
Events
Unit - Crates 0028 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Gold|r.
Player - Add 50 to Player 1 (Red) . Current gold
Crate2
Events
Unit - Crates 0061 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Lumber|r.
Player - Add 50 to Player 1 (Red) . Current lumber
Crate3
Events
Unit - Crates 0060 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Gold|r.
Player - Add 50 to Player 1 (Red) . Current gold
Quest
Events
Map initialization
Conditions
Actions
Quest - Create a Required, undiscovered quest titled Raid at Hillsbrad with the description ur spies report that a band of Human soldiers have captured a war party led by Troll commander Zuljin and have taken them to a secret prison near the township of Hillsbrad.Seeing an opportunity to place these captives in debt to the Horde, Doomhammer sends you to ransom Zuljin and his Trolls and return them to their own encampment nearby.The War Chief believes that this raid upon the unsuspecting prison will strike terror into the hearts of those who would dare resist the Horde. , using icon path ReplaceableTextures\CommandButtons\BTNForestTrollWarlord.blp
Set Variable Set Quest = (Last created quest)
Quest - Create a quest requirement for Quest with the description Rescue Zuljin.
Set Variable Set QR1 = (Last created quest requirement)
Quest - Create a quest requirement for Quest with the description Return him to the Circle of Power.
Set Variable Set QR2 = (Last created quest requirement)
Saved Trolls
Events
Destructible - Iron Gate 0007 <gen> dies
Conditions
Actions
Quest - Display to (All players) the Quest Update message: |cffffff00MAIN QUEST UPDATE|rRaid at Hillsbrad:|cff808080- Rescue Zuljin.|r - Return him to the Circle of Power.
Quest - Mark QR1 as Completed
Unit - Change ownership of Troll Axethrower 0032 <gen> to Player 1 (Red) and Retain color
Unit - Change ownership of Zul'jin 0034 <gen> to Player 1 (Red) and Retain color
Unit - Change ownership of Troll Axethrower 0033 <gen> to Player 1 (Red) and Retain color
Unit - Change ownership of Troll Axethrower 0031 <gen> to Player 1 (Red) and Retain color
Unit - Change ownership of Troll Axethrower 0030 <gen> to Player 1 (Red) and Retain color
Unit - Change ownership of Troll Axethrower 0029 <gen> to Player 1 (Red) and Retain color
Player - Make Player 2 (Blue) treat Player 21 (Coal) as an Enemy
Player - Make Player 21 (Coal) treat Player 2 (Blue) as an Enemy
ZullSomething
Events
Unit - Zul'jin 0034 <gen> Changes owner
Conditions
Actions
Unit - Change color of Zul'jin 0034 <gen> to Teal
Defeat
Events
Unit - Zul'jin 0034 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Quest Failed message: |cffffff00MAIN QUEST FAILED:|rRaid at Hillsbrad.
Quest - Mark (Last created quest) as Failed
Wait 4.00 seconds
Game - Defeat Player 1 (Red) with the message: Zul'jin has been killed!
The Line
Events
Unit - A unit enters Region_013 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Trigger - Run The_Attack <gen> (checking conditions)
Trigger - Turn off (This trigger)
The Attack
Events
Conditions
Actions
Unit Group - Order (Units in Region_014 <gen>) to Attack-Move To . (Position of Pig Farm 0045 <gen>)
The Cicrle
Events
Unit - A unit enters Region_016 <gen>
Conditions
(Entering unit) Equal to Zul'jin 0034 <gen>
Actions
Trigger - Run Victory <gen> (checking conditions)
Trigger - Turn off (This trigger)
Victory
Events
Conditions
Actions
Quest - Display to (All players) the Quest Completed message: |cffffff00MAIN QUEST COMPLETED:|rRaid at Hillsbrad.
Quest - Mark Quest as Completed
Quest - Mark QR2 as Completed
Wait 4.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Crates 1 units owned by Player 12 (Brown)) Equal to 3
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 Crates 1 units owned by Player 12 (Brown)) Equal to 2
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff001|r out of |cffffff003|r crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Crates 1 units owned by Player 12 (Brown)) Equal to 1
Then - Actions
Quest - Display to (All players) the Hint message: You found |cffffff002|r out of |cffffff003|r crates!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Crates 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 1 (Red) ( Show dialogs, Show scores)
Music1
Events
Conditions
Actions
Sound - Play Warcraft_009 <gen>
Wait 214.00 seconds
Trigger - Run Music2 <gen> (checking conditions)
Music2
Events
Conditions
Actions
Sound - Play Warcraft_010 <gen>
Wait 213.50 seconds
Trigger - Run Music3 <gen> (checking conditions)
Music3
Events
Conditions
Actions
Sound - Play Warcraft_011 <gen>
Wait 207.30 seconds
Trigger - Run Music4 <gen> (checking conditions)
Music4
Events
Conditions
Actions
Sound - Play Warcraft_008 <gen>
Wait 213.00 seconds
Trigger - Run Music1 <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 1 (Red)
Easy
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Easy
Actions
Dialog - Hide Diff for Player 1 (Red)
Quest - Display to (All players) the Hint message: |cff00ff00Easy|r difficulty is on.
Player - Add 100 to Player 1 (Red) . Current gold
Player - Add 50 to Player 1 (Red) . Current lumber
Neutral Building - Add 1500 gold to Gold Mine 0004 <gen>
Unit - Create 1 . Pig Farm for Player 1 (Red) at (Center of Region_010 <gen>) facing Default building facing degrees
Unit - Create 1 . Pig Farm for Player 1 (Red) at (Center of Region_010_Copy <gen>) facing Default building facing degrees
Unit - Create 1 . Troll Axethrower for Player 21 (Coal) at (Center of Region_012 <gen>) facing (Random angle) degrees
Wait 2.00 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rRaid at Hillsbrad:- Rescue Zuljin.- Return him to the Circle of Power.
Quest - Mark Quest as Discovered
Normal
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Normal
Actions
Dialog - Hide Diff for Player 1 (Red)
Quest - Display to (All players) the Hint message: |cffffff00Norma|r|cffffff00l|r difficulty is on.
Player - Add 50 to Player 1 (Red) . Current gold
Player - Add 25 to Player 1 (Red) . Current lumber
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_005 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_002 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_008 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_014 <gen>) facing (Random angle) degrees
Neutral Building - Add 700 gold to Gold Mine 0004 <gen>
Wait 2.00 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rRaid at Hillsbrad:- Rescue Zuljin.- Return him to the Circle of Power.
Quest - Mark Quest as Discovered
Hard
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Hard
Actions
Dialog - Hide Diff for Player 1 (Red)
Quest - Display to (All players) the Hint message: |cffff0000Hard|r difficulty is on.
Player - Add 50 to Player 1 (Red) . Current gold
Player - Add 25 to Player 1 (Red) . Current lumber
Unit - Remove Grunt 0014 <gen> from the game
Unit - Remove Grunt 0016 <gen> from the game
Unit - Remove Grunt 0017 <gen> from the game
Unit - Remove Scout Tower 0019 <gen> from the game
Unit - Remove Scout Tower 0018 <gen> from the game
Unit - Create 1 . Guard Tower for Player 2 (Blue) at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 1 . Guard Tower for Player 2 (Blue) at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_005 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_006 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_002 <gen>) facing (Random angle) degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_007 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_008 <gen>) facing (Random angle) degrees
Unit - Create 1 . Ballista for Player 2 (Blue) at (Center of Region_009 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_014 <gen>) facing (Random angle) degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_015 <gen>) facing (Random angle) degrees
Wait 2.00 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rRaid at Hillsbrad:- Rescue Zuljin.- Return him to the Circle of Power.
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.