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
H002_alt.w3m
Variables
Initialization
Melee Initialization
Easy Start
Normal Start
Hard Start
Crate1
Crate2
Crate3
Ork dies
Rocks
Elves
MusicIf
Music1
Music2
Music3
Enter
Victory
Quest
Defeat
Dialog
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
Crates
integer
No
Diff
dialog
No
Easy
button
No
Group1
group
No
Grunt
unit
No
Hard
button
No
Normal
button
No
QR
questitem
Yes
Quest
quest
Yes
Troll
unit
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Custom script: call DoNotSaveReplay()
Set Variable Set Crates = "0"
Trigger - Turn off Elves <gen>
Sound - Clear the music list
Sound - Stop the currently playing music theme
Set Variable Set Group1 = (Units in Region_002 <gen>)
Player - Set Player 2 (Blue) . Current gold to 100
Player - Set Player 1 (Red) . Current gold to 100
Player - Set Player 2 (Blue) . Current lumber to 75
Player - Set Player 1 (Red) . Current lumber to 75
Sound - Set Music to 60.00 %
Visibility - Enable fog of war
Melee Game - Use melee time of day (for all players)
Player - For Player 1 (Red) , turn Alliance (non-aggression) On toward Player 22 (Snow)
Player - For Player 22 (Snow) , turn Alliance (non-aggression) On toward Player 1 (Red)
Trigger - Run Music1 <gen> (checking conditions)
Wait 0.10 seconds
Trigger - Run Dialog <gen> (checking conditions)
Easy Start
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Easy
Actions
Dialog - Hide Diff for Player 2 (Blue)
Unit - Create 1 . Peasant for Player 2 (Blue) at (Center of Region_009 <gen>) facing (Random angle) degrees
Unit - Create 1 . Peasant for Player 2 (Blue) at (Center of Region_010 <gen>) facing (Random angle) degrees
Player - Add 50 to Player 2 (Blue) . Current gold
Player - Add 50 to Player 2 (Blue) . Current lumber
Unit - Remove Grunt 0020 <gen> from the game
Unit - Remove Forest Troll Trapper 0043 <gen> from the game
Unit - Remove Grunt 0018 <gen> from the game
Unit - Remove Orc Frigate 0030 <gen> from the game
Unit - Remove Grunt 0022 <gen> from the game
Quest - Display to (All players) the Hint message: |cff00ff00Easy|r difficulty is on.
Wait 2 seconds
Quest - Mark Quest[1] as Discovered
Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN OBJECTIVE|rCaptured Elves:- Rescue the captured Elven archers and return them to the Circle of Power.
Normal Start
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Normal
Actions
Dialog - Hide Diff for Player 2 (Blue)
Quest - Display to (All players) the Hint message: |cffffff00Normal|r difficulty is on.
Wait 2 seconds
Quest - Mark Quest[1] as Discovered
Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN OBJECTIVE|rCaptured Elves:- Rescue the captured Elven archers and return them to the Circle of Power.
Hard Start
Events
Dialog - A dialog button is clicked for Diff
Conditions
(Clicked dialog button) Equal to Hard
Actions
Dialog - Hide Diff for Player 2 (Blue)
Unit - Create 1 . Grunt for Player 1 (Red) at (Center of Region_007 <gen>) facing (Random angle) degrees
Set Variable Set Grunt = (Last created unit)
Unit - Create 1 . Forest Troll Trapper for Player 1 (Red) at (Center of Region_008 <gen>) facing (Random angle) degrees
Set Variable Set Troll = (Last created unit)
Unit - Create 1 . Ogre Warrior for Player 1 (Red) at (Center of Region_006 <gen>) facing (Random angle) degrees
Unit - Create 1 . Ogre Warrior for Player 1 (Red) at (Center of Region_005 <gen>) facing (Random angle) degrees
Unit - Create 1 . Demolisher for Player 1 (Red) at (Center of Region_003 <gen>) facing (Random angle) degrees
Unit - Create 1 . Demolisher for Player 1 (Red) at (Center of Region_004 <gen>) facing (Random angle) degrees
Quest - Display to (All players) the Hint message: |cffff0000Hard|r difficulty is on.
Wait 2 seconds
Quest - Mark Quest[1] as Discovered
Quest - Display to (All players) the Quest Discovered message: |cffffcc00MAIN OBJECTIVE|rCaptured Elves:- Rescue the captured Elven archers and return them to the Circle of Power.
Crate1
Events
Unit - High Elven Farm 0025 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Simple Hint message: You've found |cffffff0050 Gold|r
Player - Add 50 to Player 2 (Blue) . Current gold
Crate2
Events
Unit - High Elven Farm 0027 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Simple Hint message: You've found |cffffff0050 Lumber|r
Player - Add 50 to Player 2 (Blue) . Current lumber
Crate3
Events
Unit - High Elven Farm 0046 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Simple Hint message: You've found |cffffff0050 Gold|r
Player - Add 50 to Player 2 (Blue) . Current gold
Ork dies
Events
Unit - Grunt 0026 <gen> Dies
Conditions
Actions
Unit - Order Grunt 0018 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Grunt 0020 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Forest Troll Trapper 0021 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Forest Troll Trapper 0023 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Grunt 0022 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Grunt 0033 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Forest Troll Trapper 0043 <gen> to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Troll to Attack-Move To . (Center of Region_000 <gen>)
Unit - Order Grunt to Attack-Move To . (Center of Region_000 <gen>)
Rocks
Events
Destructible - Rock Chunks 0470 <gen> dies
Destructible - Rock Chunks 0471 <gen> dies
Destructible - Rock Chunks 0472 <gen> dies
Destructible - Rock Chunks 0473 <gen> dies
Conditions
Actions
Trigger - Turn on Elves <gen>
Trigger - Turn off (This trigger)
Destructible - Kill Rock Chunks 0470 <gen>
Destructible - Kill Rock Chunks 0471 <gen>
Destructible - Kill Rock Chunks 0472 <gen>
Destructible - Kill Rock Chunks 0473 <gen>
Elves
Events
Destructible - Rock Chunks 0470 <gen> dies
Conditions
Actions
Trigger - Turn off (This trigger)
Unit - Change ownership of Archer 0037 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Archer 0038 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Archer 0039 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Archer 0036 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Archer 0035 <gen> to Player 2 (Blue) and Retain color
Unit - Change ownership of Archer 0034 <gen> to Player 2 (Blue) and Retain color
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 - Stop the currently playing music theme
Sound - Play Warcraft_001 <gen>
Wait (Length of Warcraft_001 <gen>) seconds
Trigger - Run Music2 <gen> (checking conditions)
Music2
Events
Conditions
Actions
Sound - Play Warcraft_002 <gen>
Wait (Length of Warcraft_002 <gen>) seconds
Sound - Clear the music list
Sound - Stop the currently playing music theme
Trigger - Run Music3 <gen> (checking conditions)
Music3
Events
Conditions
Actions
Sound - Play Warcraft_003 <gen>
Wait (Length of Warcraft_003 <gen>) seconds
Sound - Clear the music list
Sound - Stop the currently playing music theme
Trigger - Run Music1 <gen> (checking conditions)
Enter
Events
Unit - A unit enters Region_001 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Entering unit) Equal to Archer 0037 <gen>
(Entering unit) Equal to Archer 0038 <gen>
(Entering unit) Equal to Archer 0035 <gen>
(Entering unit) Equal to Archer 0034 <gen>
(Entering unit) Equal to Archer 0039 <gen>
(Entering unit) Equal to Archer 0036 <gen>
Actions
Trigger - Run Victory <gen> (checking conditions)
Trigger - Turn off (This trigger)
Victory
Events
Conditions
Actions
Quest - Mark Quest[1] as Completed
Quest - Mark QR[1] as Completed
Quest - Display to (All players) the Quest Completed message: |cffffcc00MAIN OBJECTIVE COMPLETED:|rCaptured Elves.
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 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 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 |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 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 |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 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 2 (Blue) ( Show dialogs, Show scores)
Quest
Events
Map initialization
Conditions
Actions
Quest - Create a Required, undiscovered quest titled Captured Elves with the description The mysterious Elves of Silvermoon have sent a contingent of Archers south to survey the supposed Orcish threat for themselves. Our spies report that shortly after passing through the Alterac grasslands the Elves were ambushed by Horde troops. It is believed that these Elves are now being held in a small prison camp near the northwest region of Tarren Mill. Lord Terenas, fervently hoping to enlist the Elves into the Alliance, has asked that you search for the missing warriors and deliver them to safety. The Elves have sent a cadre of Archers to assist in your quest. You will also be provided with plans to construct an Elven Lumber Mill and the sylvan craftsman to operate it. , using icon path ReplaceableTextures\CommandButtons\BTNalelar.tga
Set Variable Set Quest[1] = (Last created quest)
Quest - Create a quest requirement for Quest[1] with the description Rescue the captured Elven archers and return them to the Circle of Power.
Set Variable Set QR[1] = (Last created quest requirement)
Defeat
Events
Unit - A unit Dies
Conditions
And - All (Conditions) are true
Conditions
(Archer 0037 <gen> is dead) Equal to True
(Archer 0038 <gen> is dead) Equal to True
(Archer 0039 <gen> is dead) Equal to True
(Archer 0036 <gen> is dead) Equal to True
(Archer 0035 <gen> is dead) Equal to True
(Archer 0034 <gen> is dead) Equal to True
Actions
Quest - Display to (All players) the Quest Failed message: |cffffcc00MAIN OBJECTIVE FAILED:|rCaptured Elves.
Quest - Mark Quest[1] as Failed
Wait 4.00 seconds
Game - Defeat Player 2 (Blue) with the message: You are defeated!
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)
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.