• 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.

[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