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
Force Staff.w3x
Variables
Initialization
Force Staff Cast
Force Staff Loop
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
FS_Location
location
No
FS_Target
unit
No
Force Staff Cast
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Force Staff
Actions
Set Variable Set FS_Target = (Target unit of ability being cast)
Set Variable Set FS_Location = (Position of FS_Target)
Trigger - Turn on Force_Staff_Loop <gen>
Wait 0.30 seconds
Trigger - Turn off Force_Staff_Loop <gen>
Force Staff Loop
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set FS_Location = (Position of FS_Target)
Set Variable Set FS_Location = (FS_Location offset by 20.00 towards (Facing of FS_Target) degrees.)
Unit - Move FS_Target instantly to FS_Location
Destructible - Pick every destructible within 175.00 of (Position of FS_Target) and do (Kill (Picked destructible))
For each (Integer A) from 1 to 1 , do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the origin (Unexpected type: 'attachpoint') of FS_Target using Abilities\Spells\Human\FlakCannons\FlakTarget.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.