HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Z Camera...

09-03-2004, 06:31 PM#1
Ninja73
Ok, i know WEU has an advanced option of like get z unit sorce or something to get the z position of a unit, i NEED this, however i dont like using 3rd party editors, is there any other way i can get a units z value, or possibly by using jass or custom script?
09-03-2004, 07:14 PM#2
fugly
im guessing that WEU either returns the UnitFlyHeight or the cliff level of the point that it is standing on, but more likely the UnitFlyHeight
09-03-2004, 11:29 PM#3
Ninja73
but... technically when a flying unit goes over terrian cliff levels the flying height of the unit stays the same, if its 0 it will always remain flat with the ground, if its 100 it would remain at a distance of 100 wherever it is, so this isnt it... hmm, could an admin plz move this to the Jass forum? im sure they would know.
09-03-2004, 11:55 PM#4
SpadeZ
You could make the trigger in WEU then convert it to JASS if you wanted and still be able to use the normal WE.
09-04-2004, 02:42 AM#5
Ninja73
hmm, would that work and it wouldnt mess up at all?
09-04-2004, 01:03 PM#6
fugly
Quote:
Originally Posted by Ninja73
but... technically when a flying unit goes over terrian cliff levels the flying height of the unit stays the same, if its 0 it will always remain flat with the ground, if its 100 it would remain at a distance of 100 wherever it is, so this isnt it... hmm, could an admin plz move this to the Jass forum? im sure they would know.
sorry but your info is a bit off, you CANNOT detect the terrain height period. So WEU uses fliyng height since everything in the game is relative to it.
09-04-2004, 01:42 PM#7
Vexorian
Quote:
Originally Posted by Ninja73
hmm, would that work and it wouldnt mess up at all?
yes, it will work
10-19-2004, 01:41 AM#8
Linera
You can check the Terran Cliff Level it is a integer under Environment. Look for it.
10-19-2004, 01:58 AM#9
Guest
i'd think it would be unit fly height plus the cliff level... one cliff level is 128 units iirc
10-19-2004, 02:55 PM#10
iNfraNe
you can not check for the correct terrain height unless u know keypoints of height of terrain (points dividable by 128) as warcraft can only raise terrain between those points and everything between those points = flat.

(im talking about raise terrain tool here, not cliff lvl)