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
!!Impossible!!.w3x
Variables
Initialization
Melee Initialization
Level 1
L evel Check
Level 2
Move to level 2
Level 2 spawn check
Level 2 spawn
Level 2 defeat
Level 2 Check
Level 3
Move to level 3
Enemy Spawn
Enemy Spawn Copy
Enemy Spawn Copy 2
Level 3 Spawn
level 3 defeat
level 3 win
Level 4
Move to level 2 Copy
Level 4 check
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.
Name
Type
is_array
initial_value
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Hero - Make Player 1 (Red) Heroes gain 25.00 % experience from future kills
Hero - Make Player 2 (Blue) Heroes gain 25.00 % experience from future kills
Hero - Make Player 3 (Teal) Heroes gain 25.00 % experience from future kills
Hero - Make Player 4 (Purple) Heroes gain 25.00 % experience from future kills
Hero - Make Player 5 (Yellow) Heroes gain 25.00 % experience from future kills
Hero - Make Player 7 (Green) Heroes gain 25.00 % experience from future kills
Hero - Make Player 8 (Pink) Heroes gain 25.00 % experience from future kills
Game - Display to (All players) for 30 seconds the text: This mission will be an easy one. You must destory all bandits and thier camp with only the army you have.
L evel Check
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
If ((Number of units in (Units in Bandits <gen> owned by Player 10 (Light Blue))) Equal to 0) then do (Run Move_to_level_2 <gen> (ignoring conditions)) else do (Do nothing)
If ((Number of units in (Units in Bandits <gen> owned by Player 10 (Light Blue))) Equal to 0) then do (Turn off (This trigger)) else do (Do nothing)
Move to level 2
Events
Conditions
Actions
Hero - Instantly revive Paladin 0045 <gen> at (Center of Level_2_Red <gen>) , Hide revival graphics
Hero - Instantly revive Blademaster 0191 <gen> at (Center of level_2_blue <gen>) , Hide revival graphics
Hero - Instantly revive Lich 0192 <gen> at (Center of level_2_3 <gen>) , Hide revival graphics
Hero - Instantly revive Keeper of the Grove 0193 <gen> at (Center of level_2_4 <gen>) , Hide revival graphics
Hero - Instantly revive Mountain King 0194 <gen> at (Center of level_2_5 <gen>) , Hide revival graphics
Hero - Instantly revive Shadow Hunter 0195 <gen> at (Center of level_2_7 <gen>) , Hide revival graphics
Hero - Instantly revive Death Knight 0196 <gen> at (Center of level_2_8 <gen>) , Hide revival graphics
Unit - Move Paladin 0045 <gen> instantly to (Center of Level_2_Red <gen>)
Unit - Move Blademaster 0191 <gen> instantly to (Center of level_2_blue <gen>)
Unit - Move Lich 0192 <gen> instantly to (Center of level_2_3 <gen>)
Unit - Move Keeper of the Grove 0193 <gen> instantly to (Center of level_2_4 <gen>)
Unit - Move Mountain King 0194 <gen> instantly to (Center of level_2_5 <gen>)
Unit - Move Shadow Hunter 0195 <gen> instantly to (Center of level_2_7 <gen>)
Unit - Move Death Knight 0196 <gen> instantly to (Center of level_2_8 <gen>)
Game - Display to (All players) for 30 seconds the text: Now this level will hopefully be a little harder. A group of troops own by some of the regional lords has invade one our town. I want you to kill all enemy troops in the town and then hold the town off if more come.
Level 2 spawn check
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
If ((Number of units in (Units in Bandits <gen> owned by Player 10 (Light Blue))) Equal to 0) then do (Run Move_to_level_2 <gen> (ignoring conditions)) else do (Do nothing)
Level 2 spawn
Events
Conditions
Actions
Unit - Create 10 Footman for Player 1 (Red) at (Center of level_2_spawn <gen>) facing (Position of Town Hall 0066 <gen>)
Unit - Create 5 Rifleman for Player 1 (Red) at (Center of level_2_spawn <gen>) facing (Position of Town Hall 0066 <gen>)
Unit - Create 3 Knight for Player 1 (Red) at (Center of level_2_spawn <gen>) facing (Position of Town Hall 0066 <gen>)
Unit - Create 3 Priest for Player 1 (Red) at (Center of level_2_spawn <gen>) facing (Position of Town Hall 0066 <gen>)
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Order (Picked unit) to Attack-Move To.(Center of level_2_attack <gen>))
Level 2 defeat
Events
Unit - Town Hall 0066 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All players) and do (Defeat (Picked player) with the message: You Let the town hall die!)
Level 2 Check
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
If ((Number of units in (Units in Level_2_unit_check <gen> owned by Player 10 (Light Blue))) Equal to 0) then do (Run Move_to_level_3 <gen> (checking conditions)) else do (Do nothing)
If ((Number of units in (Units in Level_2_unit_check <gen> owned by Player 10 (Light Blue))) Equal to 0) then do (Turn off (This trigger)) else do (Do nothing)
Move to level 3
Events
Conditions
Actions
Hero - Instantly revive Paladin 0045 <gen> at (Center of level_3_1 <gen>) , Hide revival graphics
Hero - Instantly revive Blademaster 0191 <gen> at (Center of level_3_2 <gen>) , Hide revival graphics
Hero - Instantly revive Lich 0192 <gen> at (Center of level_3_3 <gen>) , Hide revival graphics
Hero - Instantly revive Keeper of the Grove 0193 <gen> at (Center of level_3_4 <gen>) , Hide revival graphics
Hero - Instantly revive Mountain King 0194 <gen> at (Center of level_3_5 <gen>) , Hide revival graphics
Hero - Instantly revive Shadow Hunter 0195 <gen> at (Center of level_3_6 <gen>) , Hide revival graphics
Hero - Instantly revive Death Knight 0196 <gen> at (Center of level_3_7 <gen>) , Hide revival graphics
Unit - Move Paladin 0045 <gen> instantly to (Center of level_3_1 <gen>)
Unit - Move Blademaster 0191 <gen> instantly to (Center of level_3_2 <gen>)
Unit - Move Lich 0192 <gen> instantly to (Center of level_3_3 <gen>)
Unit - Move Keeper of the Grove 0193 <gen> instantly to (Center of level_3_4 <gen>)
Unit - Move Mountain King 0194 <gen> instantly to (Center of level_3_5 <gen>)
Unit - Move Shadow Hunter 0195 <gen> instantly to (Center of level_3_6 <gen>)
Unit - Move Death Knight 0196 <gen> instantly to (Center of level_3_7 <gen>)
Game - Display to (All players) for 30 seconds the text: Welcome back commanders though the events of today have sadden my heart. Undead have came from out of thier hole an attacked us. Most cities lie in ruins now but the city your were to protect is still alive but not for long. I want you do to help the town and destory the undead seiging before the town is destoryed.
Trigger - Turn on Enemy_Spawn <gen>
Trigger - Turn on Enemy_Spawn_Copy <gen>
Trigger - Turn on Enemy_Spawn_Copy_2 <gen>
Trigger - Turn on Level_2_defeat <gen>
Trigger - Run level_3_win <gen> (ignoring conditions)
Enemy Spawn
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Unit - Create 3 . Skeleton Warrior for Player 10 (Light Blue) at (Center of LEvel_3_spawn_1 <gen>) facing Default building facing degrees
Unit - Create 1 . Skeletal Mage for Player 10 (Light Blue) at (Center of LEvel_3_spawn_1 <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in LEvel_3_spawn_1 <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of Level_3_attack <gen>))
Enemy Spawn Copy
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Unit - Create 5 . Skeleton Warrior for Player 10 (Light Blue) at (Center of Level_3_spawn_2 <gen>) facing Default building facing degrees
Unit - Create 2 . Skeletal Mage for Player 10 (Light Blue) at (Center of Level_3_spawn_2 <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in Level_3_spawn_2 <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of Level_3_attack <gen>))
Enemy Spawn Copy 2
Events
Time - Every 20.00 seconds of game time
Conditions
Actions
Unit - Create 3 . Skeleton Warrior for Player 10 (Light Blue) at (Center of level_3_spawn_3 <gen>) facing Default building facing degrees
Unit - Create 1 . Skeleton Warrior for Player 10 (Light Blue) at (Center of level_3_spawn_3 <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in level_3_spawn_3 <gen>) and do (Order (Picked unit) to Attack-Move To.(Center of Level_3_attack <gen>))
Level 3 Spawn
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
If ((Graveyard 0234 <gen> is dead) Equal to True) then do (Turn off Enemy_Spawn <gen>) else do (Do nothing)
If ((Graveyard 0238 <gen> is dead) Equal to True) then do (Turn off Enemy_Spawn_Copy <gen>) else do (Do nothing)
If ((Graveyard 0239 <gen> is dead) Equal to True) then do (Turn off Enemy_Spawn_Copy_2 <gen>) else do (Do nothing)
level 3 defeat
Events
Unit - Town Hall 0199 <gen> Dies
Conditions
Actions
Player Group - Pick every player in (All players) and do (Defeat (Picked player) with the message: You let the town die!)
level 3 win
Events
Map initialization
Conditions
(Number of units in (Units in Level_3_check <gen> owned by Player 10 (Light Blue))) Equal to 0
Actions
Move to level 2 Copy
Events
Conditions
Actions
Hero - Instantly revive Paladin 0045 <gen> at (Center of level_4_1 <gen>) , Hide revival graphics
Hero - Instantly revive Blademaster 0191 <gen> at (Center of level_4_2 <gen>) , Hide revival graphics
Hero - Instantly revive Lich 0192 <gen> at (Center of level_4_3 <gen>) , Hide revival graphics
Hero - Instantly revive Keeper of the Grove 0193 <gen> at (Center of level_44 <gen>) , Hide revival graphics
Hero - Instantly revive Mountain King 0194 <gen> at (Center of level_4_5 <gen>) , Hide revival graphics
Hero - Instantly revive Shadow Hunter 0195 <gen> at (Center of level_4_6 <gen>) , Hide revival graphics
Hero - Instantly revive Death Knight 0196 <gen> at (Center of lvel_4_7 <gen>) , Hide revival graphics
Unit - Move Paladin 0045 <gen> instantly to (Center of level_4_1 <gen>)
Unit - Move Blademaster 0191 <gen> instantly to (Center of level_4_2 <gen>)
Unit - Move Lich 0192 <gen> instantly to (Center of level_4_3 <gen>)
Unit - Move Keeper of the Grove 0193 <gen> instantly to (Center of level_44 <gen>)
Unit - Move Mountain King 0194 <gen> instantly to (Center of level_4_5 <gen>)
Unit - Move Shadow Hunter 0195 <gen> instantly to (Center of level_4_6 <gen>)
Unit - Move Death Knight 0196 <gen> instantly to (Center of lvel_4_7 <gen>)
Trigger - Run Level_4_check <gen> (checking conditions)
Game - Display to (All players) for 30 seconds the text: Damn those undead. They managed to break through our defences at the great northern wall and now they are building bases to prepair for a seige on fort Ranick. I want you to stop the undead in thier tracks and leave no survivors send the undead all the way back to the wall
Level 4 check
Events
Conditions
Actions
Wait until ((Number of units in (Units in level_4_check <gen> owned by Player 10 (Light Blue))) Equal to 0) , checking every 10.00 seconds
Player Group - Pick every player in (All players) and do (Victory (Picked player) (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.