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
Escape The Sunken Castle.w3x
Variables
Initialization
Melee Initialization
Damages
Spike damage
Rock DMG
Victory
Victory
Defeat
Victory 2
Defeat 2
Defeat 3
Messages
Warning
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)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Spike damage
Events
Unit - A unit enters Spikes_1 <gen>
Unit - A unit enters Spikes_2 <gen>
Unit - A unit enters Spikes_3 <gen>
Unit - A unit enters Spikes_4 <gen>
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Wait 0.50 seconds
Unit - Set life of Demon Hunter 0093 <gen> to 50.00 %
Wait 0.50 seconds
Unit - Set life of (Triggering unit) to 10.00 %
Wait 0.50 seconds
Unit - Kill Demon Hunter 0093 <gen>
Rock DMG
Events
Unit - A unit enters Rock_DMG <gen>
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Unit - Set life of Demon Hunter 0093 <gen> to 50.00 %
Wait 2.00 seconds
Unit - Explode Demon Hunter 0093 <gen> .
Victory
Events
Unit - A unit enters Exit <gen>
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Defeat
Events
Unit - Demon Hunter 0093 <gen> Dies
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Game - Defeat Player 1 (Red) with the message: You failed to escape!
Victory 2
Events
Unit - Demon Hunter 0093 <gen> Dies
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Defeat 2
Events
Unit - Gormak 0028 <gen> Dies
Conditions
(Gormak 0028 <gen> is A ground unit) Equal to True
Actions
Game - Defeat Player 2 (Blue) with the message: You died!
Defeat 3
Events
Unit - A unit enters Exit <gen>
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Game - Defeat Player 2 (Blue) with the message: Illidan escaped!
Warning
Events
Unit - A unit enters Message <gen>
Conditions
(Demon Hunter 0093 <gen> is A Hero) Equal to True
Actions
Special Effect - Create a special effect at (Center of Message <gen>) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Floating Text - Create floating text that reads Dont touch the spikes! at (Center of Message <gen>) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
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.