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
River.w3x
Variables
Initialization
gnoll end
Infernals
infernal end
infernal end 2
elf ship
ship unload
storm Flat
storm Flat Copy
Melee Initialization
Calm
Gnoll
gnoll 2
Elves
elf remove
storm
effect hawk
player controls
Quit
View 1
camera set
view 2
view 3
new file
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
event
real
No
footmen
integer
No
Rain
weathereffect
No
weather
integer
No
gnoll end
Events
Unit - A unit enters gnoll_end <gen>
Conditions
(Triggering unit) Equal to Gnoll Overseer 0026 <gen>
Actions
Unit - Move (Triggering unit) instantly to (Center of gnoll <gen>)
Unit - Order (Triggering unit) to Stop .
Set Variable Set event = (Random real number between 0 and 4.50)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 0.00
event Less than or equal to 1.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 1.50
event Less than or equal to 2.50
Then - Actions
Trigger - Run elf_ship <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 2.50
event Less than or equal to 3.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 3.50
event Less than or equal to 4.50
Then - Actions
Trigger - Run Infernals <gen> (ignoring conditions)
Else - Actions
Do nothing
Infernals
Events
Conditions
Actions
Special Effect - Create a special effect at (Center of Meteor <gen>) using Objects\Spawnmodels\Demon\InfernalMeteor\InfernalMeteor.mdl
Wait 2 seconds
Unit - Create 1 . Infernal for Player 5 (Yellow) at (Center of Meteor <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To . (Center of gnoll_end <gen>)
Set Variable Set footmen = (Random integer number between 1 and 10)
Unit - Create footmen . Footman for Player 1 (Red) at (Center of gnoll_end <gen>) facing Default building facing degrees
Unit Group - Order (Last created unit group) to Attack-Move To . (Center of Meteor <gen>)
infernal end
Events
Unit - A unit enters gnoll_end <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Infernal
Actions
Unit - Remove (Triggering unit) from the game
Set Variable Set event = (Random real number between 0 and 4.50)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 0.00
event Less than or equal to 1.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 1.50
event Less than or equal to 2.50
Then - Actions
Trigger - Run elf_ship <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 2.50
event Less than or equal to 3.50
Then - Actions
Trigger - Run Gnoll <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 3.50
event Less than or equal to 4.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
infernal end 2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Infernal
Actions
Unit Group - Order (Units of type Footman) to Move To . (Center of gnoll_end <gen>)
Wait 5.00 seconds
Unit Group - Pick every unit in (Last created unit group) and do (Remove (Picked unit) from the game)
Set Variable Set event = (Random real number between 0 and 4.50)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 0.00
event Less than or equal to 1.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 1.50
event Less than or equal to 2.50
Then - Actions
Trigger - Run elf_ship <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 2.50
event Less than or equal to 3.50
Then - Actions
Trigger - Run Gnoll <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 3.50
event Less than or equal to 4.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
elf ship
Events
Conditions
Actions
Unit - Order Night Elf Frigate 0021 <gen> to Move To . (Random point in Ship_dock <gen>)
ship unload
Events
Unit - A unit enters Ship_dock <gen>
Conditions
(Triggering unit) Equal to Night Elf Frigate 0021 <gen>
Actions
Unit - Create 1 . Night Elf Runner for Neutral Passive at (Position of Wisp 0018 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Move To . (Position of Wisp 0024 <gen>)
Wait 10.00 seconds
Unit - Remove (Last created unit) from the game
Unit - Order Night Elf Frigate 0021 <gen> to Move To . (Center of ship <gen>)
Set Variable Set event = (Random real number between 0 and 4.50)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 0.00
event Less than or equal to 1.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 1.50
event Less than or equal to 2.50
Then - Actions
Trigger - Run Infernals <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 2.50
event Less than or equal to 3.50
Then - Actions
Trigger - Run Gnoll <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 3.50
event Less than or equal to 4.50
Then - Actions
Trigger - Run Infernals <gen> (ignoring conditions)
Else - Actions
Do nothing
storm Flat
Events
Conditions
Actions
Wait 15.00 seconds
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (Random point in lightning <gen>) facing (Random angle) with scale 1 and variation 0
Environment - Create at (Entire map) the weather effect Lordaeron Rain (Heavy)
Set Variable Set Rain = (Last created weather effect)
Environment - Turn Rain On
Sound - Play RainAmbience <gen> at 100.00 % volume, located at (Target of gg_cam_Camera_001) with Z offset 0
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Sound - Play LightningBolt1 <gen> at 100 % volume, located at (Center of (Playable map area)) with Z offset 0
Wait 1.00 seconds
Wait 1.00 seconds
Destructible - Remove (Last created destructible)
Wait 15.00 seconds
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (Random point in lightning <gen>) facing (Random angle) with scale 1 and variation 0
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Sound - Play LightningBolt1 <gen> at 100 % volume, located at (Center of (Playable map area)) with Z offset 0
Wait 1.00 seconds
Wait 1.00 seconds
Destructible - Remove (Last created destructible)
Wait 15.00 seconds
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (Random point in lightning <gen>) facing (Random angle) with scale 1 and variation 0
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Sound - Play LightningBolt1 <gen> at 100 % volume, located at (Center of (Playable map area)) with Z offset 0
Wait 1.00 seconds
Wait 1.00 seconds
Destructible - Remove (Last created destructible)
Wait 15.00 seconds
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (Random point in lightning <gen>) facing (Random angle) with scale 1 and variation 0
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Sound - Play LightningBolt1 <gen> at 100 % volume, located at (Center of (Playable map area)) with Z offset 0
Wait 1.00 seconds
Wait 1.00 seconds
Destructible - Remove (Last created destructible)
Wait 15.00 seconds
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (Random point in lightning <gen>) facing (Random angle) with scale 1 and variation 0
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Sound - Play LightningBolt1 <gen> at 100 % volume, located at (Center of (Playable map area)) with Z offset 0
Wait 1.00 seconds
Wait 1.00 seconds
Destructible - Remove (Last created destructible)
Wait 15.00 seconds
Destructible - Create a B000 (Unexpected type: 'destructablecode') at (Random point in lightning <gen>) facing (Random angle) with scale 1 and variation 0
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Sound - Play LightningBolt1 <gen> at 100 % volume, located at (Center of (Playable map area)) with Z offset 0
Wait 1.00 seconds
Wait 1.00 seconds
Destructible - Remove (Last created destructible)
Environment - Turn Rain Off
Trigger - Run Calm <gen> (ignoring conditions)
storm Flat Copy
Events
Conditions
Actions
Wait 15.00 seconds
Environment - Create at (Entire map) the weather effect Outland Wind (Heavy)
Set Variable Set Rain = (Last created weather effect)
Environment - Turn Rain On
Wait 60.00 seconds
Environment - Turn Rain Off
Trigger - Run Calm <gen> (ignoring conditions)
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Trigger - Run storm_Flat <gen> (ignoring conditions)
Sound - Set the music list to SadMystery <gen> , starting with a random song
Unit - Hide Wisp 0024 <gen>
Unit - Hide Wisp 0025 <gen>
Unit - Hide Wisp 0018 <gen>
Selection - Select Controls 0017 <gen> for Player 1 (Red)
Set Variable Set event = (Random real number between 0 and 4.50)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 0.00
event Less than or equal to 1.50
Then - Actions
Trigger - Run Elves <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 1.50
event Less than or equal to 2.50
Then - Actions
Trigger - Run elf_ship <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 2.50
event Less than or equal to 3.50
Then - Actions
Trigger - Run Gnoll <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 3.50
event Less than or equal to 4.50
Then - Actions
Trigger - Run Infernals <gen> (ignoring conditions)
Else - Actions
Do nothing
Set Variable Set weather = (Random integer number between 1 and 3)
If (weather Equal to 1) then do (Run storm_Flat <gen> (ignoring conditions)) else do (Do nothing)
If (weather Equal to 2) then do (Run storm_Flat_Copy <gen> (ignoring conditions)) else do (Do nothing)
If (weather Equal to 3) then do (Run Calm <gen> (ignoring conditions)) else do (Do nothing)
Calm
Events
Conditions
Actions
Wait 90.00 seconds
Trigger - Run storm_Flat <gen> (ignoring conditions)
Set Variable Set weather = (Random integer number between 1 and 2)
If (weather Equal to 1) then do (Run storm_Flat <gen> (ignoring conditions)) else do (Do nothing)
If (weather Equal to 2) then do (Run storm_Flat_Copy <gen> (ignoring conditions)) else do (Do nothing)
Gnoll
Events
Conditions
Actions
Unit - Order Gnoll Overseer 0026 <gen> to Move To . (Center of gnoll_2 <gen>)
gnoll 2
Events
Unit - A unit enters gnoll_2 <gen>
Conditions
(Triggering unit) Equal to Gnoll Overseer 0026 <gen>
Actions
Unit - Order Gnoll Overseer 0026 <gen> to Move To . (Center of gnoll_end <gen>)
Elves
Events
Conditions
Actions
Unit - Create 1 . Shandris for Neutral Passive at (Position of Wisp 0024 <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Move To . (Position of Wisp 0025 <gen>)
Wait 10.00 seconds
Unit - Order (Last created unit) to Move To . (Position of Wisp 0024 <gen>)
Wait 5.00 seconds
Unit - Remove (Last created unit) from the game
Set Variable Set event = (Random real number between 0 and 4.50)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 0.00
event Less than or equal to 1.50
Then - Actions
Trigger - Run Infernals <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 1.50
event Less than or equal to 2.50
Then - Actions
Trigger - Run elf_ship <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 2.50
event Less than or equal to 3.50
Then - Actions
Trigger - Run Gnoll <gen> (ignoring conditions)
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
event Greater than or equal to 3.50
event Less than or equal to 4.50
Then - Actions
Trigger - Run Infernals <gen> (ignoring conditions)
Else - Actions
Do nothing
elf remove
Events
Unit - A unit comes within 100.00 of Night Elf Frigate 0021 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Sentry
Actions
Unit - Remove (Triggering unit) from the game
storm
Events
Conditions
Actions
Environment - Create at lightning <gen> the weather effect Lordaeron Rain (Heavy)
Environment - Set sky to Generic Sky
Game - Set the time of day to 24.00
Environment - Create at (Entire map) the weather effect Lordaeron Rain (Heavy)
Wait 15.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source ((Random point in lightning <gen>) offset by 50000.00 towards 90.00 degrees.) to target (Random point in lightning <gen>)
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Wait 15.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source ((Random point in lightning <gen>) offset by 50000.00 towards 90.00 degrees.) to target (Random point in lightning <gen>)
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Wait 15.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source ((Random point in lightning <gen>) offset by 50000.00 towards 90.00 degrees.) to target (Random point in lightning <gen>)
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Trigger - Run Elves <gen> (ignoring conditions)
Wait 15.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source ((Random point in lightning <gen>) offset by 50000.00 towards 90.00 degrees.) to target (Random point in lightning <gen>)
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Wait 15.00 seconds
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Lightning - Create a Chain Lightning - Primary lightning effect from source ((Random point in lightning <gen>) offset by 50000.00 towards 90.00 degrees.) to target (Random point in lightning <gen>)
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Wait 15.00 seconds
Lightning - Create a Chain Lightning - Primary lightning effect from source ((Random point in lightning <gen>) offset by 50000.00 towards 90.00 degrees.) to target (Random point in lightning <gen>)
Sound - Play LightningBolt <gen> at 100 % volume, located at (Position of (Last created destructible)) with Z offset 0
Wait 1.00 seconds
Lightning - Destroy (Last created lightning effect)
Environment - Remove (Last created weather effect)
Environment - Set sky to Fogged Sky
effect hawk
Events
Unit - A unit leaves lightning <gen>
Conditions
(Triggering unit) Equal to Thunder Hawk 0022 <gen>
Actions
Unit - Order Thunder Hawk 0022 <gen> to Move To . (Center of lightning <gen>)
Quit
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to quit
Actions
Game - Victory Player 1 (Red) ( Skip dialogs, Skip scores)
View 1
Events
Unit - A unit owned by Player 1 (Red) . Begins an upgrade
Conditions
(Researched tech-type) Equal to R001 (Unexpected type: 'techcode')
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 5.00 seconds
camera set
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
view 2
Events
Unit - A unit owned by Player 1 (Red) . Begins an upgrade
Conditions
(Researched tech-type) Equal to R002 (Unexpected type: 'techcode')
Actions
Camera - . Apply . gg_cam_Camera_005 for Player 1 (Red) over 5.00 seconds
view 3
Events
Unit - A unit owned by Player 1 (Red) . Begins an upgrade
Conditions
(Researched tech-type) Equal to R000 (Unexpected type: 'techcode')
Actions
Camera - . Apply . gg_cam_Camera_006 for Player 1 (Red) over 5.00 seconds
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.