Here's a simple example
_cam = "camera" camcreate [3216.01,3603.55,14.62]
_cam cameraeffect ["internal", "back"]
_cam camSetTarget [-51544.96,83057.15,-27502.45]
_cam camSetPos [2565.25,3636.74,17.68]
_cam camSetFOV 0.771
_cam camCommit 0
@camCommitted _cam
~2
_cam camSetTarget [-51544.96,83057.15,-27502.44]
_cam camSetPos [2552.67,3659.52,8.56]
_cam camSetFOV 0.771
_cam camCommit 3
@camCommitted _cam
~1
you have to create a camera before anything else ;D (the first two lines of code)