| 07-07-2006, 12:03 PM | #1 |
Well, how can I make any field unit temporary fly (just the time of an animation)? It seems that the function JASS:native SetUnitFlyHeight takes unit whichUnit, real newHeight, real rate returns nothing |
| 07-07-2006, 12:09 PM | #2 |
You need to add and then instantly remove the Crow Form ability that Medivh has, then use that function and you can change the units fly height. Note: This does not actually make it fly, it just allows you to change it's height. |
| 07-07-2006, 12:19 PM | #3 | |
Quote:
|
| 07-07-2006, 12:41 PM | #4 |
The ability is a morph ability, that morph's Medivh into a crow. Originally the SetUnitFlyHeight function does not do anything when used on ground units, but if the unit is or has been able to morph into a flying unit, it will allow it - So that is actually what the ability is used for here, instantly adding and removing it makes you able to use the SetUnitFlyHeight native on all units you want. It doesn't affect the unit classification. Just add/remove/set height. |
| 07-07-2006, 03:04 PM | #5 | |
Quote:
Rate determines speed at which the height change occurs. |
