HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Getting a unit's Z Location

10-25-2004, 09:14 PM#1
MartinezTG
I've been trying to make a unit (naval to be exact) which cannot attack units above it. So I've been searching in 'real comparison' for a Z of region, Z of unit position but I haven't found anything.
So is there a function in JASS which returns that value?
I've been trying to change GetLocationY to GetLocationZ in the trigger after changing it to custom text but it crashed my WE while saving lol (luckily the map survived :) ).

Martinez
10-25-2004, 09:37 PM#2
-={tWiStÄr}=-
well, you can get the cliff hieght of a unit, but i dont know how to get how high up on a hill or something a unit is.