well if you mean u want function which returns parabola height depending on terrain then use this one!
function GetFloorParabolicHeight takes real dist, real max_dist, real max_height, real fl_c, real fl_n returns real
return E_GetParabolicHeight(max_dist, max_height, dist)+fl_c-fl_n
endfunction
dist = current travel distance, dist is >= 0 and <= max_dist
max_dist = maximum travel distance (x axes of parabola, width)
max_height = maximum parabola height (y axes, height)
fl_c = current floor height (terrain z)
fl_n = new floor height, of point where unit will be moved next (terrain z)
to calculate (get) quickly floor z you can use: function DD_GetFloorZ takes real x, real y returns real
and now cnp this "GetFloorParabolicHeight" function to your map and use it!
hope this helps and if you did mean smth else feel free to ask again!
Greets!
~DD