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 Arena 0.1.3.w3x
Variables
Initialization
die boss die2
Untitled Trigger 001 Copy Copy
Select 8 Copy 3
Select 8 Copy 2
Select 8 Copy
Select 8
Select 5 Copy
Select 4 Copy
select 3 Copy
Select 7
Select 7 Copy
Select 7 Copy 2
Select 7 Copy 3
frost ravenant
frost ravenant Copy
Select 6
Select 6 Copy
Select 6 Copy Copy
Select 6 Copy Copy Copy
Untitled Trigger 001 Copy
Select 5
Select 5 Copy 2
Select 5 Copy 3
Select 1
Select 1 Copy 2
Select 1 Copy 3
Select 1 Copy
Select 2
Select 2 Copy 2
Select 2 Copy 3
Select 2 Copy
select 3
select 3 Copy 2
select 3 Copy 3
Select 4
Select 4 Copy 2
Select 4 Copy 3
Untitled Trigger 001
Untitled Trigger 002
Untitled Trigger 003
Die snowman Die
Die Boss Die
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
BossItemSet
itemcode
Yes
caster
unit
No
HP
real
No
loc
location
No
Temp_Sound
sound
No
Temp_Unit
location
No
unit
unit
No
die boss die2
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Revenant king
Actions
Unit - Create 1 . Rock'n Arthas for Neutral Passive at (Center of Firelord <gen>) facing Default building facing degrees
Sound - Play PH1 <gen> at 100 % volume, attached to (Last created unit)
Wait 360.00 seconds
Sound - Stop PH1 <gen> After fading
Unit - Remove (Last created unit) from the game
Untitled Trigger 001 Copy Copy
Events
Time - Elapsed game time is 240.00 seconds
Conditions
Actions
Unit - Create 3 . Skeleton Warrior for Neutral Hostile at (Center of spawn_skeletons <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Archer for Neutral Hostile at (Center of spawn_skeletons <gen>) facing Default building facing degrees
Unit - Create 4 . Skeleton Warrior for Neutral Hostile at (Center of spawn_skeletons_2 <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Archer for Neutral Hostile at (Center of spawn_skeletons_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Skeletal Mage for Neutral Hostile at (Center of spawn_skeletons <gen>) facing Default building facing degrees
Unit - Create 2 . Nerubian Warrior for Neutral Hostile at (Center of spawn_spiders <gen>) facing Default building facing degrees
Unit - Create 1 . Nerubian Webspinner for Neutral Hostile at (Center of spawn_spiders <gen>) facing Default building facing degrees
Sound - Play CreepAggroWhat1 <gen>
Select 8 Copy 3
Events
Unit - A unit enters Select_8 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Tinker for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Select 8 Copy 2
Events
Unit - A unit enters Select_8 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Tinker for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 8 Copy
Events
Unit - A unit enters Select_8 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Tinker for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 8
Events
Unit - A unit enters Select_8 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Tinker for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
Select 5 Copy
Events
Unit - A unit enters Select_5 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Sea elemental for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 4 Copy
Events
Unit - A unit enters Select_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Rexxar for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
select 3 Copy
Events
Unit - A unit enters Select_3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Druid of the Talon for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 7
Events
Unit - A unit enters Select_7 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Black dragon for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
Select 7 Copy
Events
Unit - A unit enters Select_7 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Black dragon for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 7 Copy 2
Events
Unit - A unit enters Select_7 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Black dragon for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 7 Copy 3
Events
Unit - A unit enters Select_7 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Black dragon for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
frost ravenant
Events
Time - Elapsed game time is 420.00 seconds
Conditions
Actions
Unit - Create 2 . Frost Revenant for Neutral Hostile at (Center of Firelord <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Revenant for Neutral Hostile at (Center of Firelord <gen>) facing Default building facing degrees
Set Variable Set Temp_Sound = CryptFiendYes3 <gen>
Sound - Play Temp_Sound
Wait 2 seconds
Sound - Destroy CreepAggroWhat1 <gen>
frost ravenant Copy
Events
Time - Elapsed game time is 480.00 seconds
Conditions
Actions
Unit - Create 2 . Ice Revenant for Neutral Hostile at (Center of Firelord <gen>) facing Default building facing degrees
Unit - Create 1 . Revenant king for Neutral Hostile at (Center of Firelord <gen>) facing Default building facing degrees
Set Variable Set Temp_Sound = CryptFiendYes3 <gen>
Sound - Play Temp_Sound
Wait 2 seconds
Sound - Destroy CreepAggroWhat1 <gen>
Select 6
Events
Unit - A unit enters Select_6 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Mountain King for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
Select 6 Copy
Events
Unit - A unit enters Select_6 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Mountain King for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 6 Copy Copy
Events
Unit - A unit enters Select_6 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Mountain King for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 6 Copy Copy Copy
Events
Unit - A unit enters Select_6 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Mountain King for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Untitled Trigger 001 Copy
Events
Time - Elapsed game time is 180.00 seconds
Conditions
Actions
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Center of spawn_skeletons <gen>) facing Default building facing degrees
Unit - Create 1 . Ice Troll Priest for Neutral Hostile at (Center of Troll <gen>) facing Default building facing degrees
Unit - Create 2 . Ice Troll for Neutral Hostile at (Center of Troll <gen>) facing Default building facing degrees
Unit - Create 3 . Skeleton Warrior for Neutral Hostile at (Center of spawn_skeletons_2 <gen>) facing Default building facing degrees
Unit - Create 1 . Skeletal Mage for Neutral Hostile at (Center of spawn_skeletons <gen>) facing Default building facing degrees
Unit - Create 2 . Nerubian Warrior for Neutral Hostile at (Center of spawn_spiders <gen>) facing Default building facing degrees
Sound - Play CreepAggroWhat1 <gen>
Select 5
Events
Unit - A unit enters Select_5 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Sea elemental for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
Select 5 Copy 2
Events
Unit - A unit enters Select_5 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Sea elemental for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 5 Copy 3
Events
Unit - A unit enters Select_5 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Sea elemental for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Select 1
Events
Unit - A unit enters Select_1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Blademaster for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
Select 1 Copy 2
Events
Unit - A unit enters Select_1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Blademaster for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 1 Copy 3
Events
Unit - A unit enters Select_1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Blademaster for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Select 1 Copy
Events
Unit - A unit enters Select_1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Blademaster for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 2
Events
Unit - A unit enters Select_2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . the Snowman for Player 2 (Blue) at (Center of Gate_2 <gen>) facing Default building facing degrees
Select 2 Copy 2
Events
Unit - A unit enters Select_2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . the Snowman for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 2 Copy 3
Events
Unit - A unit enters Select_2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . the Snowman for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Select 2 Copy
Events
Unit - A unit enters Select_2 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . the Snowman for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
select 3
Events
Unit - A unit enters Select_3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Druid of the Talon for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
select 3 Copy 2
Events
Unit - A unit enters Select_3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Druid of the Talon for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
select 3 Copy 3
Events
Unit - A unit enters Select_3 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Druid of the Talon for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Select 4
Events
Unit - A unit enters Select_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Rexxar for Player 1 (Red) at (Center of Gate_1 <gen>) facing Default building facing degrees
Select 4 Copy 2
Events
Unit - A unit enters Select_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Rexxar for Player 3 (Teal) at (Center of Gate_3 <gen>) facing Default building facing degrees
Select 4 Copy 3
Events
Unit - A unit enters Select_4 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create 1 . Rexxar for Player 4 (Purple) at (Center of Gate_4 <gen>) facing Default building facing degrees
Untitled Trigger 001
Events
Time - Elapsed game time is 60.00 seconds
Conditions
Actions
Unit - Create 2 . Ice Troll for Neutral Hostile at (Center of Troll <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Center of spawn_skeletons_2 <gen>) facing Default building facing degrees
Unit - Create 2 . Skeleton Warrior for Neutral Hostile at (Center of spawn_skeletons <gen>) facing Default building facing degrees
Unit - Create 4 . Spiderling for Neutral Hostile at (Center of spawn_spiders <gen>) facing Default building facing degrees
Sound - Play CreepAggroWhat1 <gen>
Untitled Trigger 002
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Ancient Form
Actions
Set Variable Set loc = (Position of (Triggering unit))
Set Variable Set caster = (Triggering unit)
Unit - Move (Triggering unit) instantly to (Center of Dispate <gen>)
Set Variable Set HP = (Percentage life of (Triggering unit))
Unit - Create 1 . Ancient Protector for (Triggering player) at loc facing Default building facing degrees
Unit - Set life of (Last created unit) to HP %
Set Variable Set unit = (Last created unit)
Unit - Change ownership of (Triggering unit) to Neutral Passive and Retain color
Wait 30.00 seconds
Set Variable Set loc = (Position of unit)
Set Variable Set HP = (Percentage life of unit)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of unit using Abilities\Spells\Human\Polymorph\PolyMorphDoneGround.mdl
Unit - Remove unit from the game
Unit - Change ownership of (Triggering unit) to (Triggering player) and Change color
Unit - Set life of (Triggering unit) to HP %
Unit - Move (Triggering unit) instantly to loc
Untitled Trigger 003
Events
Unit - A unit Dies
Conditions
(Triggering unit) Equal to unit
Actions
Unit - Remove caster from the game
Die snowman Die
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Snowman
Actions
Set Variable Set Temp_Unit = (Position of (Dying unit))
Unit - Remove (Dying unit) from the game
Unit - Create 1 . Effect for Neutral Passive at Temp_Unit facing Default building facing degrees
Animation - Play (Last created unit) 's death animation
Unit - Add a 0.10 second Generic expiration timer to (Last created unit)
Set Variable Set BossItemSet[1] = "I002"
Item - Create BossItemSet[1] at (Position of (Dying unit))
Die Boss Die
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Revenant king
Actions
Set Variable Set BossItemSet[1] = "shar"
Set Variable Set BossItemSet[2] = "I000"
Set Variable Set BossItemSet[3] = "crdt"
Item - Create BossItemSet[(Random integer number between 1 and 3)] at (Position of (Dying unit))
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.