Hello Cpt.
I guess this might be the sort of thing you are after.
Execute using
[name,x,y,z] exec "tracking.sqs", where name is the unit you want to track, and x,y,z are the positions of the camera relative to the unit.
;tracking.sqs
_unit = _this select 0
_x = _this select 1
_y = _this select 2
_z = _this select 3
stoptracking = false
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
_cam camSetTarget _unit
_cam CamSetFOV 0.7
#loop
~0.01
_cam camSetRelPos [_x,_y,_z]
_cam camCommit 0
? not stoptracking : goto "loop"
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
exit