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
O001.w3m
Variables
Variables
Initialization
Melee Initialization
MusicIf
Cage
Quest
Dialog
Crates
Crate1
Crate2
Crate3
Music
Music1
Music2
Music3
Difficulty
Easy
Normal
Hard
The Core
Farms
Barracks
Count the Crates
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
Archer
unit
No
Diff
dialog
No
Easy
button
No
Footman1
unit
No
Footman2
unit
No
Hard
button
No
Normal
button
No
Peon
unit
No
QR1
questitem
No
QR2
questitem
No
Quest
quest
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Sound - Clear the music list
Sound - Stop the currently playing music theme
Sound - Set music volume to 80.00 %
Visibility - Enable fog of war
Visibility - Enable black mask
Unit - Make Peon 0028 <gen> Invulnerable
Unit - Pause Peon 0028 <gen>
Animation - Play Peon 0028 <gen> 's stand work gold 1 animation
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)
Cage
Events
Destructible - Cage 1453 <gen> dies
Conditions
Actions
Unit - Create 1 . Peon for Player 1 (Red) at (Center of Region_007 <gen>) facing (Random angle) degrees
Set Variable Set Peon = (Last created unit)
Unit - Set life of Peon to 30.00 %
Quest
Events
Map initialization
Conditions
Actions
Quest - Create a Required, undiscovered quest titled Zul'dare with the description The Horde is preparing to launch an assault against the mainland of Lordaeron.Orgrim Doomhammer - War Chief of the Orcish Hordes and Ruler of the Blackrock clan - has ordered you to establish a small outpost on Lordaeron's southern shores.To secure the Zul'dare region as Doomhammer demands you will need to construct a Barracks and several Farms to feed your troops. Your success may help us determine the extent of the pathetic Human defenses and what resistance they can offer against our forces. , using icon path ReplaceableTextures\CommandButtons\BTNTownHall.blp
Set Variable Set Quest = (Last created quest)
Quest - Create a quest requirement for Quest with the description Build four Pig Farms.
Set Variable Set QR1 = (Last created quest requirement)
Quest - Create a quest requirement for Quest with the description Build a Barracks.
Set Variable Set QR2 = (Last created quest requirement)
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)
Crate1
Events
Unit - Crates 0019 <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 0020 <gen> Dies
Conditions
Actions
Quest - Display to (All players) the Hint message: You've found |cffffff0050 Lumer|r.
Player - Add 50 to Player 1 (Red) . Current lumber
Crate3
Events
Unit - Crates 0018 <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
Music1
Events
Conditions
Actions
Sound - Play Warcraft_008 <gen>
Wait 213.00 seconds
Trigger - Run Music2 <gen> (checking conditions)
Music2
Events
Conditions
Actions
Sound - Play Warcraft_009 <gen>
Wait 214.00 seconds
Trigger - Run Music3 <gen> (checking conditions)
Music3
Events
Conditions
Actions
Sound - Play Warcraft_010 <gen>
Wait 213.50 seconds
Trigger - Run Music1 <gen> (checking conditions)
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.
Neutral Building - Add 1000 gold to Gold Mine 0000 <gen>
Unit - Create 1 . Pig Farm for Player 1 (Red) at (Center of Region_014 <gen>) facing Default building facing degrees
Player - Set Player 1 (Red) . Current gold to 100
Player - Set Player 1 (Red) . Current lumber to 50
Unit - Create 1 . Peon for Player 1 (Red) at (Center of Region_003 <gen>) facing (Random angle) degrees
Unit - Create 1 . Peon for Player 1 (Red) at (Center of Region_006 <gen>) facing (Random angle) degrees
Unit - Create 1 . Peon for Player 1 (Red) at (Center of Region_004 <gen>) facing (Random angle) degrees
Unit - Remove Footman 0011 <gen> from the game
Wait 2 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rZul'dare:- Build four Pig Farms.- Build a Barracks.
Quest - Mark Quest as Discovered
Wait 5.00 seconds
Quest - Display to (All players) the Hint message: |cff00ffffHint|r: Don’t forget, that you can always find the whole description of the current mission in the |cffffff00Quests|r menu (F9).
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: |cffffff00Normal|r difficulty is on.
Player - Set Player 1 (Red) . Current gold to 50
Player - Set Player 1 (Red) . Current lumber to 25
Neutral Building - Add 200 gold to Gold Mine 0000 <gen>
Wait 2 seconds
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_010 <gen>) facing (Random angle) degrees
Unit - Create 1 . Footman 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_012 <gen>) facing (Random angle) degrees
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rZul'dare:- Build four Pig Farms.- Build a Barracks.
Quest - Mark Quest as Discovered
Wait 5.00 seconds
Quest - Display to (All players) the Hint message: |cff00ffffHint|r: Don’t forget, that you can always find the whole description of the current mission in the |cffffff00Quests|r menu (F9).
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 - Set Player 1 (Red) . Current gold to 50
Player - Set Player 1 (Red) . Current lumber to 25
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_010 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_000 <gen>) facing (Random angle) degrees
Unit - Create 1 . Footman 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_009 <gen>) facing (Random angle) degrees
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_012 <gen>) facing (Random angle) degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_001 <gen>) facing (Random angle) degrees
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_011 <gen>) facing (Random angle) degrees
Set Variable Set Footman1 = (Last created unit)
Unit - Create 1 . Footman for Player 2 (Blue) at (Center of Region_013 <gen>) facing (Random angle) degrees
Set Variable Set Footman2 = (Last created unit)
Unit - Create 1 . Elven Archer for Player 2 (Blue) at (Center of Region_002 <gen>) facing (Random angle) degrees
Set Variable Set Archer = (Last created unit)
Unit - Order Footman1 to Attack-Move To . (Position of Great Hall 0002 <gen>)
Wait 2 seconds
Quest - Display to (All players) the Quest Discovered message: |cffffff00MAIN QUEST|rZul'dare:- Build four Pig Farms.- Build a Barracks.
Quest - Mark Quest as Discovered
Wait 5.00 seconds
Quest - Display to (All players) the Hint message: |cff00ffffHint|r: Don’t forget, that you can always find the whole description of the current mission in the |cffffff00Quests|r menu (F9).
Wait 43.00 seconds
Unit - Order Footman2 to Attack-Move To . (Position of Great Hall 0002 <gen>)
Wait 50.00 seconds
Unit - Order Archer to Attack-Move To . (Position of Great Hall 0002 <gen>)
Farms
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) Food cap) Greater than or equal to 17
Then - Actions
Trigger - Turn off (This trigger)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(QR1 is completed) Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(QR2 is completed) Equal to False
Then - Actions
Quest - Display to (All players) the Quest Update message: |cffffff00MAIN QUEST UPDATE|rZul'dare:|cff808080-|r |cff808080Build four Pig Farms.|r - Build a Barracks.
Quest - Mark QR1 as Completed
Trigger - Turn off (This trigger)
Else - Actions
Trigger - Turn off (This trigger)
Quest - Display to (All players) the Quest Completed message: |cffffff00MAIN QUEST COMPLETED:|rZul'dare.
Quest - Mark QR1 as Completed
Quest - Mark Quest as Completed
Wait 4.00 seconds
Trigger - Run Count_the_Crates <gen> (checking conditions)
Else - Actions
Else - Actions
Barracks
Events
Unit - A unit Finishes construction
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Constructed structure)) Equal to Barracks
Then - Actions
Trigger - Turn off (This trigger)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(QR2 is completed) Equal to False
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(QR1 is completed) Equal to False
Then - Actions
Quest - Display to (All players) the Quest Update message: |cffffff00MAIN QUEST UPDATE|rZul'dare:- Build four Pig Farms.|cff808080- Build a Barracks|r|cff808080.|r
Quest - Mark QR2 as Completed
Trigger - Turn off (This trigger)
Else - Actions
Trigger - Turn off (This trigger)
Quest - Display to (All players) the Quest Completed message: |cffffff00MAIN QUEST COMPLETED:|rZul'dare.
Quest - Mark QR2 as Completed
Quest - Mark Quest as Completed
Wait 4.00 seconds
Trigger - Run Count_the_Crates <gen> (checking conditions)
Else - Actions
Else - Actions
Count the Crates
Events
Conditions
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 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)
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.