1st trigger
Slide
Event:Every 0,03 seconds of the game
conditions : /
Action:
For each integer A from 1 to 10 do
Set Temp_point_Unit = Position of SlideUnit[Integer A]
If TerrainType at position of Temp_point_Unit equal to Northrend Ice
then do
Set Temp_point_Slide = Position of SlideUnit[Integer A] with offset 3 and facing Facing(SlideUnit[IntegerA])degrees
Move SlideUnit[Integer A] to Temp_point_Slide
Custom script : call RemoveLocation(udg_Temp_point_Unit[GetIntegerA())]
Custom script : call RemoveLocation(udg_Temp_point_Slide[GetIntegerA())]
this works fine without any lagg
2nd Trigger
Make unit face point ( needed for slide )
Normally you can't move the unit when its sliding. But you can do it with another trigger
Make unit face degrees
Event:A unit gets an on a point order ( or something like this )
Conditions: Ordered order equal to (move)
Set Temp_Point_Order = Point of Issued Order
If Triggering unit equal to SlideUnit[Playernumber of(Owner of(Triggering unit))] equal to true
Terrain type at position of SlideUnit[Playernumber of(Owner of(triggering unit))] equal to Northrend - ice
Make unit face Temp_Point_Order in 0,1 seconds ( Or your delay )
Custom Script:Call RemoveLocation(udg_Temp_Point_Order[GetConvertedPlayerID(GetUnit( TriggeringUnit())]