04.11.2007, 19:07
I don't know if this is suggested, but I'd like to suggest a function to find a z value from x & y values. Fx
PosXYFindZ(Float
,Float:y)
If there's more than 1 z value for the xy coordinates it should pick a random one. Or else you could make an extension to it:
PosXYFindZEx(Float
,Float:y,Float:cmpZ)
Here it should take the z-value for the XY-point which is closest to the cmpZ float.
PosXYFindZ(Float

If there's more than 1 z value for the xy coordinates it should pick a random one. Or else you could make an extension to it:
PosXYFindZEx(Float

Here it should take the z-value for the XY-point which is closest to the cmpZ float.