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
The Snowy Escape.w3x
Variables
Initialization
Melee Initialization
Slide
Turn
Terrain Kill
Maze
Level 1
Go to lvl 2
Turn on Slide
Turn off Slide
Level 2
Open Gate 1
Open Gate 2
Open Gate 3
Go to lvl 3
Level 3
Open Gate 4
Open Gate 5
Open Gate 6
Go to lvl 4
Level 4
Go to lvl 5
Level 5
Go to lvl 6
Level 6
Go to Win
Win Game
Lives
Lives
Lose Life
Lose Life Copy
Lose Life Copy 2
Lose Life Copy 3
Lose Life Copy 4
Lose Life Copy 5
Music
Start music
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
Heroes
group
No
Lives
integer
No
10
Players
force
No
Point
location
No
Position
location
No
SlidePlayers
force
No
SlideUnits
group
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Create an initially Enabled visibility modifier for (Picked player) emitting Visibility across (Playable map area))
Game - Turn the day/night cycle Off
Game - Set the time of day to 12.00
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Set Variable Set Players = (All players matching (((Matching player) slot status) Equal to Is playing).)
Player Group - Pick every player in Players and do (Actions)
Loop - Actions
Unit - Create 1 . Mazer for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Unit Group - Add (Last created unit) to Heroes
Slide
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Actions)
Loop - Actions
Set Variable Set Position = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at Position) Equal to Icecrown Glacier - Dark Ice
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set Variable Set Position = (Position of (Picked unit))
Set Variable Set Point = (Position offset by 6.00 towards (Facing of (Picked unit)) degrees.)
Unit - Move (Picked unit) instantly to Point
Else - Actions
Unit Group - Remove (Picked unit) from SlideUnits .
Unit Group - Pick every unit in Heroes and do (Actions)
Loop - Actions
Set Variable Set Position = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at Position) Equal to Icecrown Glacier - Ice
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set Variable Set Position = (Position of (Picked unit))
Set Variable Set Point = (Position offset by 3.00 towards (Facing of (Picked unit)) degrees.)
Unit - Move (Picked unit) instantly to Point
Else - Actions
Unit Group - Remove (Picked unit) from SlideUnits .
Unit Group - Pick every unit in Heroes and do (Actions)
Loop - Actions
Set Variable Set Position = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at Position) Equal to Northrend - Ice
Then - Actions
Unit Group - Add (Picked unit) to SlideUnits
Set Variable Set Position = (Position of (Picked unit))
Set Variable Set Point = (Position offset by 5.00 towards (Facing of (Picked unit)) degrees.)
Unit - Move (Picked unit) instantly to Point
Else - Actions
Unit Group - Remove (Picked unit) from SlideUnits .
Turn
Events
Unit - A unit Is issued an order targeting a point
Conditions
Actions
Set Variable Set Position = (Position of (Triggering unit))
Unit - Move (Triggering unit) instantly to Position , facing (Target point of issued order)
Terrain Kill
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Actions)
Loop - Actions
Set Variable Set Position = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at Position) Equal to Icecrown Glacier - Snow
Then - Actions
Unit - Kill (Picked unit)
Else - Actions
Do nothing
Go to lvl 2
Events
Unit - A unit enters lvl_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Mazer
Actions
Unit Group - Pick every unit in Heroes and do (Kill (Picked unit))
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_2 <gen>), Show revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_2 <gen>) over 0 seconds)
Game - Display to (All players) the text: Welcome to level 2
Trigger - Turn off Lose_Life <gen>
Trigger - Turn on Lose_Life_Copy <gen>
Trigger - Turn off (This trigger)
Turn on Slide
Events
Unit - A unit enters on <gen>
Unit - A unit enters on2 <gen>
Unit - A unit enters on3 <gen>
Unit - A unit enters on4 <gen>
Unit - A unit enters on5 <gen>
Unit - A unit enters on6 <gen>
Unit - A unit enters on7 <gen>
Unit - A unit enters on8 <gen>
Unit - A unit enters on9 <gen>
Unit - A unit enters on10 <gen>
Unit - A unit enters on11 <gen>
Unit - A unit enters on12 <gen>
Unit - A unit enters on13 <gen>
Unit - A unit enters on14 <gen>
Unit - A unit enters on15 <gen>
Unit - A unit enters on16 <gen>
Unit - A unit enters on17 <gen>
Unit - A unit enters on18 <gen>
Conditions
Actions
Trigger - Turn on Slide <gen>
Turn off Slide
Events
Unit - A unit enters Region_017 <gen>
Unit - A unit enters Region_020 <gen>
Unit - A unit enters Region_021 <gen>
Unit - A unit enters Region_023 <gen>
Unit - A unit enters Region_025 <gen>
Unit - A unit enters Region_027 <gen>
Unit - A unit enters Region_029 <gen>
Unit - A unit enters Region_032 <gen>
Unit - A unit enters Region_034 <gen>
Unit - A unit enters Region_036 <gen>
Unit - A unit enters Region_037 <gen>
Unit - A unit enters Region_040 <gen>
Unit - A unit enters Region_042 <gen>
Unit - A unit enters Region_044 <gen>
Unit - A unit enters Region_046 <gen>
Unit - A unit enters Region_047 <gen>
Unit - A unit enters Region_048 <gen>
Unit - A unit enters Region_049 <gen>
Conditions
Actions
Trigger - Turn off Slide <gen>
Open Gate 1
Events
Unit - A unit enters Open_gate_1 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Mazer
Actions
Destructible - Destroy Icy Gate 0000 <gen>
Open Gate 2
Events
Unit - A unit enters Open_gate_2 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Mazer
Actions
Destructible - Destroy Icy Gate 0001 <gen>
Open Gate 3
Events
Unit - A unit enters Open_gate_3 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Mazer
Actions
Destructible - Destroy Icy Gate 0002 <gen>
Go to lvl 3
Events
Unit - A unit enters lvl_3 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Mazer
Actions
Unit Group - Pick every unit in Heroes and do (Kill (Picked unit))
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_3 <gen>), Show revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_3 <gen>) over 0 seconds)
Game - Display to (All players) the text: Welcome to level 3
Trigger - Turn off Lose_Life_Copy <gen>
Trigger - Turn on Lose_Life_Copy_2 <gen>
Trigger - Turn off (This trigger)
Open Gate 4
Events
Unit - A unit enters Open_gate_4 <gen>
Conditions
Actions
Destructible - Destroy Icy Gate 0025 <gen>
Open Gate 5
Events
Unit - A unit enters Open_gate_5 <gen>
Conditions
Actions
Destructible - Destroy Icy Gate 0026 <gen>
Open Gate 6
Events
Unit - A unit enters Open_gate_6 <gen>
Conditions
Actions
Destructible - Destroy Icy Gate 0027 <gen>
Go to lvl 4
Events
Unit - A unit enters lvl_4 <gen>
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Kill (Picked unit))
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_4 <gen>), Show revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_4 <gen>) over 0 seconds)
Game - Display to (All players) the text: Welcome to level 4
Trigger - Turn off Lose_Life_Copy_2 <gen>
Trigger - Turn on Lose_Life_Copy_3 <gen>
Trigger - Turn off (This trigger)
Go to lvl 5
Events
Unit - A unit enters lvl_5 <gen>
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Kill (Picked unit))
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_5 <gen>), Show revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_5 <gen>) over 0 seconds)
Set Variable Set Lives = (Lives + 1)
Game - Display to (All players) the text: Welcome to level 5 You have gained an extra life for getting this far!! But you can't tunr on the ice this level.
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Trigger - Turn off Turn <gen>
Trigger - Turn off Lose_Life_Copy_3 <gen>
Trigger - Turn on Lose_Life_Copy_4 <gen>
Trigger - Turn off (This trigger)
Go to lvl 6
Events
Unit - A unit enters lvl_6 <gen>
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Kill (Picked unit))
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_6 <gen>), Show revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_6 <gen>) over 0 seconds)
Game - Display to (All players) the text: Welcome to level 6 you can turn on ice again!!!
Trigger - Turn off Lose_Life_Copy_4 <gen>
Trigger - Turn on Lose_Life_Copy_5 <gen>
Trigger - Turn on Turn <gen>
Trigger - Turn off (This trigger)
Go to Win
Events
Unit - A unit enters Enter_Win <gen>
Conditions
Actions
Unit Group - Pick every unit in Heroes and do (Kill (Picked unit))
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of Win <gen>), Show revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of Win <gen>) over 0 seconds)
Win Game
Events
Unit - A unit enters Win <gen>
Conditions
Actions
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from Firelord 0324 <gen> named Fire Lord Father: : Play No sound and display Well you made it through i guess i can take you back come on. . Modify duration: Add 10.00 seconds and Wait
Cinematic - Send transmission to (All players) from (Random unit from Heroes) named Young FireLord : Play No sound and display Ok we promise not to annouy you any more we hate it out here . Modify duration: Add 10.00 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Player Group - Pick every player in (All allies of Player 1 (Red).) and do (Victory (Picked player) (Show dialogs, Show scores))
Lives
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Continues
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Continues Left and value Lives
Leaderboard - Show (Last created leaderboard)
Lose Life
Events
Unit - A unit Dies
Conditions
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Mazer units owned by Player 1 (Red)) Equal to 0
(Number of living Mazer units owned by Player 2 (Blue)) Equal to 0
(Number of living Mazer units owned by Player 3 (Teal)) Equal to 0
(Number of living Mazer units owned by Player 4 (Purple)) Equal to 0
(Number of living Mazer units owned by Player 5 (Yellow)) Equal to 0
(Number of living Mazer units owned by Player 6 (Orange)) Equal to 0
(Number of living Mazer units owned by Player 7 (Green)) Equal to 0
(Number of living Mazer units owned by Player 8 (Pink)) Equal to 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of Start <gen>), Hide revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of Start <gen>) over 0 seconds)
Else - Actions
Do nothing
If (Lives Equal to 0) then do (Pick every player in Players and do (Defeat (Picked player) with the message: You Couldn't Escape Too Bad)) else do (Do nothing)
Lose Life Copy
Events
Unit - A unit Dies
Conditions
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Mazer units owned by Player 1 (Red)) Equal to 0
(Number of living Mazer units owned by Player 2 (Blue)) Equal to 0
(Number of living Mazer units owned by Player 3 (Teal)) Equal to 0
(Number of living Mazer units owned by Player 4 (Purple)) Equal to 0
(Number of living Mazer units owned by Player 5 (Yellow)) Equal to 0
(Number of living Mazer units owned by Player 6 (Orange)) Equal to 0
(Number of living Mazer units owned by Player 7 (Green)) Equal to 0
(Number of living Mazer units owned by Player 8 (Pink)) Equal to 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_2 <gen>), Hide revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_2 <gen>) over 0 seconds)
Else - Actions
Do nothing
If (Lives Equal to 0) then do (Pick every player in Players and do (Defeat (Picked player) with the message: You Couldn't Escape Too Bad)) else do (Do nothing)
Lose Life Copy 2
Events
Unit - A unit Dies
Conditions
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Mazer units owned by Player 1 (Red)) Equal to 0
(Number of living Mazer units owned by Player 2 (Blue)) Equal to 0
(Number of living Mazer units owned by Player 3 (Teal)) Equal to 0
(Number of living Mazer units owned by Player 4 (Purple)) Equal to 0
(Number of living Mazer units owned by Player 5 (Yellow)) Equal to 0
(Number of living Mazer units owned by Player 6 (Orange)) Equal to 0
(Number of living Mazer units owned by Player 7 (Green)) Equal to 0
(Number of living Mazer units owned by Player 8 (Pink)) Equal to 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_3 <gen>), Hide revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_3 <gen>) over 0 seconds)
Else - Actions
Do nothing
If (Lives Equal to 0) then do (Pick every player in Players and do (Defeat (Picked player) with the message: You Couldn't Escape Too Bad)) else do (Do nothing)
Lose Life Copy 3
Events
Unit - A unit Dies
Conditions
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Mazer units owned by Player 1 (Red)) Equal to 0
(Number of living Mazer units owned by Player 2 (Blue)) Equal to 0
(Number of living Mazer units owned by Player 3 (Teal)) Equal to 0
(Number of living Mazer units owned by Player 4 (Purple)) Equal to 0
(Number of living Mazer units owned by Player 5 (Yellow)) Equal to 0
(Number of living Mazer units owned by Player 6 (Orange)) Equal to 0
(Number of living Mazer units owned by Player 7 (Green)) Equal to 0
(Number of living Mazer units owned by Player 8 (Pink)) Equal to 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_4 <gen>), Hide revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_4 <gen>) over 0 seconds)
Else - Actions
Do nothing
If (Lives Equal to 0) then do (Pick every player in Players and do (Defeat (Picked player) with the message: You Couldn't Escape Too Bad)) else do (Do nothing)
Lose Life Copy 4
Events
Unit - A unit Dies
Conditions
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Mazer units owned by Player 1 (Red)) Equal to 0
(Number of living Mazer units owned by Player 2 (Blue)) Equal to 0
(Number of living Mazer units owned by Player 3 (Teal)) Equal to 0
(Number of living Mazer units owned by Player 4 (Purple)) Equal to 0
(Number of living Mazer units owned by Player 5 (Yellow)) Equal to 0
(Number of living Mazer units owned by Player 6 (Orange)) Equal to 0
(Number of living Mazer units owned by Player 7 (Green)) Equal to 0
(Number of living Mazer units owned by Player 8 (Pink)) Equal to 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_5 <gen>), Hide revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_5 <gen>) over 0 seconds)
Else - Actions
Do nothing
If (Lives Equal to 0) then do (Pick every player in Players and do (Defeat (Picked player) with the message: You Couldn't Escape Too Bad)) else do (Do nothing)
Lose Life Copy 5
Events
Unit - A unit Dies
Conditions
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of living Mazer units owned by Player 1 (Red)) Equal to 0
(Number of living Mazer units owned by Player 2 (Blue)) Equal to 0
(Number of living Mazer units owned by Player 3 (Teal)) Equal to 0
(Number of living Mazer units owned by Player 4 (Purple)) Equal to 0
(Number of living Mazer units owned by Player 5 (Yellow)) Equal to 0
(Number of living Mazer units owned by Player 6 (Orange)) Equal to 0
(Number of living Mazer units owned by Player 7 (Green)) Equal to 0
(Number of living Mazer units owned by Player 8 (Pink)) Equal to 0
Then - Actions
Set Variable Set Lives = (Lives - 1)
Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to Lives
Unit Group - Pick every unit in Heroes and do (Instantly revive (Picked unit) at (Center of lvl_6 <gen>), Hide revival graphics)
Player Group - Pick every player in (All players) and do (Pan camera for (Picked player) to (Center of lvl_6 <gen>) over 0 seconds)
Else - Actions
Do nothing
If (Lives Equal to 0) then do (Pick every player in Players and do (Defeat (Picked player) with the message: You Couldn't Escape Too Bad)) else do (Do nothing)
Start music
Events
Map initialization
Conditions
Actions
Sound - Set music volume to 0.00 %
Sound - Play hockey__nj_devils_opening_music__1_u <gen>
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.