hi there, it's me again....
this time the problem is create INTRO and ENDING(s) as movie....
in old OFP i remember mysolf using triggers as cameras, but now is not possible....
i readed and tried camera.sqs....but when i try to load the INTRO it gives no movie!
please help me! here is the code (i copied most of it) i am using in my end1.sqs:
titlecut [" ","BLACK IN",1]
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "black"]
showcinemaborder false;
;comment "15:43:20";
_camera camPrepareTarget agent6;
_camera camPreparePos [7405.76,6596.23,2.91];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 0
@camcommitted _camera
~120
player cameraeffect ["terminate",""back"]
camdestroy _camera
end1=true;
exit;
EDIT:
well i found a way....i really don't understand what was wrong, anyway with this code it works:
titlecut [" ","BLACK IN",8]
; create the camera - it doesn't matter where you create it
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "TOP"]
; move the camera to its first position
;comment "19:14:15"
_camera camPrepareTarget [93526.27,-41383.23,-16478.07]
_camera camPreparePos [7399.98,6593.39,3.65]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 0
; since the first command is prepared in zero seconds, it needs no @camCommitted
; the second command - changing position and/or target and/or FOV
_camera camPrepareTarget agent6
_camera camPreparePos [7399.98,6593.39,3.65]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 10
; notice that the camCommitPrepared value is 10 - that means the camera will take 10 seconds to move from the first position to the second position
; now you need the @camCommitted command because you want to wait until the camera has finished moving before issuing a new command
~240
@camCommitted _camera
; destroy the camera
camdestroy _camera
titlecut [" ","BLACK OUT",2]