Alright when using the WE I run into this problem quite often: The terrain has only one level of hight, meaning if a flying-unit is on a cliff over-looking a valley with 300 Defualt flying-height, he will have the same height as a unit in the valley below who has 300 default flying-height. I wan't to know if it is possible to detect how high the terrain makes the unit rise, how high the unit is actualy off the "base-ground" of the map. I beleive this has to be done in jass but I'm not sure so I didn't prefix this. Now I'll tell you why I need it, should make my question easier to understand.
Right now when my unit casts an ability he shoots out a dummy-unit as a projectile, this projectiles height is changed every time it is moved as to make it look like it's arcing in the air. Now this works fine on flat terrain but if my unit is going down on his arc (or is supposed to be) but goes over higher terrain/a hill it will look odd.
So if anyone could find a way around this I would be extremely grateful.
Right now when my unit casts an ability he shoots out a dummy-unit as a projectile, this projectiles height is changed every time it is moved as to make it look like it's arcing in the air. Now this works fine on flat terrain but if my unit is going down on his arc (or is supposed to be) but goes over higher terrain/a hill it will look odd.
So if anyone could find a way around this I would be extremely grateful.