HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to get Altitude ?

07-09-2004, 05:11 PM#1
Psyny
Hail,

How i can get the altitude ( Z value ) of an Unit or a Point ?

I trying to make my camera system... but the camera dont raise with terrain height =(

thx
07-10-2004, 03:05 PM#2
Milkman
(GetUnitFlyHeight(GetTriggeringUnit))

Of course, you would have to do something like this:
set a = (GetUnitFlyHeight(GetTriggeringUnit))
and an event aswell.
I believe this would work.
07-10-2004, 08:07 PM#3
johnfn
Additionally the way to get the height of a cliff would be by using

GetTerrainCliffLevelBJ takes location where returns integer

just in case you wanted to know.