I tried to make camera move with unit with this code...
camera = "camera" camcreate [0, 0, 0]
camera cameraeffect ["Internal", "back"]
ShowCinemaBorder true
#camloop
camera camsettarget soldier1
camera camsetRelpos [0.3,-0.1,1.5]
camera camcommit 0
goto "camloop"
camera cameraEffect ["terminate", "Back"]
camdestroy camera
exit
And its following, but for some reason it is shaking a lot. Its like it is teleporting, not moving. But I saw this code worked and it was moving smoothly. Do you have any ideas why it is acting so?