you gotta use the get ground hieghtt command, or was it matrix hieght.. hmm.. well something like that
...
x=object position x(1)
z=object position z(2)
y=get matrix height 1, x, z
position object 1, x, y, z
...
fandangle around with it to figure out how to make it tilt up and down for hills.
...
a=object position x(1)/2
b=object position z(1)/2
ax=x+a
az=x-a
af=z+b
ar=z-b
t=get matrix hieght 1, ax, az
f=get matrix hieght 1, af, ar
etc..
roll object right 1, f
tilt object up 1, t
...
That's the basic idea, Dont use that Crap, i just threw it together.