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
Shiva's Arrow.w3x
Variables
Initialization
Melee Initialization
Spell
s
PArt
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
Group
group
No
Last
unit
Yes
Pick
unit
No
Point
location
Yes
Real
real
Yes
Target
location
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Floating Text - Create floating text that reads Like Our Fan Page :DJust Search "Crewmembo"And Pick The One That Has Philippine Flag On It...Thanx...:D at (Position of Caster 0000 <gen>) with Z offset 0 , using font size 13.00 , color ( 100 %, 100 %, 100 %), and 0 % transparency
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
s
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shiva's Arrow [W]
Actions
Set Variable Set Caster = (Triggering unit)
Set Variable Set Point[1] = (Position of Caster)
Set Variable Set Point[2] = (Target point of ability being cast)
Set Variable Set Real[1] = "0.75"
Unit - Make Caster face Point[2] over 0.01 seconds
Unit - Create 1 Dummy Arrow for (Owner of Caster) at (Position of Caster) facing Point[2]
Set Variable Set Last[1] = (Last created unit)
Unit - Create 1 . Dummy Caster for (Owner of Caster) at (Position of Caster) facing (Facing of (Triggering unit)) degrees
Set Variable Set Last[2] = (Last created unit)
Unit - Add a 3.00 second Generic expiration timer to Last[2]
Unit - Add a 3.00 second Generic expiration timer to Last[1]
Trigger - Turn on PArt <gen>
Wait until ((Real[1] Equal to 1.00) and ((Number of units in Group) Equal to 1)) , checking every 0.10 seconds
Trigger - Turn off PArt <gen>
PArt
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Unit - Move Last[1] instantly to ((Position of Last[1]) offset by 50.00 towards (Facing of Last[1]) degrees.)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Last[1] is dead) Equal to True
Then - Actions
Special Effect - Create a special effect at (Position of Last[1]) using Shiva'sWrath.mdx
Else - Actions
Unit Group - Pick every unit in (Units within 125.00 of (Position of Last[1]) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of Caster).) Equal to True) and ((((Matching unit) is dead) Equal to False) and ((((Matching unit) is alive) Equal to True) and (((Triggering unit) is A flying unit) Equal to False))))).) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) is in (Last created unit group).) Equal to False
Then - Actions
Set Variable Set Group = (Last created unit group)
Set Variable Set Pick = (Picked unit)
Unit - Order Last[2] to Undead Lich - Frost Nova . Pick
Unit Group - Add (Picked unit) to (Last created unit group)
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.