• Check out the results of the Techtree Contest #19!
  • 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Jump Attack for Melee Units

Status
Not open for further replies.
Hello,

I need help, I need a spell or a test map (GUI is suggested) for a unit to jump and slash/hit when attacking flying units. (Melee units only)

Like this map:
https://www.hiveworkshop.com/forums/maps-564/naruto-battle-siege-v2-33b-141890/

I've tried using Paladon's Jump system.. and it just doesn't works the way I want. (Or I configured it wrong xD)

Highly appreciate anyone who could help me.

Thanks. :grin:
 
Last edited:
Is this a unit target, or ground target ability? So is it just jumps and cut what's in the way or leaps directly to the target?

If it's a groud target ability than u can use the jump of my system's demo spell.. U just have to check the height of units on onUnitHit event and trigger a damage and animation if u want
 
Is this a unit target, or ground target ability? So is it just jumps and cut what's in the way or leaps directly to the target?

If it's a groud target ability than u can use the jump of my system's demo spell.. U just have to check the height of units on onUnitHit event and trigger a damage and animation if u want

It's not an ability, the attacker (Melee) jumps off from the ground to attack a flying unit. Just like in the example map I linked. (It looks extremely awesome to see WarCraft 3 is capable of doing that xD)

Thanks though.
 
1. enable the melee unit to attack air unit,
2. then on unit is attacked event, check if the attacker is a melee unit, and the attacked unit is a flying unit,
3. add and remove Crow Form from attacker unit to enable fly height change
4. set the attacker's fly height to attacked unit's fly height, then wait or use timer for the ascend delay. then set the attacker's fly height to its default fly height.
5. set the rate of flying height change rate to be high enough so the attacker is back on ground before it attack again OR you can use hashtable to store that attacker unit is currently jumping so its should not fire this trigger again before its reach ground.

example provided for hashtable approach.
by the way, if detect using on damage event, it will look awkward as damage already dealt then the unit jump.
 

Attachments

Last edited:
1. enable the melee unit to attack air unit,
2. then on unit is attacked event, check if the attacker is a melee unit, and the attacked unit is a flying unit,
3. add and remove Crow Form from attacker unit to enable fly height change
4. set the attacker's fly height to attacked unit's fly height, then wait or use timer for the ascend delay. then set the attacker's fly height to its default fly height.
5. set the rate of flying height change rate to be high enough so the attacker is back on ground before it attack again OR you can use hashtable to store that attacker unit is currently jumping so its should not fire this trigger again before its reach ground.

example provided for hashtable approach.
by the way, if detect using on damage event, it will look awkward as damage already dealt then the unit jump.

I agree Sir! It will surely looks awkward.

I updated my system in signature.

And added a JumpAttack Demo to it. try it out:)

I think it looks pretty cool.(real look jump) and no DDS needed

Thanks a Million to both of you guys! Both of you are another reason why I still plays WarCraft 3! xD
Thanks

And oh btw Lender.. kewl Push and Pull system.

HatsOff.jpg


Thread is now solved.
 
Status
Not open for further replies.
Back
Top