jfk EO-11110 #1 first you have to set the entitypickmode of the level mesh to polygonal.then you can make a linepick from the playerposition (eg. x,y,z) to somewhere below it. p=linepick(x#,y#,z#,0,-100,0,.1) if p<>0 py#=pickedy() grounddistance#=y#-py# endif