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
Hero Test Map RPG.w3x
Variables
mapstart
mapstart
camera
creep
creep orcs spawn
creep orcs respawn
bears spawn
bears respawn
furbolg spawn
furbolg respawn
faceless void spawn
faceless void respawn
crabs small spawn
crabs small respawn
crabs big spawn
carbs big respawn
crabs mid spawn
crabs mid respawn
orcs big spawn
orcs big respawn
mamut spawn
mamut respawn
crabs mid spawn2
crabs mid respawn2
boss spawn
boss respawn
hero
start item
hero respawn
hero bounty reward
door
door1
door2
door3
victory
victory
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
Herounit
unit
No
mapstart
Events
Map initialization
Conditions
Actions
Unit - Create 1 . Brewmaster for Player 1 (Red) at (Player 1 (Red) start location) facing Default building facing degrees
Set Variable Set Herounit = (Last created unit)
Visibility - Enable fog of war
Visibility - Enable black mask
Environment - Set sky to Blizzard Sky
Environment - Set fog to style Linear , z-start 4000.00 , z-end 5000.00 , density 1.00 and color ( 100 %, 100 %, 100 %)
camera
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Camera - Set Player 1 (Red) 's camera Distance to target to 550.00 over 1.00 seconds
Camera - Lock camera target for Player 1 (Red) to Herounit , offset by ( 0 , 0 ) using Default rotation
Camera - Set Player 1 (Red) 's camera Angle of attack to 340.00 over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Height Offset to 300.00 over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Rotation to (Facing of Herounit) over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Far Z to 5000.00 over 1.00 seconds
Camera - Set Player 1 (Red) 's camera Field of view to 1000.00 over 1.00 seconds
Camera - Change camera smoothing factor to 10.00
creep orcs spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 2 . Ice Troll Trapper for Neutral Hostile at (Center of creep_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll Priest for Neutral Hostile at (Center of creep_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll Berserker for Neutral Hostile at (Center of creep_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
creep orcs respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in creep_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in creep_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run creep_orcs_spawn <gen> (checking conditions)) else do (Do nothing)
bears spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 2 . Polar Bear for Neutral Hostile at (Center of spawn_bears <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
bears respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in spawn_bears <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in spawn_bears <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run bears_spawn <gen> (checking conditions)) else do (Do nothing)
furbolg spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 1 . Furbolg for Neutral Hostile at (Center of furbolg_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Furbolg Shaman for Neutral Hostile at (Center of furbolg_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Furbolg Tracker for Neutral Hostile at (Center of furbolg_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
furbolg respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in furbolg_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in furbolg_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run furbolg_spawn <gen> (checking conditions)) else do (Do nothing)
faceless void spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 3 . Faceless One Trickster for Neutral Hostile at (Center of faceless_void_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Faceless One Terror for Neutral Hostile at (Center of faceless_void_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
faceless void respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in faceless_void_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in faceless_void_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run faceless_void_spawn <gen> (checking conditions)) else do (Do nothing)
crabs small spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 3 . Barbed Arachnathid for Neutral Hostile at (Center of crabs_spawn_small <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
crabs small respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in crabs_spawn_small <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in crabs_spawn_small <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run crabs_small_spawn <gen> (checking conditions)) else do (Do nothing)
crabs big spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 2 . Barbed Arachnathid for Neutral Hostile at (Center of crabs_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Crystal Arachnathid for Neutral Hostile at (Center of crabs_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Arachnathid Earth-borer for Neutral Hostile at (Center of crabs_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Overlord Arachnathid for Neutral Hostile at (Center of crabs_big_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
carbs big respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in crabs_big_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in crabs_big_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run crabs_big_spawn <gen> (checking conditions)) else do (Do nothing)
crabs mid spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 2 . Barbed Arachnathid for Neutral Hostile at (Center of crabs_mid_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Warrior Arachnathid for Neutral Hostile at (Center of crabs_mid_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Overlord Arachnathid for Neutral Hostile at (Center of crabs_mid_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
crabs mid respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in crabs_mid_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in crabs_mid_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Turn off crabs_mid_spawn <gen>) else do (Do nothing)
orcs big spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 1 . Ice Troll for Neutral Hostile at (Center of orc_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll Trapper for Neutral Hostile at (Center of orc_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll Berserker for Neutral Hostile at (Center of orc_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll Warlord for Neutral Hostile at (Center of orc_big_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll High Priest for Neutral Hostile at (Center of (Playable map area)) facing Default building facing degrees
Trigger - Turn off (This trigger)
orcs big respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in orc_big_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in orc_big_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run orcs_big_spawn <gen> (checking conditions)) else do (Do nothing)
mamut spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 1 . Mammoth for Neutral Hostile at (Center of mamut_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Icetusk Mammoth for Neutral Hostile at (Center of mamut_spawn <gen>) facing Default building facing degrees
Unit - Create 1 . Dire Mammoth for Neutral Hostile at (Center of mamut_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
mamut respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in mamut_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in mamut_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run mamut_spawn <gen> (checking conditions)) else do (Do nothing)
crabs mid spawn2
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 1 . Overlord Arachnathid for Neutral Hostile at (Center of crabs_mid_spawn2 <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
crabs mid respawn2
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in crabs_mid_spawn2 <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 20.00 seconds
If ((All units of (Units in crabs_mid_spawn2 <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run crabs_mid_spawn2 <gen> (checking conditions)) else do (Do nothing)
boss spawn
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Unit - Create 1 . Faceless One Deathbringer for Neutral Hostile at (Center of boss_spawn <gen>) facing Default building facing degrees
Unit - Create 4 . Ice Troll for Neutral Hostile at (Center of boss_spawn <gen>) facing Default building facing degrees
Trigger - Turn off (This trigger)
boss respawn
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
(All units of (Units in boss_spawn <gen> owned by Neutral Hostile) are dead) Equal to True
Actions
Wait 60.00 seconds
If ((All units of (Units in boss_spawn <gen> owned by Neutral Hostile) are dead) Equal to True) then do (Run boss_spawn <gen> (checking conditions)) else do (Do nothing)
start item
Events
Unit - A unit enters hero_item <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Hero - Create Healing Salve and give it to (Entering unit)
Hero - Create Blood Key and give it to (Entering unit)
Trigger - Turn off (This trigger)
hero respawn
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Wait 5.00 seconds
Hero - Instantly revive (Dying unit) at (Player 1 (Red) start location) , Show revival graphics
hero bounty reward
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Player - Turn Gives bounty On for Player 1 (Red)
door1
Events
Unit - A unit enters door1 <gen>
Conditions
((Entering unit) has an item of type Blood Key) Equal to True
Actions
If (((Entering unit) has an item of type Blood Key) Equal to True) then do (Open (Random destructible in door1 <gen>)) else do (Do nothing)
Item - Remove (Item carried by (Entering unit) of type Blood Key)
Trigger - Turn off (This trigger)
door2
Events
Unit - A unit enters door2 <gen>
Conditions
((Entering unit) has an item of type Ghost Key) Equal to True
Actions
If (((Entering unit) has an item of type Ghost Key) Equal to True) then do (Open (Random destructible in door2 <gen>)) else do (Do nothing)
Item - Remove (Item carried by (Entering unit) of type Ghost Key)
Trigger - Turn off (This trigger)
door3
Events
Unit - A unit enters door3 <gen>
Conditions
((Entering unit) has an item of type Sun Key) Equal to True
Actions
If (((Entering unit) has an item of type Sun Key) Equal to True) then do (Open (Random destructible in door3 <gen>)) else do (Do nothing)
Item - Remove (Item carried by (Entering unit) of type Sun Key)
Trigger - Turn off (This trigger)
victory
Events
Unit - A unit enters victory <gen>
Conditions
(All units of (Units owned by Player 1 (Red).) are in victory <gen>) Equal to True
Actions
If ((All units of (Units owned by Player 1 (Red).) are in victory <gen>) Equal to True) then do (Victory Player 1 (Red) (Show dialogs, Show scores)) else do (Do nothing)
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.