Jump to content
Sign in to follow this  
Rytuklis

Switch from cutscene to gameplay?

Recommended Posts

Hello again.

So I have a cutscene at the beggining of the mission (it's in the actual mission, not the intro) but I can't get it to terminate after it's done and switch to gameplay. Help?

This is my code:

; ****************************************************************
; Script file for Armed Assault
; Created by: TODO: Author Name
; ****************************************************************

titleCut ["Four hours later..","BLACK FADED",4]
~4
titleCut ["","BLACK IN",2]

_camera = "camera" camCreate [3614.17,10183.72,0.48];
_camera cameraEffect ["internal","back"]

;comment "14:52:02";
_camera camPrepareTarget [-76523.34,-47826.02,-14576.42];
_camera camPreparePos [3614.17,10183.72,0.48];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 2
@camcommitted _camera

;comment "14:52:02";
_camera camPrepareTarget csat2;
_camera camsettarget csat2;
_camera camPreparePos [3614.17,10183.72,0.48];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 4
@camcommitted _camera

~6

;comment "14:52:02";
_camera camPrepareTarget aleksis;
_camera camsettarget aleksis;
_camera camPreparePos [3614.17,10183.72,0.48];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 7
@camcommitted _camera

titleCut ["","BLACK OUT",2
~2
titleCut ["","BLACK FADED",2]
~2
titleCut ["","BLACK IN",2]
player switchmove "Acts_starterPistol_out"

_camera = "camera" camCreate [3613.32,10183.21,1.51];
_camera cameraEffect ["internal","back"];

;comment "15:03:30";
_camera camPrepareTarget [-48813.88,-72832.21,-18955.82];
_camera camPreparePos [3613.32,10183.21,1.51];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 5
@camcommitted _camera

camdestroy _camera

camintroend = true

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×