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
dimensional leap.w3x
Variables
Initialization
Melee Initialization
Dark Gate
Gate
Dark Ranger Move
Dark Ranger Move 2
Gate Open 1
Gate Open 2
Gate Collapse
Gate Collapse 2
Dark Ranger Move 3
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
Dark_Ranger_Move
real
No
DarkGate
unit
Yes
Darkgate_move
real
No
20.00
DarkGateTargetPoint
location
No
DarkRanger
unit
No
GateScalingValue
real
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Visibility - Disable fog of war
Visibility - Disable black mask
Gate
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Dimensional Leap
Actions
Set Variable Set DarkGateTargetPoint = (Target point of ability being cast)
Set Variable Set DarkRanger = (Casting unit)
Unit - Create 1 . Gate for (Owner of DarkRanger) at ((Position of DarkRanger) offset by 256 towards (Facing of DarkRanger) degrees.) facing (Facing of DarkRanger) degrees
Set Variable Set DarkGate[1] = (Last created unit)
Unit - Add Storm Crow Form to DarkGate[1]
Unit - Remove Storm Crow Form from DarkGate[1]
Camera - Lock camera target for (Owner of DarkRanger) to DarkRanger , offset by ( 0 , 0 ) using Default rotation
Animation - Change DarkGate[1] flying height to 200.00 at 10000.00
Sound - Play BanishLoop1 <gen> at 100 % volume, attached to DarkRanger
Trigger - Turn on Gate_Open_1 <gen>
Wait 0.50 seconds
Unit - Add Storm Crow Form to DarkRanger
Unit - Remove Storm Crow Form from DarkRanger
Trigger - Turn off Gate_Open_1 <gen>
Set Variable Set GateScalingValue = "50.00"
Animation - Change DarkRanger flying height to 250.00 at 1200.00
Trigger - Turn on Dark_Ranger_Move <gen>
Wait 0.10 seconds
Trigger - Turn off Dark_Ranger_Move <gen>
Set Variable Set Darkgate_move = "0.00"
Unit - Hide DarkRanger
Trigger - Turn on Dark_Ranger_Move_3 <gen>
Trigger - Turn on Gate_Collapse <gen>
Wait 0.50 seconds
Unit - Explode DarkGate[1] .
Unit - Remove DarkGate[1] from the game
Trigger - Turn off Dark_Ranger_Move_3 <gen>
Trigger - Turn off Gate_Collapse <gen>
Unit - Create 1 . Gate for (Owner of DarkRanger) at ((Position of DarkGate[1]) offset by 1200.00 towards (Facing of DarkRanger) degrees.) facing (Facing of DarkRanger) degrees
Set Variable Set DarkGate[2] = (Last created unit)
Unit - Add Storm Crow Form to DarkGate[2]
Unit - Remove Storm Crow Form from DarkGate[2]
Animation - Change DarkGate[2] flying height to 200.00 at 10000.00
Sound - Play BanishLoop1 <gen> at 100 % volume, attached to DarkRanger
Trigger - Turn on Gate_Open_2 <gen>
Wait 0.50 seconds
Trigger - Turn off Gate_Open_2 <gen>
Set Variable Set GateScalingValue = "50.00"
Unit - Move DarkRanger instantly to (Position of DarkGate[2])
Unit - Unhide DarkRanger
Trigger - Turn on Dark_Ranger_Move_2 <gen>
Wait 0.15 seconds
Animation - Change DarkRanger flying height to 0.00 at 1200.00
Wait 0.10 seconds
Trigger - Turn off Dark_Ranger_Move_2 <gen>
Trigger - Turn on Gate_Collapse_2 <gen>
Wait 0.50 seconds
Unit - Order DarkRanger to Move To . ((Position of DarkRanger) offset by 256 towards (Facing of DarkRanger) degrees.)
Trigger - Turn off Gate_Collapse_2 <gen>
Unit - Explode DarkGate[2] .
Unit - Remove DarkGate[2] from the game
Set Variable Set Darkgate_move = "20.00"
Set Variable Set Dark_Ranger_Move = "0.00"
Selection - Select DarkRanger for (Owner of DarkRanger)
Camera - Reset camera for (Owner of DarkRanger) to standard game-view over 0 seconds
Dark Ranger Move
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Set Variable Set Darkgate_move = (Darkgate_move + 0.10)
Unit - Move DarkRanger instantly to ((Position of DarkRanger) offset by Darkgate_move towards ((Facing of DarkRanger) + 0.00) degrees.) , facing (Facing of DarkRanger) degrees
Dark Ranger Move 2
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Set Variable Set Darkgate_move = (Darkgate_move + 1.00)
Unit - Move DarkRanger instantly to ((Position of DarkRanger) offset by Darkgate_move towards ((Facing of DarkGate[2]) + 0.00) degrees.) , facing (Facing of DarkGate[2]) degrees
Gate Open 1
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set GateScalingValue = (GateScalingValue + 1.00)
Animation - Change DarkGate[1] 's size to ( GateScalingValue %, GateScalingValue %, GateScalingValue %) of its original size
Gate Open 2
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set GateScalingValue = (GateScalingValue + 1.00)
Animation - Change DarkGate[2] 's size to ( GateScalingValue %, GateScalingValue %, GateScalingValue %) of its original size
Gate Collapse
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set GateScalingValue = (GateScalingValue - 1.00)
Animation - Change DarkGate[1] 's size to ( GateScalingValue %, GateScalingValue %, GateScalingValue %) of its original size
Gate Collapse 2
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set GateScalingValue = (GateScalingValue - 1.00)
Animation - Change DarkGate[2] 's size to ( GateScalingValue %, GateScalingValue %, GateScalingValue %) of its original size
Dark Ranger Move 3
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Set Variable Set Dark_Ranger_Move = (Dark_Ranger_Move + 0.50)
Unit - Move DarkRanger instantly to ((Position of DarkRanger) offset by Dark_Ranger_Move towards (Facing of DarkRanger) degrees.) , facing (Facing of DarkRanger) degrees
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.