- Joined
- Jul 25, 2008
- Messages
- 126
It works the first time I cast it but, when I cast it a
2nd time the map crashes and a critical error pops up.
2nd time the map crashes and a critical error pops up.
-
Slide Init
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Tremble
-
-

Actions
-


Set Target = (Target unit of ability being cast)
-


Set TargetPosition = (Position of Target)
-


Set TargetPoint = (Position of (Casting unit))
-


Set Distance = (Distance between TargetPosition and TargetPoint)
-


Set Angle = (Angle from TargetPosition to TargetPoint)
-


Set N = 0.00
-


Wait 0.20 seconds
-


Custom script: call UnitAddAbility(udg_Target, 'Aloc')
-


Unit - Pause Target
-


Animation - Change Target's animation speed to 50.00% of its original speed
-


Animation - Play Target's death animation
-


Trigger - Turn on Slide Effect <gen>
-
-
-
Slide Effect
-

Events
-


Time - Every 0.06 seconds of game time
-
-

Conditions
-

Actions
-


Set TargetPosition = (Position of Target)
-


Set MoveToPoint = (TargetPosition offset by -20.00 towards Angle degrees)
-


Set N = (N + 13.00)
-


Unit - Move Target instantly to MoveToPoint
-


Special Effect - Create a special effect attached to the origin of Target using Abilities\Spells\Other\Volcano\VolcanoDeath.mdl
-


Special Effect - Destroy (Last created special effect)
-


Custom script: call RemoveLocation(udg_MoveToPoint)
-


Custom script: call RemoveLocation(udg_TargetPosition)
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(N Greater than or equal to Distance) or ((Target is dead) Equal to True)
-
-



Then - Actions
-




Unit - Unpause Target
-




Unit - Hide Target
-




Unit - Add morph to Target
-




Custom script: call UnitRemoveAbility(udg_Target, 'Aloc')
-




Unit - Unhide Target
-




Unit - Order Target to Night Elf Demon Hunter - Metamorphosis
-




Animation - Change Target's animation speed to 100.00% of its original speed
-




Custom script: set udg_Target = null
-




Custom script: call RemoveLocation(udg_MoveToPoint)
-




Trigger - Turn off (This trigger)
-
-



Else - Actions
-




Do nothing
-
-
-
-



