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
TestDien.w3x
Variables
test
Magical Drain
Control Body
Control Body Loop 1
Control Body Loop 2
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
Control_Body_Caster
unit
Yes
Control_Body_Height
real
Yes
Control_Body_Target
unit
Yes
Magical Drain
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Magical Drain
Actions
Lightning - Create a Chain Lightning - Primary lightning effect from source (Position of (Triggering unit)) to target (Position of (Target unit of ability being cast))
Lightning - Change color of (Last created lightning effect) to ( 0.75 0.25 0.85 ) with 0.75 alpha
Unit - Create 1 . Hidden Dummy for (Triggering player) at (Target point of ability being cast) facing Default building facing degrees
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Add Magical Drain to (Last created unit)
Unit - Set level of Magical Drain for (Last created unit) to (Integer((Real((Level of Magical Drain for (Triggering unit))))))
Unit - Order (Last created unit) to Human Sorceress - Slow . (Target unit of ability being cast)
Wait 0.50 seconds
Lightning - Destroy (Last created lightning effect)
Control Body
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Control Body
Actions
Set Variable Set Control_Body_Target[1] = (Triggering unit)
Set Variable Set Control_Body_Height[1] = "0.00"
Set Variable Set Control_Body_Target[1] = (Target unit of ability being cast)
Unit - Pause Control_Body_Target[1]
Unit - Add Storm Crow Form to Control_Body_Target[1]
Unit - Remove Storm Crow Form from Control_Body_Target[1]
Trigger - Turn on Control_Body_Loop_1 <gen>
Wait 2.00 seconds
Trigger - Turn off Control_Body_Loop_1 <gen>
Trigger - Turn on Control_Body_Loop_2 <gen>
Wait 2 seconds
Trigger - Turn off Control_Body_Loop_2 <gen>
Animation - Change Control_Body_Target[1] flying height to 0.00 at 0.00
Wait 0.25 seconds
Unit - Unpause Control_Body_Target[1]
Control Body Loop 1
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Set Variable Set Control_Body_Height[1] = (Control_Body_Height[1] + 4.00)
Animation - Change Control_Body_Target[1] flying height to Control_Body_Height[1] at 0.00
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Control_Body_Target[1] using Abilities\Spells\Items\AIil\AIilTarget.mdl
Unit - Cause Control_Body_Caster[1] to damage Control_Body_Target[1] , dealing (Real((Level of Control Body for Control_Body_Caster[1]))) damage of attack type Spells and damage type Normal
Control Body Loop 2
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Set Variable Set Control_Body_Height[1] = (Control_Body_Height[1] - 4.00)
Animation - Change Control_Body_Target[1] flying height to Control_Body_Height[1] at 0.00
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Control_Body_Target[1] using Abilities\Spells\Items\AIil\AIilTarget.mdl
Unit - Cause Control_Body_Caster[1] to damage Control_Body_Target[1] , dealing (Real((Level of Control Body for Control_Body_Caster[1]))) damage of attack type Spells and damage type Normal
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.