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
The Horde Invasion V. 2.0.w3x
Variables
Initialization
Melee Initialization
Quest Log
How to Play
Spells
Assassinate
Arrow Volley
Breath of Death
Flaming Arrow
Holy Explosion
Ice Arrow
Scourge Strike
Fireball
HeroChooser
Spawn
ChooseHero
Hero
Hero Revive
Revive
Victory/Defeat
Good Victory
Good Defeat
Upgrades
Armor
Attack
Unit HP
CC HP
InvaderSpawn
Horde1
Elite
Invasion Stop
InvaderUpgrade
Upgrade 1
Upgrade 2
Upgrade 3
InvaderMove
Horde1 Move
Bounty
Bounty
Retaliation
Activate
Go
Units
Move Final
Timer
Create
Start
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
Agility
real
No
Intelligence
real
No
Loc1
location
No
Loc2
location
No
Strength
real
No
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 - Set starting resources (for all players)
How to Play
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled How to Play with the description |cffFFFF00How to Play|rChoose your hero from the Hero's League in the upper-left corner. Then use the various upgrades and tomes at your disposal to defend the castle for 15 minutes. After the time is up you will retaliate against the Horde. Follow the soldiers north and destroy the enemy warchief! , using icon path ReplaceableTextures\CommandButtons\BTNUnbroken Sage.blp
Assassinate
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Charge - Honor Guard
Actions
Set Variable Set Loc1 = (Position of (Target unit of ability being cast))
Unit - Move (Casting unit) instantly to Loc1
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Casting unit) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Custom script: call RemoveLocation( udg_Loc1 )
Arrow Volley
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Arrow Volley - Night Elven Archer
Actions
Set Variable Set Agility = ((Real((Agility of (Casting unit) (Include bonuses)))) x 2.00)
Set Variable Set Loc1 = (Position of (Casting unit))
Unit - Cause (Triggering unit) to damage circular area after 0 seconds of radius 300.00 at Loc1 , dealing Agility damage of attack type Spells and damage type Normal
Custom script: call RemoveLocation( udg_Loc1 )
Breath of Death
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Breath of Death - Knight
Actions
Set Variable Set Intelligence = ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 3.00)
Set Variable Set Loc1 = (Position of (Casting unit))
Unit - Cause (Triggering unit) to damage circular area after 0 seconds of radius 400.00 at Loc1 , dealing Intelligence damage of attack type Spells and damage type Normal
Custom script: call RemoveLocation( udg_Loc1 )
Flaming Arrow
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Flaming Arrow - Night Elven Archer
Actions
Set Variable Set Agility = ((Real((Agility of (Casting unit) (Include bonuses)))) x 3.00)
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) , dealing Agility damage of attack type Spells and damage type Normal
Holy Explosion
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Holy Explosion - Angel
Actions
Set Variable Set Intelligence = ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 4.00)
Set Variable Set Loc1 = (Position of (Target unit of ability being cast))
Unit - Cause (Triggering unit) to damage circular area after 0 seconds of radius 500 at Loc1 , dealing Intelligence damage of attack type Spells and damage type Normal
Custom script: call RemoveLocation( udg_Loc1 )
Ice Arrow
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Ice Arrow - Blood Elven Archer
Actions
Set Variable Set Agility = ((Real((Agility of (Casting unit) (Include bonuses)))) x 3.00)
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) , dealing Agility damage of attack type Spells and damage type Normal
Scourge Strike
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Scourge Strike - Death Knight
Actions
Set Variable Set Strength = ((Real((Strength of (Casting unit) (Include bonuses)))) x 3.00)
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) , dealing Strength damage of attack type Spells and damage type Normal
Fireball
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fireball - Mage
Actions
Set Variable Set Intelligence = ((Real((Intelligence of (Casting unit) (Include bonuses)))) x 4.00)
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast) , dealing Intelligence damage of attack type Spells and damage type Normal
Spawn
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Unit - Create 1 . Hero Chooser for Player 1 (Red) at (Center of HeroChooserSpawn <gen>) facing Default building facing degrees
Unit - Create 1 . Hero Chooser for Player 2 (Blue) at (Center of HeroChooserSpawn <gen>) facing Default building facing degrees
Unit - Create 1 . Hero Chooser for Player 3 (Teal) at (Center of HeroChooserSpawn <gen>) facing Default building facing degrees
Unit - Create 1 . Hero Chooser for Player 4 (Purple) at (Center of HeroChooserSpawn <gen>) facing Default building facing degrees
Unit - Create 1 . Hero Chooser for Player 5 (Yellow) at (Center of HeroChooserSpawn <gen>) facing Default building facing degrees
Unit - Create 1 . Hero Chooser for Player 6 (Orange) at (Center of HeroChooserSpawn <gen>) facing Default building facing degrees
Game - Display to (All players) for 30 seconds the text: Pick your Hero Quickly for the Game will Begin in 30 seconds.
Wait 30.00 seconds
Game - Display to (All players) the text: The Invasion has started!
Hero
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Selling unit)) Equal to Heroe's League
Actions
Unit - Remove (Buying unit) from the game
Unit - Move (Sold unit) instantly to (Center of HeroSpawn <gen>)
Camera - Pan camera for (Owner of (Sold unit)) to (Center of HeroSpawn <gen>) over 3.00 seconds
Revive
Events
Unit - A unit Becomes revivable
Conditions
Actions
Game - Display to (All players) the text: Your Hero will be revived after 20 seconds
Wait 20.00 seconds
Hero - Instantly revive (Revivable Hero) at (Center of HeroSpawn <gen>) , Show revival graphics
Good Victory
Events
Unit - War Chief 0152 <gen> Dies
Conditions
Actions
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Game - Victory Player 6 (Orange) ( Show dialogs, Show scores)
Game - Victory Player 7 (Green) ( Show dialogs, Show scores)
Game - Defeat Player 8 (Pink) with the message: Defeat!
Good Defeat
Events
Unit - King 0003 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Defeat Player 6 (Orange) with the message: Defeat!
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Victory Player 8 (Pink) ( Show dialogs, Show scores)
Armor
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Upgrade Armor
Actions
Item - Remove (Item being manipulated)
Unit - Order Upgrader 0117 <gen> to research R007 (Unexpected type: 'techcode')
Trigger - Turn off (This trigger)
Attack
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Upgrade Attack
Actions
Item - Remove (Item being manipulated)
Unit - Order Upgrader 0117 <gen> to research R008 (Unexpected type: 'techcode')
Trigger - Turn off (This trigger)
Unit HP
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Upgrade Health
Actions
Item - Remove (Item being manipulated)
Unit - Order Upgrader 0117 <gen> to research R000 (Unexpected type: 'techcode')
Trigger - Turn off (This trigger)
CC HP
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Upgrade the King
Actions
Item - Remove (Item being manipulated)
Unit - Order Upgrader 0117 <gen> to research R006 (Unexpected type: 'techcode')
Trigger - Turn off (This trigger)
Horde1
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Set Variable Set Loc1 = (Center of Horde_Spawn_Point <gen>)
Unit - Create 5 . Orcish Raider for Player 8 (Pink) at Loc1 facing Default building facing degrees
Unit - Create 3 . Shaman for Player 8 (Pink) at Loc1 facing Default building facing degrees
Custom script: call RemoveLocation( udg_Loc1 )
Elite
Events
Time - Every 120.00 seconds of game time
Conditions
Actions
Set Variable Set Loc1 = (Center of Horde_Spawn_Point <gen>)
Unit - Create 1 . Horde Elite for Player 8 (Pink) at Loc1 facing Default building facing degrees
Custom script: call RemoveLocation( udg_Loc1 )
Invasion Stop
Events
Time - Elapsed game time is 900.00 seconds
Conditions
Actions
Trigger - Turn off Horde1 <gen>
Trigger - Turn off Elite <gen>
Upgrade 1
Events
Time - Elapsed game time is 330.00 seconds
Conditions
Actions
Unit - Order Orc Upgrader 0024 <gen> to research R001 (Unexpected type: 'techcode')
Upgrade 2
Events
Time - Elapsed game time is 630.00 seconds
Conditions
Actions
Unit - Order Orc Upgrader 0024 <gen> to research R001 (Unexpected type: 'techcode')
Upgrade 3
Events
Time - Elapsed game time is 900.00 seconds
Conditions
Actions
Unit - Order Orc Upgrader 0024 <gen> to research R001 (Unexpected type: 'techcode')
Horde1 Move
Events
Unit - A unit enters Horde_Spawn_Point <gen>
Conditions
Actions
Unit - Order (Entering unit) to Attack . King 0003 <gen>
Bounty
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Turn Gives bounty On for (Picked player)
Activate
Events
Time - Elapsed game time is 930.00 seconds
Conditions
Actions
Trigger - Turn on Go <gen>
Game - Display to (All players) the text: The Invasion has stopped! You may now enter the portal to the north and retaliate!
Go
Events
Unit - A unit comes within 150.00 of Portal 0153 <gen>
Conditions
(Owner of (Triggering unit)) Not equal to Player 8 (Pink)
Actions
Unit - Move (Triggering unit) instantly to (Position of Portal 0154 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of Portal 0154 <gen>) over 1.00 seconds
Units
Events
Time - Elapsed game time is 930.00 seconds
Conditions
Actions
Set Variable Set Loc1 = (Center of HeroSpawn <gen>)
Unit - Create 15 . Guard for Player 7 (Green) at Loc1 facing Default building facing degrees
Unit - Order (Last created unit) to Move To . (Position of Portal 0153 <gen>)
Unit - Create 3 . Captain for Player 7 (Green) at Loc1 facing Default building facing degrees
Unit - Order (Last created unit) to Move To . (Position of Portal 0153 <gen>)
Unit - Create 10 . Archer for Player 7 (Green) at Loc1 facing Default building facing degrees
Unit - Order (Last created unit) to Move To . (Position of Portal 0153 <gen>)
Custom script: call RemoveLocation( udg_Loc1 )
Move Final
Events
Unit - A unit comes within 200.00 of Portal 0154 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
Actions
Unit - Order (Triggering unit) to Attack . War Chief 0152 <gen>
Create
Events
Time - Elapsed game time is 30.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for (Last started timer) with title Invasion Remaining
Start
Events
Time - Elapsed game time is 32.00 seconds
Conditions
Actions
Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 900.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.