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
Chillwind.w3x
Variables
Initialization
Initialisation
Bots
Remove Bot bait
MajorTerrain
MajorTerrain2
Minor Terrain
Kill Marker
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
EnvPoint
location
No
PlayerGroup
force
No
Initialisation
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Player Group - Pick every player in (All players matching (((Matching player) slot status) Equal to Is playing).) and do (Actions)
Loop - Actions
Unit - Create 1 . Sorceress for (Picked player) at (Random point in (Playable map area)) facing Default building facing degrees
Selection - Select (Last created unit) for (Picked player)
Camera - Lock camera target for (Picked player) to (Last created unit) , offset by ( 0 , 0 ) using Default rotation
Unit - Pause all units
Game - Display to (All players) for 1.00 seconds the text: 5
Wait 1.00 seconds
Game - Display to (All players) for 1.00 seconds the text: 4
Wait 1.00 seconds
Game - Display to (All players) for 1.00 seconds the text: 3
Wait 1.00 seconds
Game - Display to (All players) for 1.00 seconds the text: 2
Trigger - Turn off MajorTerrain <gen>
Trigger - Turn on MajorTerrain2 <gen>
Wait 1.00 seconds
Game - Display to (All players) for 1.00 seconds the text: 1
Trigger - Turn off MajorTerrain2 <gen>
Wait 1.00 seconds
Game - Display to (All players) for 1.00 seconds the text: Go
Unit - Unpause all units
Trigger - Turn off Minor_Terrain <gen>
Trigger - Turn on Bots <gen>
Bots
Events
Time - Every 2.50 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Owner of (Matching unit)) Not equal to Player 1 (Red))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 1000.00 of (Position of (Picked unit)) matching ((Matching unit) Not equal to (Picked unit)).)) Greater than or equal to 1
Then - Actions
Unit - Order (Picked unit) to Night Elf Warden - Blink . ((Position of (Random unit from (Units within 1000.00 of (Position of (Picked unit)) matching ((Matching unit) Not equal to (Picked unit)).))) offset by (Random real number between 512.00 and 768.00) towards (Random angle) degrees.)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of (Picked unit)) Equal to (Order((null)))
Then - Actions
Unit - Order (Picked unit) to Move To . ((Center of (Playable map area)) offset by (Random real number between 500.00 and 1000.00) towards (Random angle) degrees.)
Else - Actions
Wait 1.00 seconds
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Owner of (Matching unit)) Not equal to Player 1 (Red))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 1000.00 of (Position of (Picked unit)) matching ((Matching unit) Not equal to (Picked unit)).)) Greater than or equal to 1
Then - Actions
Unit - Order (Picked unit) to Orc Tauren Chieftain - Shockwave . (Position of (Random unit from (Units within 800.00 of (Position of (Picked unit)) matching ((Matching unit) Not equal to (Picked unit)).)))
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of (Picked unit)) Equal to (Order((null)))
Then - Actions
Unit - Order (Picked unit) to Move To . ((Center of (Playable map area)) offset by (Random real number between 500.00 and 1000.00) towards (Random angle) degrees.)
Else - Actions
Wait 0.60 seconds
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Owner of (Matching unit)) Not equal to Player 1 (Red))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units within 1000.00 of (Position of (Picked unit)) matching ((Matching unit) Not equal to (Picked unit)).)) Greater than or equal to 1
Then - Actions
Unit - Order (Picked unit) to Night Elf Warden - Blink . ((Position of (Random unit from (Units within 1000.00 of (Position of (Picked unit)) matching ((Matching unit) Not equal to (Picked unit)).))) offset by (Random real number between 512.00 and 768.00) towards (Random angle) degrees.)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Current order of (Picked unit)) Equal to (Order((null)))
Then - Actions
Unit - Order (Picked unit) to Move To . ((Center of (Playable map area)) offset by (Random real number between 500.00 and 1000.00) towards (Random angle) degrees.)
Else - Actions
Remove Bot bait
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Sorceress) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is dead) Equal to True
Then - Actions
Unit - Remove (Picked unit) from the game
Else - Actions
Default melee game initialization for all players
MajorTerrain
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 3 to 7 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Grass using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 320.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Dark Grass using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Small Bricks using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Vines using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Vines using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Leaves using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Leaves using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Underground - Lava Cracks using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Icecrown Glacier - Ice using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Default melee game initialization for all players
MajorTerrain2
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 3 to 7 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Grass using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 320.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Destructible - Create a ATtc (Unexpected type: 'destructablecode') at (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.) facing (Random angle) with scale (Random real number between 0.80 and 1.20) and variation (Random integer number between 0 and 2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 3) Equal to 1
Then - Actions
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.) facing (Random angle) with scale (Random real number between 0.80 and 1.20) and variation 0
Else - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Dark Grass using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Small Bricks using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Vines using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Vines using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Destructible - Create a ATtc (Unexpected type: 'destructablecode') at (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.) facing (Random angle) with scale (Random real number between 0.80 and 1.20) and variation (Random integer number between 0 and 2)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 3) Equal to 1
Then - Actions
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.) facing (Random angle) with scale (Random real number between 0.80 and 1.20) and variation 0
Else - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Leaves using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Leaves using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Destructible - Create a B001 (Unexpected type: 'destructablecode') at (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.) facing (Random angle) with scale (Random real number between 0.60 and 0.90) and variation (Random integer number between 0 and 8)
Environment - Change terrain type at EnvPoint to Underground - Lava Cracks using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Icecrown Glacier - Ice using variation -1 in an area of size (Random integer number between 0 and 3) and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Default melee game initialization for all players
Minor Terrain
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 3 to 7 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Grass using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 320.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Dark Grass using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Sunken Ruins - Small Bricks using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Vines using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Vines using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Leaves using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Ashenvale - Leaves using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Underground - Lava Cracks using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Set Variable Set EnvPoint = (Random point in (Playable map area))
For each (Integer A) from 0 to 8 , do (Actions)
Loop - Actions
Environment - Change terrain type at EnvPoint to Icecrown Glacier - Ice using variation -1 in an area of size 1 and shape Circle
Set Variable Set EnvPoint = (EnvPoint offset by (Random real number between 0 and 256.00) towards (Random angle) degrees.)
Kill Marker
Events
Unit - A unit Dies
Conditions
Actions
Game - Display to (All players) for 8.00 seconds the text: (((((Name of (Owner of (Killing unit))) + () + (String(((Owner of (Killing unit)) Units Killed)))) + )) + ( killed + ((Name of (Owner of (Dying unit))) + ( ( + (((String(((Owner of (Dying unit)) Units Killed))) + )) + )))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in (Playable map area) matching (((Matching unit) is alive) Equal to True))) Equal to 1
Then - Actions
Game - Display to (All players) for 30 seconds the text: ((Name of (Owner of (Random unit from (Units in (Playable map area) matching (((Matching unit) is alive) Equal to True))))) + is last woman standing. Owned.)
Wait 3.00 seconds
Player Group - Pick every player in (All players) and do (Add (Picked player) to PlayerGroup)
Game - Victory (Owner of (Random unit from (Units in (Playable map area) matching (((Matching unit) is alive) Equal to True)))) ( Show dialogs, Show scores)
Player Group - Remove (Owner of (Random unit from (Units in (Playable map area) matching (((Matching unit) is alive) Equal to True)))) from PlayerGroup .
Player Group - Pick every player in PlayerGroup and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in (Playable map area) matching (((Matching unit) is alive) Equal to True))) Equal to 0
Then - Actions
Game - Display to (All players) for 30 seconds the text: Wow. Nice one. Everyone dies.
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
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.