• 🏆 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!

[Trigger] How do I make units jump? +Rep

Status
Not open for further replies.
Level 14
Joined
Jul 25, 2011
Messages
1,065
Hello. I got tired of making cinematic and I was making random spells. I want to make units to jump. The problem is "How do I change a groundunit's flying(?) hight"?

I've tried this.
  • Animation - Change unit flying hight
Any good triggers to do this? I can use JASS too.(By using custom script)
 
Level 14
Joined
Jul 25, 2011
Messages
1,065
Level 14
Joined
Jul 25, 2011
Messages
1,065
I think I got what you mean. I can't use my PC right now. So I can't test the system, but something like this?
  • Test Trigger
  • Events
    • Time - Every 0.03 seconds
  • Conditions
  • Actions
    • Unit - Add crow form to "Bla"
    • Animation - Set unit flying hight to "Bla"
    • Unit - Remove crow form from "Bla"
PS : I'll make it MUI later.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
I think I got what you mean. I can't use my PC right now. So I can't test the system, but something like this?
  • Test Trigger
  • Events
    • Time - Every 0.03 seconds
  • Conditions
  • Actions
    • Unit - Add crow form to "Bla"
    • Animation - Set unit flying hight to "Bla"
    • Unit - Remove crow form from "Bla"
PS : I'll make it MUI later.

Yes, like that but you would still need to increase and decrease the height respectively
to how high and how fast the unit should jump.

And also:
Maker said:
Using a parabola equation or Sin function gives you nice arc.

Without an arc it's not really a jump now, is it? ;)
Here are some more jump systems you might find usefull:

In Jass:
http://www.wc3c.net/showthread.php?t=87831
In Jass:
http://www.wc3c.net/showthread.php?t=81446
In GUI:
http://www.wc3c.net/showthread.php?t=85263
 
Level 14
Joined
Jul 25, 2011
Messages
1,065
Yes, like that but you would still need to increase and decrease the height respectively
to how high and how fast the unit should jump.

And also:


Without an arc it's not really a jump now, is it? ;)
Here are some more jump systems you might find usefull:

In Jass:
http://www.wc3c.net/showthread.php?t=87831
In Jass:
http://www.wc3c.net/showthread.php?t=81446
In GUI:
http://www.wc3c.net/showthread.php?t=85263

Yes. I was just thinking about how to make it not sharp. Well I would want to find it out my self. Thank you. +Rep to you guys.
 
Status
Not open for further replies.
Top