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
GUI Spells.w3x
Variables
Abilities
Ravage
Fire Blast
Spirit Raise
Energy Scramble
Beetle Swarm
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
Caster
unit
No
Finish
location
No
Point
location
No
Start
location
No
Target
unit
No
Temp_UnitGroup
group
No
Ravage
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Ravage (Caster)
Actions
Set Variable Set Caster = (Triggering unit)
For each (Integer A) from 1 to 20 , do (Actions)
Loop - Actions
Unit - Create 1 . Ravage (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 1.00 towards ((Real((Integer A))) x (360.00 / 20.00)) degrees.) facing Default building facing degrees
Unit - Add Ravage (Dummy) to (Last created unit)
Unit - Set level of Ravage (Dummy) for (Last created unit) to (Level of Ravage (Dummy) for Caster)
Set Variable Set Point = ((Position of Caster) offset by 500.00 towards ((Real((Integer A))) x (360.00 / 20.00)) degrees.)
Unit - Order (Last created unit) to Undead Crypt Lord - Impale . Point
Fire Blast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fire Blast (Caster)
Actions
Set Variable Set Caster = (Triggering unit)
Set Variable Set Target = (Target unit of ability being cast)
Unit Group - Remove all units from Temp_UnitGroup .
Wait ((Distance between (Position of Caster) and (Position of Target)) / 1000.00) seconds
For each (Integer A) from 1 to 36 , do (Actions)
Loop - Actions
Set Variable Set Point = ((Position of Target) offset by 500.00 towards ((Real((Integer A))) x (360.00 / 36.00)) degrees.)
Unit - Create 1 Fire Blast (Dummy) for (Owner of Caster) at ((Position of Target) offset by 1.00 towards ((Real((Integer A))) x (360.00 / 36.00)) degrees.) facing Point
Unit - Add a (((Distance between Point and (Position of Target)) / 300.00) + 0.75) second Generic expiration timer to (Last created unit)
Unit - Add Fire Blast (Dummy) to (Last created unit)
Unit - Set level of Fire Blast (Dummy) for (Last created unit) to 1
Unit - Order (Last created unit) to Move To . Point
Unit Group - Add (Last created unit) to Temp_UnitGroup
Wait ((Distance between Point and (Position of Target)) / 300.00) seconds
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Abilities\Spells\Other\Incinerate\FireLordDeathExplode.mdl
Unit - Order (Picked unit) to Orc Tauren Chieftain - War Stomp .
Special Effect - Destroy (Last created special effect)
Spirit Raise
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Spirit Raise (Caster)
Actions
Set Variable Set Caster = (Triggering unit)
For each (Integer A) from 1 to 10 , do (Actions)
Loop - Actions
Unit - Create 1 Spirit Raise (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 200.00 towards ((Real((Integer A))) x (360.00 / 10.00)) degrees.) facing (Position of Caster)
Unit - Set level of Spirit Raise (Dummy) for (Last created unit) to (Level of Spirit Raise (Caster) for Caster)
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Wait 1.00 seconds
For each (Integer A) from 1 to 15 , do (Actions)
Loop - Actions
Unit - Create 1 Spirit Raise (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 450.00 towards ((Real((Integer A))) x (360.00 / 15.00)) degrees.) facing (Position of Caster)
Unit - Set level of Spirit Raise (Dummy) for (Last created unit) to (Level of Spirit Raise (Caster) for Caster)
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Wait 1.00 seconds
For each (Integer A) from 1 to 20 , do (Actions)
Loop - Actions
Unit - Create 1 Spirit Raise (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 600.00 towards ((Real((Integer A))) x (360.00 / 20.00)) degrees.) facing (Position of Caster)
Unit - Set level of Spirit Raise (Dummy) for (Last created unit) to (Level of Spirit Raise (Caster) for Caster)
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Wait 1.00 seconds
For each (Integer A) from 1 to 25 , do (Actions)
Loop - Actions
Unit - Create 1 Spirit Raise (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 850.00 towards ((Real((Integer A))) x (360.00 / 25.00)) degrees.) facing (Position of Caster)
Unit - Set level of Spirit Raise (Dummy) for (Last created unit) to (Level of Spirit Raise (Caster) for Caster)
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap .
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Energy Scramble
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Energy Scramble (Caster)
Actions
Set Variable Set Caster = (Triggering unit)
For each (Integer A) from 1 to 24 , do (Actions)
Loop - Actions
Set Variable Set Point = ((Position of Caster) offset by 700.00 towards ((Real((Integer A))) x (360.00 / 24.00)) degrees.)
Unit - Create 1 Energy Scrable Large (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 100.00 towards ((Real((Integer A))) x (360.00 / 24.00)) degrees.) facing (Position of Caster)
Unit - Add a ((Distance between (Position of Caster) and Point) / 350.00) second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Move To . Point
Wait ((Distance between Point and (Position of Caster)) / 350.00) seconds
Special Effect - Create a special effect at Point using Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
Special Effect - Destroy (Last created special effect)
For each (Integer A) from 1 to 100 , do (Actions)
Loop - Actions
Set Variable Set Point = ((Position of Caster) offset by 700.00 towards ((Real((Integer A))) x (360.00 / 100.00)) degrees.)
Unit - Create 1 Energy Scrable Large (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 500.00 towards ((Real((Integer A))) x (360.00 / 100.00)) degrees.) facing (Position of Caster)
Unit - Add a ((Distance between (Position of Caster) and Point) / 522.00) second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Move To . (Position of Caster)
Wait ((Distance between Point and (Position of Caster)) / 522.00) seconds
Special Effect - Create a special effect at Point using Abilities\Spells\Orc\LightningShield\LightningShieldTarget.mdl
Special Effect - Destroy (Last created special effect)
Beetle Swarm
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Beetle Swarm (Caster)
Actions
Set Variable Set Caster = (Triggering unit)
Set Variable Set Start = ((Position of Caster) offset by 200.00 towards ((Facing of Caster) - 45.00) degrees.)
Set Variable Set Finish = ((Position of Caster) offset by 200.00 towards ((Facing of Caster) + 45.00) degrees.)
Unit Group - Remove all units from Temp_UnitGroup .
For each (Integer A) from 1 to 12 , do (Actions)
Loop - Actions
Unit - Create 1 Carrion Beetle (Dummy) for (Owner of Caster) at ((Position of Caster) offset by 150.00 towards ((Real((Integer A))) x (360.00 / 12.00)) degrees.) facing ((Position of Caster) offset by 200.00 towards ((Real((Integer A))) x (360.00 / 12.00)) degrees.)
Unit - Set level of Beetle Swarm (Dummy) for (Last created unit) to (Level of Beetle Swarm (Caster) for Caster)
Unit Group - Add (Last created unit) to Temp_UnitGroup
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
Loop - Actions
Set Variable Set Point = ((Position of (Picked unit)) offset by 200.00 towards (Facing of (Picked unit)) degrees.)
Unit - Order (Picked unit) to Move To . Point
Wait 0.75 seconds
-------- 1st Slam --------
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Human Mountain King - Thunder Clap .
Set Variable Set Point = ((Position of (Picked unit)) offset by 200.00 towards (Facing of (Picked unit)) degrees.)
Unit - Order (Picked unit) to Move To . Point
Wait 0.75 seconds
-------- 2nd Slam --------
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Human Mountain King - Thunder Clap .
Set Variable Set Point = ((Position of (Picked unit)) offset by 200.00 towards (Facing of (Picked unit)) degrees.)
Unit - Order (Picked unit) to Move To . Point
-------- 3rd Slam --------
Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Human Mountain King - Thunder Clap .
Unit - Add a 1.00 second Generic expiration timer to (Picked unit)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
Special Effect - Destroy (Last created special effect)
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of (Picked unit) using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
Special Effect - Destroy (Last created special effect)
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.