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 vs Hero.w3x
Variables
Initialization
Hero Revival
Hero Choosing 2
Hero Choosing
Melee Initialization
Hero Choosing 3
Hero Choosing 4
Hero Choosing 5
Hero Choosing 6
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
Hero Revival
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Wait 2.00 seconds
If ((Owner of (Triggering unit)) Equal to Player 1 (Red)) then do (Instantly revive (Triggering unit) at (Center of Hero_Respawn_001 <gen>), Show revival graphics) else do (Do nothing)
If ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) then do (Instantly revive (Triggering unit) at (Center of Hero_Respawn_002 <gen>), Show revival graphics) else do (Do nothing)
Hero Choosing 2
Events
Unit - A unit comes within 100.00 of Inuyasha 0024 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Hero Chooser 0013 <gen>)
Actions
Unit - Create 1 . Inuyasha for (Owner of (Triggering unit)) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Unit - Remove Inuyasha 0012 <gen> from the game
Unit - Remove Inuyasha 0024 <gen> from the game
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_008 <gen>) over 1.00 seconds
Trigger - Turn off (This trigger)
Hero Choosing
Events
Unit - A unit comes within 100.00 of Inuyasha 0012 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Hero Chooser 0013 <gen>)
Actions
Unit - Create 1 . Inuyasha for (Owner of (Triggering unit)) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Unit - Remove Inuyasha 0012 <gen> from the game
Unit - Remove Inuyasha 0024 <gen> from the game
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_008 <gen>) over 1.00 seconds
Trigger - Turn off (This trigger)
Default melee game initialization for all players
Melee Initialization
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Trigger - Turn on (This trigger)
Unit - Create 9 . Mur'gul Blood-Gill for Neutral Hostile at (Center of Region_007 <gen>) facing Default building facing degrees
Unit - Create 9 . Mur'gul Blood-Gill for Neutral Hostile at (Center of Region_003 <gen>) facing Default building facing degrees
Unit - Create 9 . Crystal Arachnathid for Neutral Hostile at (Center of Region_005 <gen>) facing Default building facing degrees
Unit - Create 9 . Crystal Arachnathid for Neutral Hostile at (Center of Region_001 <gen>) facing Default building facing degrees
Unit - Create 9 . Gnoll Poacher for Neutral Hostile at (Center of Region_002 <gen>) facing Default building facing degrees
Unit - Create 9 . Gnoll Poacher for Neutral Hostile at (Center of Region_006 <gen>) facing Default building facing degrees
Unit - Create 9 . Gnoll for Neutral Hostile at (Center of Region_000 <gen>) facing Default building facing degrees
Unit - Create 9 . Gnoll for Neutral Hostile at (Center of Region_004 <gen>) facing Default building facing degrees
Hero Choosing 3
Events
Unit - A unit comes within 100.00 of King Koopa 0028 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Hero Chooser 0013 <gen>)
Actions
Unit - Create 1 . King Koopa for (Owner of (Triggering unit)) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Unit - Remove King Koopa 0028 <gen> from the game
Unit - Remove King Koopa 0025 <gen> from the game
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_008 <gen>) over 1.00 seconds
Trigger - Turn off (This trigger)
Hero Choosing 4
Events
Unit - A unit comes within 100.00 of King Koopa 0025 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Hero Chooser 0013 <gen>)
Actions
Unit - Create 1 . King Koopa for (Owner of (Triggering unit)) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Unit - Remove King Koopa 0028 <gen> from the game
Unit - Remove King Koopa 0025 <gen> from the game
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_008 <gen>) over 1.00 seconds
Trigger - Turn off (This trigger)
Hero Choosing 5
Events
Unit - A unit comes within 100.00 of Patrick Star 0029 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Hero Chooser 0013 <gen>)
Actions
Unit - Create 1 . Patrick Star for (Owner of (Triggering unit)) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Unit - Remove Patrick Star 0029 <gen> from the game
Unit - Remove Patrick Star 0031 <gen> from the game
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_008 <gen>) over 1.00 seconds
Trigger - Turn off (This trigger)
Hero Choosing 6
Events
Unit - A unit comes within 100.00 of Patrick Star 0031 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to (Unit-type of Hero Chooser 0013 <gen>)
Actions
Unit - Create 1 . Patrick Star for (Owner of (Triggering unit)) at (Center of Region_008 <gen>) facing Default building facing degrees
Unit - Remove (Triggering unit) from the game
Unit - Remove Patrick Star 0031 <gen> from the game
Unit - Remove Patrick Star 0029 <gen> from the game
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Region_008 <gen>) over 1.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.