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

	_camera camSetTarget pln1
	_camera camSetRelPos [30,15,2]
	_camera camSetFOV 0.700
	_camera camCommit 0
	@camCommitted _camera

	
	playmusic ["time",0]

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

#START
	

#FLYBY
	_DISTANCE=1+random 100
	_offset = (_DISTANCE/2) - random (_DISTANCE)
	_camera camSetTarget pln1
	_camera camSetrelPos [_offset,_DISTANCE,-1*(getpos pln1 select 2)+5]
	_camera camSetFOV 0.800
	_camera camCommit 0
	@camCommitted _camera
	~10
	goto "JUMPER"
	

#SideCammer
	~.001
	_camera camSetTarget pd
	_camera camSetRelPos [5,-8,-1]
	_camera camSetFOV 0.700
	_camera camCommit 0
	@camCommitted _camera
	_A=_A+1;
	if (_A < (100 + random 100)) then { goto "SideCammer"; };
	goto "JUMPER"

#SideCammer2

	~.001
	_camera camSetTarget pd3
	_camera camSetRelPos [3,10,5]
	_camera camSetFOV 0.700
	_camera camCommit 0
	@camCommitted _camera
	_A=_A+1;
	if (_A < (100 + random 100)) then { goto "SideCammer2"; };
	goto "JUMPER"

#JUMPER
	_A=0;
	
	_rdi = random 3
if (_rdi<1)then {goto "Sidecammer"}
if (_rdi<2 and _rdi>1)then {goto "Sidecammer2"} 
if (_rdi<3 and _rdi>2)then {goto "flyby"}
	
	goto "flyby";

; Destroy the camera
camDestroy _camera

; end the intro
endcut=true

; Exit this script
exit
