Hello everyone!!!! Long time i don't post here, xD
Well, i am making a spell named Back Sliding. It makes ur unit move back and so quickly fleeing the battle field. My spells is fully working however... when you use it you can pass trough tress, walls, and worse... doors.
So i want to know if there's some way to make it impossible to transpass objects while you are backsliding. But the backslider shoul still look forwards, like if its moonwalk! xD
Here's my currently trigger:
I think it's also leakless, right?
More one thing: My skill is also ignoring the cooldown. On level 1 there's 35 secs cooldown and at level 4 3 secs cooldown. How to implement this?
Well, i am making a spell named Back Sliding. It makes ur unit move back and so quickly fleeing the battle field. My spells is fully working however... when you use it you can pass trough tress, walls, and worse... doors.
So i want to know if there's some way to make it impossible to transpass objects while you are backsliding. But the backslider shoul still look forwards, like if its moonwalk! xD
Here's my currently trigger:
Code:
BackSliding
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Back Sliding
Actions
Set BackSli_Point = ((Position of (Triggering unit)) offset by -450.00 towards (Facing of (Triggering unit)) degrees)
Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
Special Effect - Destroy (Last created special effect)
Wait 0.07 seconds
Unit - Move (Triggering unit) instantly to BackSli_Point
Selection - Select (Triggering unit) for (Owner of (Triggering unit))
Camera - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 0.50 seconds
Custom script: call RemoveLocation (udg_BackSli_Point)
I think it's also leakless, right?
More one thing: My skill is also ignoring the cooldown. On level 1 there's 35 secs cooldown and at level 4 3 secs cooldown. How to implement this?