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
Gray Ice Make Cannon.w3x
Variables
Ice Make Cannon
Ice Make Cannon
Ice Make Cannon Slide
Ice Make Cannon Explosion
Dying Unit
No Need
Visibilty
Display
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
Yes
Point
location
Yes
Unit
unit
Yes
Ice Make Cannon
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |c000000ffIce Make:Cannon|r
Actions
Set Variable Set Unit[1] = (Casting unit)
Set Variable Set Point[1] = (Position of Unit[1])
Set Variable Set Point[2] = (Target point of ability being cast)
Set Variable Set Point[3] = (Point[1] offset by 100.00 towards (Facing of Unit[1]) degrees.)
Set Variable Set Angle[1] = (Angle from Point[1] to Point[2])
Unit - Pause Unit[1]
Animation - Play Unit[1] 's Spell animation
Wait 1.00 seconds
Unit - Unpause Unit[1]
Unit - Create 1 Ice Effect for (Owner of Unit[1]) at Point[3] facing Point[2]
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Ice Effect 2 for (Owner of Unit[1]) at Point[3] facing Point[2]
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Ice Bomb for (Owner of Unit[1]) at Point[3] facing Point[2]
Animation - Change (Last created unit) flying height to 200.00 at 0.00
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Set Variable Set Unit[2] = (Last created unit)
Trigger - Turn on Ice_Make_Cannon_Slide <gen>
Custom script: call RemoveLocation(udg_Point[1])
Custom script: call RemoveLocation(udg_Point[2])
Custom script: call RemoveLocation(udg_Point[3])
Ice Make Cannon Slide
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set Variable Set Point[4] = (Position of Unit[2])
Set Variable Set Point[5] = (Point[4] offset by 30.00 towards Angle[1] degrees.)
Unit - Move Unit[2] instantly to Point[5]
Unit Group - Pick every unit in (Units within 100.00 of (Position of Unit[2]) matching (((Matching unit) belongs to an enemy of (Owner of Unit[1]).) Equal to True).) and do (Actions)
Loop - Actions
Unit - Add a 0.01 second Generic expiration timer to Unit[2]
Custom script: call RemoveLocation(udg_Point[4])
Custom script: call RemoveLocation(udg_Point[5])
Ice Make Cannon Explosion
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Ice Bomb
Actions
Unit - Create 1 Ice Explosion for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of (Triggering unit))
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Ice DT for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of (Triggering unit))
Unit - Add Ice Make:Cannon Slow Aura to (Last created unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Unit - Create 1 Dustwave for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of (Triggering unit))
Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
Unit Group - Pick every unit in (Units within 200.00 of (Position of Unit[2]) matching (((Picked unit) belongs to an enemy of (Owner of Unit[1]).) Equal to True).) and do (Actions)
Loop - Actions
Unit - Cause Unit[1] to damage (Picked unit) , dealing ((Real((Agility of Unit[1] (Include bonuses)))) x 10.00) damage of attack type Spells and damage type Cold
Dying Unit
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Equal to Ice Explosion
(Unit-type of (Dying unit)) Equal to Ice DT
(Unit-type of (Dying unit)) Equal to Ice Effect
(Unit-type of (Dying unit)) Equal to Ice Effect 2
(Unit-type of (Dying unit)) Equal to Dustwave
(Unit-type of (Dying unit)) Equal to Ice Bomb
Then - Actions
Unit - Remove (Dying unit) from the game
Else - Actions
Visibilty
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Entire map)
Display
Events
Map initialization
Conditions
Actions
Game - Display to (All players) the text: CreditsGray Model:Mr.YagyuTriggers:Rasengan.Naruto(Me)Skyring:Judashice2:uknownDustwave:ddaheAncientExplosion:WILL THE ALMIGHTYGray Icon:Gwapogi
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.