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
Shield Spray.w3x
Variables
Untitled Category
kalkan
kalkan init
ref
Untitled Trigger 001
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
guk
group
No
Positioncaster
location
No
PositionTarg
location
No
targ
unit
No
kalkan
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Set Variable Set guk = (Units within 250.00 of (Position of caster) matching (((Matching unit) Not equal to caster) and (((Matching unit) belongs to an ally of (Owner of caster).) Equal to False)).)
Unit Group - Pick every unit in guk and do (Actions)
Loop - Actions
Set Variable Set targ = (Picked unit)
Set Variable Set angle = (Angle from (Position of caster) to (Position of targ))
Set Variable Set PositionTarg = (Position of targ)
Special Effect - Create a special effect at PositionTarg using Abilities\Spells\Human\Slow\SlowCaster.mdl
Unit - Move targ instantly to (PositionTarg offset by 40.00 towards angle degrees.) , facing PositionTarg
Special Effect - Destroy (Last created special effect)
Custom script: call DestroyGroup (udg_guk)
kalkan init
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Shield
Actions
Set Variable Set caster = (Casting unit)
Set Variable Set Positioncaster = (Position of caster)
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.