if no one understood what i meant then this will make sense.
if you press r or t it will rotate the camera so you can have a look at him (the caharacater) but soon as you move by pressing an arrow key i want the camera to go strght to folow his back again.
This is a 3rd person game!!!
rem player camera rotate
if keystate(19) = 1 and camera(1) < 360 then camera(1) = camera(1)+6 : rotatingL =1
if keystate(19) = 1 then rotatingl =0
if camera(1) =360 and rotatingl =1 then camera(1) = 0
if keystate(20) = 1 and camera(1) > 0 then camera(1) = camera(1)-6 : rotatingR = 1
if keystate(20) = 1 then rotatingr =0
if camera(1) =360 and rotatingR =1 then camera(1) = 0
rem tracker
set camera to follow x1#,y1#,z1#,camera(1),d1#,h1#,s1#,1