setaccTime 1
titleCut ["","BLACK OUT", 3]

_camera = "camera" camCreate [8388.39,4348.80,0.74] 
_camera cameraEffect ["internal","back"]

MaVehla = true;

? (vehicle player == player) : MaVehla = false;
? MaVehla : Vehla = vehicle player;

stopar = true
? MaVehla : Vehla setPos getMarkerPos "pro_vehl"

;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Nastaveni Pozic-*-*-*--*-*-*-*-*-*-*-*

aP setPos getMarkerPos "tam"

dobrej setPos getMarkerPos "pro_auto"
dobrej setDir 140
dobrej doMove [(getMarkerPos "stopar2" select 0)+2, (getMarkerPos "stopar2" select 1)+3, (getMarkerPos "stopar2" select 2)]
~1


daber setSpeedMode "Limited"
daber setPos getMarkerPos "stopar2"

? MaVehla : Vehla setPos getMarkerPos "stopari"
? MaVehla : Vehla setdammage 0.3

daber reveal dobrej
daber dowatch getpos dobrej
daber setdir 350


;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-Kamery*-*-*-*-*-*-*-

titleCut ["","BLACK IN", 0.5]

daber say "D01v44"
;stopuje
_camera camSetTarget [-45459.27,94987.61,13374.46]
_camera camSetPos [2983.47,8512.94,0.17]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

~4
daber switchmove "Fxshow3"
~5
titleCut ["","BLACK OUT", 1]


daber moveInCargo dobrej
dobrej domove getMarkerPos "jedem"

titleCut ["","BLACK IN", 1]

	;na Trosku a na spolujezdce
	stop1 = true
	_who = dobrej;

	_dx = 5.57;
	_dy = -0.35;
	_dz = 0.5;


	#LOOP

	;=== 17:26:18
	_camera camSetTarget _who
	_camera camSetPos [(getpos _who select 0) + _dx * sin (getdir _who) - _dy * cos (getdir _who), (getpos _who select 1) + _dx * cos (getdir _who) + _dy * sin (getdir _who), (getpos _who select 2)+_dz]
	_camera camSetFOV 0.700
	_camera camCommit 0
	@camCommitted _camera

	? stopkonec : goto "Pryc"
	goto "LOOP"
	#Pryc





;*-*-*-*-*-*-*-*-*-*-*-*-*-*-*Konec vsichni zpet*-*-*-*-*-*-*-*-*

titleCut ["","BLACK OUT", 2]
~4
daber setPos getMarkerPos "tam"
aP setPos getMarkerPos "nam"



player cameraEffect ["terminate","back"]
camDestroy _camera