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
Notheren Defend.w3x
Variables
Region Home
Fight
Enter Real
Enter Real 2
Enter First
Leave First
RunWay
Left
One
Middle
Right
Two
One2
Two2
Invasion
You Lost
Die
Kills
Volcano Spawn
Cheat
Gold
Triggered Spells
Ice Shard
Map Start
Time
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
LocPoint1
location
No
LocPoint2
location
No
LocPoint3
location
No
LocReal
real
No
Spec1
effect
No
Spec2
effect
No
TempUnitGroup
group
No
Fight
Events
Game - The in-game time of day becomes Equal to 6.00
Conditions
Actions
Unit - Move Frost Guardian 0001 <gen> instantly to (Center of Invade <gen>)
Enter Real
Events
Unit - A unit enters Home <gen>
Conditions
(In-game time of day) Greater than or equal to 18.00
Actions
Floating Text - Create floating text that reads It is free to go in.. above (Entering unit) with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Wait 1.00 seconds
Unit - Move (Triggering unit) instantly to (Center of City <gen>)
Enter Real 2
Events
Unit - A unit enters Home <gen>
Conditions
(In-game time of day) Less than or equal to 5.50
Actions
Floating Text - Create floating text that reads It is free to go in.. above Frost Guardian 0001 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Wait 1.00 seconds
Unit - Move (Triggering unit) instantly to (Center of City <gen>)
Enter First
Events
Unit - A unit enters Home <gen>
Conditions
(In-game time of day) Less than or equal to 18.00
Actions
Wait 1.50 seconds
Floating Text - Create floating text that reads .I should only go Home in the times of Darkness, as the Fire minions isnt far as strong, when The Great Moon has the power, instead of the Flaming Sun.. above Frost Guardian 0001 <gen> with Z offset 0 , using font size 10 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Leave First
Events
Unit - A unit leaves Home <gen>
Conditions
Actions
Floating Text - Destroy (Last created floating text)
Left
Events
Map initialization
Conditions
Actions
Unit - Create 1 . Fire Minion for Player 6 (Orange) at (Center of Lava_Spawn_Left <gen>) facing Default building facing degrees
Wait 8.00 seconds
Unit - Create 1 . Fire Minion for Player 6 (Orange) at (Center of Lava_Spawn_Left <gen>) facing Default building facing degrees
One
Events
Unit - A unit enters Lava_Spawn_Left <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Lava_Left <gen>)
Middle
Events
Unit - A unit enters Lava_Middle <gen>
Conditions
Actions
Do nothing
Right
Events
Map initialization
Conditions
Actions
Unit - Create 1 . Fire Minion for Player 6 (Orange) at (Center of Lava_Spawn_Right <gen>) facing Default building facing degrees
Wait 8.00 seconds
Unit - Create 1 . Fire Minion for Player 6 (Orange) at (Center of Lava_Spawn_Right <gen>) facing Default building facing degrees
Two
Events
Unit - A unit enters Lava_Spawn_Right <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Lava_Right <gen>)
One2
Events
Unit - A unit enters Lava_Left <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Lava_Middle <gen>)
Two2
Events
Unit - A unit enters Lava_Right <gen>
Conditions
Actions
Unit - Order (Triggering unit) to Move To . (Center of Lava_Middle <gen>)
Invasion
Events
Unit - A unit enters Invade <gen>
Conditions
((Triggering unit) belongs to an enemy of Player 1 (Red).) Equal to True
Actions
Unit - Explode (Triggering unit) .
Die
Events
Unit - Frost Guardian 0001 <gen> Dies
Conditions
Actions
Game - Display to Player Group - Player 1 (Red) the text: You lost.. Play again!
Game - Defeat Player 1 (Red) with the message: You Lost! Play this again!
Volcano Spawn
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
Actions
Player - Add 50 to Player 1 (Red) . Current gold
Gold
Events
Player - Player 1 (Red) types a chat message containing I am TheBlooddancer (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Player - Add 1000 to Player 1 (Red) . Current gold
Ice Shard
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Frost Wings
Actions
Set Variable Set LocPoint1 = (Position of (Casting unit))
Set Variable Set LocPoint2 = (Target point of ability being cast)
Set Variable Set LocPoint3 = (LocPoint1 offset by 50.00 towards (Angle from LocPoint1 to LocPoint2) degrees.)
Set Variable Set TempUnitGroup = (Units within 512 of LocPoint1 matching (((Matching unit) is A Hero) Equal to True).)
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
Camera - Shake the camera for (Owner of (Picked unit)) with magnitude (Real(((Level of (Ability being cast) for (Casting unit)) x 2)))
Camera - Sway the camera target for (Owner of (Picked unit)) with magnitude (Real(((Level of (Ability being cast) for (Casting unit)) x 3))) and velocity 200.00
Special Effect - Create a special effect at LocPoint3 using Objects\Spawnmodels\NightElf\NEDeathSmall\NEDeathSmall.mdl
Set Variable Set Spec1 = (Last created special effect)
Special Effect - Create a special effect at LocPoint3 using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Set Variable Set Spec2 = (Last created special effect)
Unit - Create 1 . (Unit-type of (Triggering unit)) for (Owner of (Casting unit)) at LocPoint3 facing (Angle from LocPoint1 to LocPoint2) degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Animation - Change (Last created unit) 's size to ( (250.00 + (Real(((Level of (Ability being cast) for (Casting unit)) x 10)))) %, (250.00 + (Real(((Level of (Ability being cast) for (Casting unit)) x 10)))) %, (250.00 + (Real(((Level of (Ability being cast) for (Casting unit)) x 10)))) %) of its original size
Set Variable Set LocReal = ((((Real((Intelligence of (Triggering unit) (Exclude bonuses)))) x (Real((Level of (Ability being cast) for (Triggering unit))))) x 2.00) + 100.00)
Unit - Order (Last created unit) to Move To . LocPoint2
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
Set Variable Set LocPoint3 = (LocPoint1 offset by ((Real((Integer A))) x 200.00) towards (Angle from LocPoint1 to LocPoint2) degrees.)
Unit - Create 1 . (Unit-type of (Triggering unit)) for (Owner of (Triggering unit)) at LocPoint3 facing Default building facing degrees
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Set Variable Set TempUnitGroup = (Units within 300.00 of LocPoint3 matching ((((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit)).) Equal to False) and (((Matching unit) is An Ancient) Equal to False)).)
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
Unit - Cause (Last created unit) to damage (Picked unit) , dealing LocReal damage of attack type Normal and damage type Normal
Unit - Add classification of An Ancient to (Picked unit)
Set Variable Set LocPoint3 = (LocPoint1 offset by ((Real((Integer A))) x 200.00) towards (Angle from LocPoint1 to LocPoint2) degrees.)
Set Variable Set TempUnitGroup = (Units within 300.00 of LocPoint3 matching ((((Owner of (Matching unit)) is an ally of (Owner of (Triggering unit)).) Equal to False) and (((Matching unit) is An Ancient) Equal to False)).)
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
Unit - Remove classification of An Ancient from (Picked unit)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Camera - Stop swaying/shaking the camera for (Picked player) .
Special Effect - Destroy Spec1
Special Effect - Destroy Spec2
Time
Events
Map initialization
Conditions
Actions
Game - Set the time of day to 12
Floating Text - Create floating text that reads Where the City Should be placed- with shops and Following. at (Center of Where_City_Should_Be <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.