- Joined
- Jun 18, 2004
- Messages
- 119
Hello,
I am trying to set a flying unit's FlyHeight to a precise value. I need it to have flying pathing, because I want it to use the pathing blockers for flying units only.
The problem is: flying unit's height gets smoothed if there's uneven terrain nearby. I want the flying height to be exactly what I set it to, like it if for "ground" units with the 'Amrf' trick.
Is there some sort of hack, or does anyone know the formula which blizzard uses to calculate the Z increase (in a similar fashion to this: http://www.hiveworkshop.com/forums/jass-resources-412/system-getcamoffset-131434/)
Thanks,
I am trying to set a flying unit's FlyHeight to a precise value. I need it to have flying pathing, because I want it to use the pathing blockers for flying units only.
The problem is: flying unit's height gets smoothed if there's uneven terrain nearby. I want the flying height to be exactly what I set it to, like it if for "ground" units with the 'Amrf' trick.
Is there some sort of hack, or does anyone know the formula which blizzard uses to calculate the Z increase (in a similar fashion to this: http://www.hiveworkshop.com/forums/jass-resources-412/system-getcamoffset-131434/)
Thanks,