Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Z point of terrain
Z point of terrain
03-18-2005, 04:00 AM
#1
Zandose
Hi, I can't seem to find the new trigger for finding the exact Z point of the terrain. I know theres the cliff height one but I need the exact level. Thank you.
03-18-2005, 04:13 AM
#2
Zandose
I think I've found it now (after taking the time to search), hehe. :)
Code:
set udg_RealVar = GetLocationZ( udg_PointVar)
03-18-2005, 05:25 AM
#3
Ant
Hmmm there's also an integer Environment - Terrain variance. What does this do?
03-18-2005, 05:41 AM
#4
Guest
Terrain variance finally allows you to move a camera with a unit when he goes up hills (set camera height = Z of point (position of (unit)))
And ant is right, use "terrain variance" for your trigger