wtf.... why is it doing that??
here is the correct code (sorry admins, I hate windows too

)
hi there, please study these lines of code....
if camera position y()>2 then position camera camera position x(), camera position y()-0.1,camera position z()
if camera position y()<2 then position camera camera position x(), camera position y()+0.1,camera position z()
What I wanted to do is move the camera when I pressed the "w" key, I did that, but when I looked up and pressed "w" I kind off flew around in the world... not what I wanted, I used the move-camera command to move the camera, the lines of code above prevent the camera of going above and below the 2... but when I look below I move slower then when I look in front of me, pretty normal, but not what I want?!
How would you handle the problem, no matter what angle I am facing...........................
[movement code]
if keystatus#=17 then move camera 0,0.1
if keystatus#=31 then move camera 0,-0.1
do help me
"Only when all the seas are poisened, only when all the trees have been cut only when all the animals are killed, people will understand that money can't be eaten..."