; camera basic initialization
_camera = "camera" camCreate [0,0,0]
_camera camSetTarget [0,0,0]
_camera cameraEffect ["internal","back"]
_camera camSetFOV 0.700

;=== 10:24:43
_camera camSetTarget player
_camera camSetRelPos [0,-2,1]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

; random weather ;)
0 setovercast random 1

mytunes=["7thmylife","7thoverdose","7thlifeless","7thdecide","7thdarken","7thmylife"];

playmusic [mytunes select (random 5),0]

titlecut ["","BLACK IN",3];

numloop=0;

#Loop
if (numloop > 10) then { numloop=0; playmusic [mytunes select (random 5),0]; }

_A=0;
#SideCammer_heli2
~.001
;=== 10:24:43
_camera camSetTarget heli2
_camera camSetRelPos [10,-10,3]
_camera camSetTarget heli
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
_A=_A+1
if (_A < 2000) then { goto "SideCammer_heli2"; };

;=== 10:24:43
_camera camSetTarget heli1
_camera camSetRelPos [-50,500,0]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~7

_A=0;
#SideCammer_heli1
~.001
;=== 10:24:43
_camera camSetTarget heli1
_camera camSetRelPos [-5,20,3]
_camera camSetTarget heli2
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
_A=_A+1
if (_A < 2000) then { goto "SideCammer_heli1"; };

;=== 10:24:43
_camera camSetTarget heli2
_camera camSetRelPos [50,500,-25]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~7

numloop=numloop+1
goto "Loop";

titlecut ["","BLACK OUT",3];
4 fademusic 0;
~3

; destroy camera - if we use mission cutscene
_camera cameraEffect ["terminate","back"]

; Destroy the camera
camDestroy _camera

; end the intro
endcut=true

; Exit this script
exit
