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
Ice Sliding DEMO v1.08.w3x
Variables
Initialization
Visibility
README
Death
Slide Trigger
Set Vars
Slide True
Slide False
Slide off On Death
Slide
Turning Trigger
Red Turn
Blue Turn
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
CurrentSlider
unit
Yes
Slide_Boolean
boolean
Yes
SlideSpeed
integer
No
4
SlideSpeed2
integer
Yes
4
TempPoint
location
No
TempPoint2
location
No
Visibility
Events
Map initialization
Conditions
Actions
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
Please give Credit if you use this in your map!
README
Events
Conditions
Actions
Death
Events
Unit - A unit enters Region_010 <gen>
Unit - A unit enters Region_011 <gen>
Unit - A unit enters Region_012 <gen>
Unit - A unit enters Region_005 <gen>
Unit - A unit enters Region_006 <gen>
Unit - A unit enters Region_007 <gen>
Unit - A unit enters Region_008 <gen>
Unit - A unit enters Region_009 <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Demon Hunter
Actions
Unit - Kill (Triggering unit)
Set Vars
Events
Map initialization
Conditions
Actions
Set Variable Set CurrentSlider[1] = Demon Hunter 0000 <gen>
Set Variable Set CurrentSlider[2] = Demon Hunter 0001 <gen>
Slide True
Events
Unit - A unit enters SlideRegion1 <gen>
Unit - A unit enters SlideRegion <gen>
Conditions
Actions
Set Variable Set Slide_Boolean[(Player number of (Owner of (Triggering unit)))] = "true"
Slide False
Events
Unit - A unit enters SlideStop1 <gen>
Unit - A unit enters SlideStop <gen>
Conditions
Actions
Set Variable Set Slide_Boolean[(Player number of (Owner of (Triggering unit)))] = "false"
Slide off On Death
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Demon Hunter
Actions
Set Variable Set Slide_Boolean[(Player number of (Owner of (Dying unit)))] = "false"
Slide
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
If (Slide_Boolean[1] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[1])) else do (Do nothing)
If (Slide_Boolean[1] Equal to True) then do (Move CurrentSlider[1] instantly to (TempPoint offset by (Real(SlideSpeed2[1])) towards (Facing of CurrentSlider[1]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[2] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[2])) else do (Do nothing)
If (Slide_Boolean[2] Equal to True) then do (Move CurrentSlider[2] instantly to (TempPoint offset by (Real(SlideSpeed2[2])) towards (Facing of CurrentSlider[2]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[3] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[3])) else do (Do nothing)
If (Slide_Boolean[3] Equal to True) then do (Move CurrentSlider[3] instantly to (TempPoint offset by (Real(SlideSpeed2[3])) towards (Facing of CurrentSlider[3]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[4] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[4])) else do (Do nothing)
If (Slide_Boolean[4] Equal to True) then do (Move CurrentSlider[4] instantly to (TempPoint offset by (Real(SlideSpeed2[4])) towards (Facing of CurrentSlider[4]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[5] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[5])) else do (Do nothing)
If (Slide_Boolean[5] Equal to True) then do (Move CurrentSlider[5] instantly to (TempPoint offset by (Real(SlideSpeed2[5])) towards (Facing of CurrentSlider[5]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[6] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[6])) else do (Do nothing)
If (Slide_Boolean[6] Equal to True) then do (Move CurrentSlider[6] instantly to (TempPoint offset by (Real(SlideSpeed2[6])) towards (Facing of CurrentSlider[6]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[7] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[7])) else do (Do nothing)
If (Slide_Boolean[7] Equal to True) then do (Move CurrentSlider[7] instantly to (TempPoint offset by (Real(SlideSpeed2[7])) towards (Facing of CurrentSlider[7]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[8] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[8])) else do (Do nothing)
If (Slide_Boolean[8] Equal to True) then do (Move CurrentSlider[8] instantly to (TempPoint offset by (Real(SlideSpeed2[8])) towards (Facing of CurrentSlider[8]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[9] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[9])) else do (Do nothing)
If (Slide_Boolean[9] Equal to True) then do (Move CurrentSlider[9] instantly to (TempPoint offset by (Real(SlideSpeed2[9])) towards (Facing of CurrentSlider[9]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[10] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[10])) else do (Do nothing)
If (Slide_Boolean[10] Equal to True) then do (Move CurrentSlider[10] instantly to (TempPoint offset by (Real(SlideSpeed2[10])) towards (Facing of CurrentSlider[10]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
If (Slide_Boolean[11] Equal to True) then do (Set VariableSet TempPoint = (Position of CurrentSlider[11])) else do (Do nothing)
If (Slide_Boolean[11] Equal to True) then do (Move CurrentSlider[11] instantly to (TempPoint offset by (Real(SlideSpeed2[11])) towards (Facing of CurrentSlider[11]) degrees.)) else do (Do nothing)
Custom script: call RemoveLocation(udg_TempPoint)
Red Turn
Events
Unit - Demon Hunter 0000 <gen> Is issued an order targeting a point
Conditions
(Demon Hunter 0000 <gen> has an item of type Ice Skates) Equal to True
Actions
Set Variable Set TempPoint2 = (Position of Demon Hunter 0000 <gen>)
Unit - Move Demon Hunter 0000 <gen> instantly to TempPoint2 , facing (Target point of issued order)
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.