HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

making units jump

07-10-2003, 08:31 PM#1
rockinairfoce1z
i was playin this map that i dled off of www.warcraftiii.net called Final Fantasy Demo or summin like that. but neway theres this thing in there where he made the unit jump. does anybody know how he did that?
07-10-2003, 08:57 PM#2
Norbo
There is a lot of different ways to get a unit to jump.

Like for my failed FPSish map, I made him jump in an arc-- changing unit movement height every increment of time.. (real small increments.) Calculate speed for distance.. ETC. For easyness though, and crappiness, just do:

event: whatever you want to trigger it
condition: isn't currently jumping (use a boolean variable)
actions:
set is jumping = true
change unit movement height to (whatever)
wait
change unit movement height to default
set is jumping = false

That's the crappiest, and easiest, way to do it.
07-10-2003, 11:18 PM#3
Arche
Hmm yeah but that will only be visual? The cool thing would be to make a jump where the unit actually JUMPS (IE flyes for a very short amount of time).
07-11-2003, 12:32 AM#4
BeyondFerocity
it should be visual if the action is a animation If i'm correct?
07-11-2003, 12:35 AM#5
dataangel
I'm guessing he detected the event, created a dummy flying unit, waited a bit, switched 'em back.
07-11-2003, 10:48 PM#6
BeyondFerocity
link me to the map
07-13-2003, 08:12 PM#7
rockinairfoce1z
http://maps.warcraftiii.net/maps.php?id=2775 HERES THE SITE WIT THE MAP WHERE THA DUDE JUMPS...