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
Propulsion v1.0.w3x
Variables
Initialization
P
P Missile
P DFX
P MoveIt
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
P_caster
unit
No
P_dummy
unit
No
P_dummy_footpin
unit
No
P_taget_point
location
No
P_target
unit
No
P
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Propulsion
Actions
Set Variable Set P_caster = (Casting unit)
Set Variable Set P_taget_point = (Target point of ability being cast)
Unit - Create 1 . dummy (missile) for (Owner of P_caster) at ((Position of P_caster) offset by 50.00 towards (Facing of P_caster) degrees.) facing (Facing of P_caster) degrees
Set Variable Set P_dummy = (Last created unit)
Unit - Make P_dummy Explode on death
Animation - Change P_dummy 's vertex coloring to ( 100 %, 100 %, 100 %) with 60.00 % transparency
Unit - Change color of P_dummy to (Color of Neutral Passive)
P Missile
Events
Unit - A unit enters (Playable map area)
Conditions
(Entering unit) Equal to P_dummy
Actions
Trigger - Turn on P_MoveIt <gen>
Trigger - Run P_MoveIt <gen> (checking conditions)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Playable map area) contains P_dummy) Equal to True
Then - Actions
Unit - Move P_dummy instantly to ((Position of P_dummy) offset by 20.00 towards (Facing of P_dummy) degrees.) , facing P_taget_point
Unit - Create 1 . dummy for (Owner of P_caster) at (Position of P_dummy) facing (Facing of P_dummy) degrees
Set Variable Set P_dummy_footpin = (Last created unit)
Unit - Add a 0.30 second Generic expiration timer to P_dummy_footpin
Animation - Change P_dummy_footpin 's vertex coloring to ( 100 %, 100 %, 100 %) with 60.00 % transparency
Unit - Change color of P_dummy_footpin to (Color of Neutral Passive)
Unit - Make P_dummy_footpin Explode on death
Unit Group - Pick every unit in (Units within 128.00 of (Position of P_dummy) matching ((((Matching unit) is A structure) Not equal to True) and ((((Matching unit) is Magic Immune) Not equal to True) and ((((Matching unit) is alive) Equal to True) and (((Matching unit) belongs to an ally of (Owner of P_caster).) Not equal to True)))).) and do (Set VariableSet P_target = (Picked unit))
Else - Actions
Unit - Add a 0.01 second Generic expiration timer to P_dummy
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Region centered at P_taget_point with size (128.00, 128.00)) contains P_dummy) Equal to True
Then - Actions
Unit - Cause P_dummy to damage P_target , dealing (75.00 x (Real((Level of Propulsion for P_caster)))) damage of attack type Spells and damage type Magic
Unit - Add a 0.01 second Generic expiration timer to P_dummy
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Region centered at (Position of P_dummy) with size (128.00, 128.00)) contains P_target) Equal to True
Then - Actions
Unit - Cause P_dummy to damage P_target , dealing (75.00 x (Real((Level of Propulsion for P_caster)))) damage of attack type Spells and damage type Magic
Unit - Add a 0.01 second Generic expiration timer to P_dummy
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.