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
Venom stomp.w3x
Variables
Venom stomp
Venom stomp Variables
Venom stomp Cast
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
VS_Caster
unit
No
VS_Dummy
unit
No
VS_Effect
unit
No
VS_EffectDuration
real
Yes
VS_EffectOnOff
boolean
No
VS_EffectScale
real
Yes
VS_Group
group
No
VS_Level
integer
No
VS_Range
real
Yes
Venom stomp Variables
Events
Map initialization
Conditions
Actions
-------- The max range for cast the venom --------
Set Variable Set VS_Range[1] = "300.00"
Set Variable Set VS_Range[2] = "350.00"
Set Variable Set VS_Range[3] = "400.00"
Set Variable Set VS_Range[4] = "450.00"
-------- The duration off the effect --------
Set Variable Set VS_EffectDuration[1] = "0.15"
Set Variable Set VS_EffectDuration[2] = "0.30"
Set Variable Set VS_EffectDuration[3] = "0.45"
Set Variable Set VS_EffectDuration[4] = "0.60"
-------- Scale of the effect --------
Set Variable Set VS_EffectScale[1] = "100.00"
Set Variable Set VS_EffectScale[2] = "200.00"
Set Variable Set VS_EffectScale[3] = "300.00"
Set Variable Set VS_EffectScale[4] = "400.00"
-------- Turn on/off the effect --------
Set Variable Set VS_EffectOnOff = "true"
Default melee game initialization for all players
Venom stomp Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Venom stomp
Actions
Set Variable Set VS_Caster = (Triggering unit)
Set Variable Set VS_Level = (Level of Venom stomp for VS_Caster)
Set Variable Set VS_Group = (Units within VS_Range[VS_Level] of (Position of VS_Caster) matching (((((Matching unit) is A structure) Equal to False) and (((Matching unit) is Magic Immune) Equal to False)) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of VS_Caster).) Equal to True))).)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
VS_EffectOnOff Equal to True
Then - Actions
Unit - Create 1 . Venom stomp [Effect] for (Owner of VS_Caster) at (Position of VS_Caster) facing Default building facing degrees
Set Variable Set VS_Effect = (Last created unit)
Animation - Change VS_Effect 's size to ( VS_EffectScale[VS_Level] %, VS_EffectScale[VS_Level] %, VS_EffectScale[VS_Level] %) of its original size
Unit - Add a VS_EffectDuration[VS_Level] second Generic expiration timer to VS_Effect
Else - Actions
Unit Group - Pick every unit in VS_Group and do (Actions)
Loop - Actions
Unit - Create (Number of units in VS_Group) . Venom stomp [Dummy] for (Owner of VS_Caster) at (Position of VS_Caster) facing (Angle from (Position of VS_Caster) to (Position of (Picked unit))) degrees
Set Variable Set VS_Dummy = (Last created unit)
Unit - Set level of Venom stomp [Dummy] for VS_Dummy to VS_Level
Unit - Order VS_Dummy to Night Elf Warden - Shadow Strike . (Picked unit)
Unit - Add a 0.50 second Generic expiration timer to VS_Dummy
Set Variable Set VS_Caster = No unit
Set Variable Set VS_Dummy = No unit
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
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.