I'm trying to mount a fixed camera to an A10, but I'm having trouble.
I'm using this code:
;--Vehicle-cam----------------------------------------------------------
vehiclecamstop = false
#loop
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "front"]
_cam camsettarget A10
_cam camsetrelpos [0, 5, 10]
#commit
_cam camcommit 0
_cam camsettarget A10
_cam camcommit 0
~0.01
? NOT(vehiclecamstop) : goto "loop"
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
Everytime I execute the script I get a pretty shot of the ocean.
Is there anyway I can fix this ?