Are you taking into account thatmove and positionentity work in different ways? Move entity moves it from it's current location and positionentity moves it to a worl location.
Is your camera parented also? If it is, at the end of positionentity you'll need to have a global flag
Another question. Are you making sure x#,terra_y#,z#, and all other camera position co-ords, are GLOBAL? If not, that might be your problem. Locl variables from the main part of the program, don't carry across to functions, so check that out also. :)
Is your camera parented also? If it is, at the end of positionentity you'll need to have a global flag
PositionEntity camera,x#,terra_y#,z#,TRUE
Another question. Are you making sure x#,terra_y#,z#, and all other camera position co-ords, are GLOBAL? If not, that might be your problem. Locl variables from the main part of the program, don't carry across to functions, so check that out also. :)