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
WhirlPool by NiCESUiT.w3x
Variables
Map
OverView
Message
whirl Pool
Stuff you can change
Whirl pool
Whirl
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
Angle
real
No
caster
unit
No
Distance
real
No
FinalBlow
group
No
TD
terraindeformation
No
WF_p
location
No
WP_p
location
No
xLcuRem
unit
Yes
OverView
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Message
Events
Time - Elapsed game time is 5 seconds
Conditions
Actions
Game - Display to (All players) for 15.00 seconds the text: Whirl Pool Spell by NicesuitThings you can Change:Change Distance to Distance + x where x makes the whirlpool expand or come inwardsChange Angle to Angle + x where x controls the speed of the spin, 0 = no spinn -x = oppisite directionModify Damage
Change Distance to Distance+x where x makes the whirlpool expand or come inwards
Change Angle to Angle + x where x controls the speed of the spin, 0 = no spinn -x = oppisite direction
Modify Damage
Stuff you can change
Events
Conditions
Actions
Whirl pool
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Whirl Pool
Actions
Environment - Stop TD over 2.00 seconds
Unit - Remove xLcuRem[69] from the game
Set Variable Set caster = (Casting unit)
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
Unit - Remove xLcuRem[(Integer A)] from the game
Set Variable Set Angle = "0.00"
Set Variable Set Distance = "0.00"
Set Variable Set WP_p = (Target point of ability being cast)
Environment - Create a 20.00 second Temporary crater deformation at WP_p with radius 400.00 and depth 550.00
Set Variable Set TD = (Last created terrain deformation)
Unit - Create 1 . Dumm2 for (Owner of caster) at WP_p facing Default building facing degrees
Set Variable Set xLcuRem[69] = (Last created unit)
-------- Unit Creation --------
Set Variable Set WF_p = (WP_p offset by 100.00 towards 60.00 degrees.)
Unit - Create 1 Dumm for (Owner of caster) at WF_p facing WP_p
Set Variable Set xLcuRem[1] = (Last created unit)
Custom script: call RemoveLocation(udg_WF_p)
Set Variable Set WF_p = (WP_p offset by 100.00 towards 120.00 degrees.)
Unit - Create 1 Dumm for (Owner of caster) at WF_p facing WP_p
Set Variable Set xLcuRem[2] = (Last created unit)
Custom script: call RemoveLocation(udg_WF_p)
Set Variable Set WF_p = (WP_p offset by 100.00 towards 180.00 degrees.)
Unit - Create 1 Dumm for (Owner of caster) at WF_p facing WP_p
Set Variable Set xLcuRem[3] = (Last created unit)
Custom script: call RemoveLocation(udg_WF_p)
Set Variable Set WF_p = (WP_p offset by 100.00 towards 240.00 degrees.)
Unit - Create 1 Dumm for (Owner of caster) at WF_p facing WP_p
Set Variable Set xLcuRem[4] = (Last created unit)
Custom script: call RemoveLocation(udg_WF_p)
Set Variable Set WF_p = (WP_p offset by 100.00 towards 300.00 degrees.)
Unit - Create 1 Dumm for (Owner of caster) at WF_p facing WP_p
Set Variable Set xLcuRem[5] = (Last created unit)
Custom script: call RemoveLocation(udg_WF_p)
Set Variable Set WF_p = (WP_p offset by 100.00 towards 0.00 degrees.)
Unit - Create 1 Dumm for (Owner of caster) at WF_p facing WP_p
Set Variable Set xLcuRem[6] = (Last created unit)
Custom script: call RemoveLocation(udg_WF_p)
-------- Unit Creation --------
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
Unit - Make xLcuRem[(Integer A)] face ((Facing of xLcuRem[(Integer A)]) + 180.00) over 0 seconds
Set Variable Set Distance = "500.00"
For each (Integer A) from 1 to 9 , do (Actions)
Loop - Actions
Set Variable Set Distance = (Distance - 79.00)
Set Variable Set WF_p = (WP_p offset by Distance towards (45.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (90.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (135.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (180.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (225.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (270.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (315.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (0.00 + Angle) degrees.)
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Unit Group - Pick every unit in FinalBlow and do (Cause caster to damage (Picked unit), dealing 10.00 damage of attack type Spells and damage type Normal)
Special Effect - Create a special effect at WF_p using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Wait 0.10 seconds
Wait 0.33 seconds
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
Animation - Change xLcuRem[(Integer A)] 's animation speed to 0.00 % of its original speed
Animation - Change xLcuRem[(Integer A)] 's vertex coloring to ( 100 %, 100 %, 100 %) with 60.00 % transparency
Destructible - Pick every destructible within 450.00 of WP_p and do (Kill (Picked destructible))
Set Variable Set Distance = "260.00"
Trigger - Turn on Whirl <gen>
Wait 10.00 seconds
Environment - Stop TD over 2.00 seconds
Unit - Remove xLcuRem[69] from the game
Wait 2.00 seconds
Trigger - Turn off Whirl <gen>
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
Unit - Order xLcuRem[(Integer A)] to Orc Tauren Chieftain - Shockwave . WP_p
Wait 1.00 seconds
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
Unit - Remove xLcuRem[(Integer A)] from the game
Custom script: call RemoveLocation(udg_WP_p)
Whirl
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set Variable Set Distance = (Distance + 0.15)
Set Variable Set Angle = (Angle + 8.00)
Set Variable Set WF_p = (WP_p offset by Distance towards (60.00 + Angle) degrees.)
Unit - Move xLcuRem[1] instantly to WF_p , facing (60.00 + Angle) degrees
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (120.00 + Angle) degrees.)
Unit - Move xLcuRem[2] instantly to WF_p , facing (120.00 + Angle) degrees
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (Angle + 180.00) degrees.)
Unit - Move xLcuRem[3] instantly to WF_p , facing (180.00 + Angle) degrees
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (240.00 + Angle) degrees.)
Unit - Move xLcuRem[4] instantly to WF_p , facing (240.00 + Angle) degrees
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (300.00 + Angle) degrees.)
Unit - Move xLcuRem[5] instantly to WF_p , facing (300.00 + Angle) degrees
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
Set Variable Set WF_p = (WP_p offset by Distance towards (Angle + 0.00) degrees.)
Unit - Move xLcuRem[6] instantly to WF_p , facing (0.00 + Angle) degrees
Set Variable Set FinalBlow = (Units within 150.00 of WF_p matching ((((Matching unit) belongs to an ally of (Owner of caster).) Equal to False) and (((Matching unit) is A structure) Equal to False)).)
Unit Group - Pick every unit in FinalBlow and do (Move (Picked unit) instantly to WF_p)
Custom script: call RemoveLocation(udg_WF_p)
Custom script: call DestroyGroup(udg_FinalBlow)
For each (Integer A) from 1 to 6 , do (Actions)
Loop - Actions
Animation - Change xLcuRem[(Integer A)] 's size to ( (100.00 + (Distance / 2.00)) %, (100.00 + (Distance / 2.00)) %, (100.00 + (Distance / 2.00)) %) of its original size
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.