HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

The "rate" parameter of SetUnitFlyHeight()

05-01-2006, 03:03 AM#1
knutz
I'm assuming this is the speed of change between current fly height and new fly height, but what's it out of? Is it like a cooldown percentage where the lower it is the faster it is, or a missile speed where the higher it is the faster it is?

Is there a way to make it instant?
05-01-2006, 03:33 AM#2
PipeDream
I believe 0 is instant. The units are the same as planar motion, like unit speed.
05-01-2006, 07:23 AM#3
blu_da_noob
The 'rate' parameter is how far the Z height of the unit goes up each second.

Collapse JASS:
call SetUnitFlyHeight(unit,1000,200)

Would make the unit rise 200 per second until it reaches 1000, taking 5 seconds in all. As already stated, 0 means instant.
05-01-2006, 11:33 AM#4
knutz
Thanks guys. I'll give it a go