"Jumping Strike" ability

D

Dr4gonL0rd

Guest
Again, I have a Blade Master unit. I want an ability that will cause him to jump, playing the animation of when he uses Critical Strike (the one where he kinda jumps up and slashes down with his sword). He would cast this on a single target, and cast it from maybe about 500 distance.

I've searched but haven't found something like what I'm looking for.
 

Flare

Stops copies me!
Reaction score
662
atm im on a comp that doesnt have WE installed so ill give u as much info as i can off the top of my head.

1: If you don't know what to use as base spell, use Channel with cast range 500, change the base order ID to anything, set follow-through time to something fairly low (0.01-1.5 imo depending on how long ur jump will take to complete), set Options to visible and Set Target type to Unit, Point OR Unit or Point (i used Point only for my own jump ability)

2: Make your variables for:
a: Triggering unit (unit)
b: Position of triggering unit (point)
c: Target point (point)
d: Distance between B and C (real)
e: Angle between B and C (real)

3: The triggering of activation trigger

Code:
Events
Unit starts effect of ability
Conditions
Ability being cast = Jump
Actions
Set TrigUnit = triggering unit
Set TrigUnitPt = Position of triggering unit
Set TargPt = target pt of ability being cast
Set JumpDist = distance between TrigUnitPt and TargPt
Set JumpAngle = angle between TrigUnitPt and TargPt
Add Storm Crow Form to TrigUnit
Change Trigunit's flying height to 250 at 375 (will take 0.66 seconds to reach max height)
Change TrigUnit's animation speed to 40%
Play TrigUnit's attack slam animation
Remove Storm Crow Form from TrigUnit
Turn on JumpMovement
Wait 0.66 seconds
Change TrigUnit's flying height to 0 at 750 (will take 0.33 seconds to hit the ground)
Wait 0.33 seconds
Turn off JumpMovement
Change TrigUnit's animation speed to 100%
Custom Script: call RemoveLocation (udg_TrigUnitPt)
Custom Script: call RemoveLocation (udg_TargPt)

Now for the movement part

Code:
Events
Every 0.05 seconds of game-time
Conditions
-
Actions
Move TrigUnit instantly to TrigUnitPt offset by JumpDist/20 (will move 1/20 distance every 1/20 second) towards JumpAngle degrees

as far as i can remember, thats pretty much how i triggered my jump spell. this spell will do 0 damage though but ive forgotten how exactly i added that ^^
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top