• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Spell - Meat hook connect with caster

Status
Not open for further replies.
Level 3
Joined
Nov 7, 2012
Messages
38
Hello guys, how to make the meat hook connect the caster wherever the caster walks? Please show me in GUI because i don't know how to make JASS. that's why this question make me headache always...
 
Level 17
Joined
Mar 21, 2011
Messages
1,597
you can change it in this line -->

  • 'IF'-Conditions
    • (Distance between TempPoint and TempPoint2) smaller than 2000.00
to sth like that

  • 'IF'-Conditions
    • (Distance between TempPoint and TempPoint2) smaller than 500.00 + 100.00 x AbilityLevel

about the speed:


  • Set TempPoint2 = (TempPoint offset by 40.00 towards TempAngle degrees)
change the 40 to sth bigger to increase the speed, and lower to slow down the speed
 
Level 3
Joined
Nov 7, 2012
Messages
38
thx. A question again...

I detect the hook can't drag the target to the caster if the target stand on the cliff... the target can't go through the cliff or buildings when dragging by caster...
how to fix it?
 
Level 3
Joined
Nov 7, 2012
Messages
38
Yes, D4RK_G4ND4LF's hook is more reassuring and clear so i decided to use it.

Thanks to both of you^^ +rep
 
Status
Not open for further replies.
Top