also... to make sure the camera can't go up too steep of slopes... try this bit of code at the beggining of your loop...
oldx#=camera position x()
oldy#=camera position y()
oldz#=camera position z()
and then put this code near the end of your loop...
Y#=Get Ground Height(1,Camera Position X(),Camera Position Z())
X=Int(Camera Position X()/20)
Z=Int(Camera Position Z()/20)
If Get Ground Height(1,(X#-1)*20,Z#*20)>Y#+[max height differance] or Get Ground Height(1,(X#+1)*20,Z#*20)>Y#+[max height differance]
Position Camera OldX#,OldY#,OldZ#
Endif
If Get Ground Height(1,X#*20,(Z#-1)*20)>Y#+[max height differance] or Get Ground Height(1,X#*20,(Z#+1)*20)>Y#+[max height differance]
Position Camera OldX#,OldY#,OldZ#
Endif
This code is untested but i think it will work... just replace the [max height differance] with any number above 0...well...once again...i hope that helps...
Anyone Can Destroy...But Few Can Create...