Sleep 1200+(random 10800);
_spawnpos = [getmarkerpos "crashsitemarker", 100+(random 4000), (random 360)] call BIS_fnc_relPos;
crashsiteheli = "Land_Wreck_Heli_Attack_01_F" createVehicle _spawnpos;
crashsiteheli setPos [getPos crashsiteheli select 0, getPos crashsiteheli select 1,-0.1]; 
Sleep 5;
hint "Ein Militärhelikopter sendete einen Notruf";
Sleep 300;
hint "Die Absturzstelle wurde markiert";
null = createMarker ["crashsite", crashsiteheli];
null setMarkerShape "RECTANGLE";
null setMarkerSize [800,800];
"Crashsite" setMarkerColor "ColorRed";
null = createMarker ["crashsiteMark", crashsiteheli];
"CrashsiteMark" setMarkerType "mil_warning";
"CrashsiteMark" setMarkerText "Absturzstelle PVP Zone";
TheObject = "test_EmptyObjectForFireBig" createVehicle position crashsiteheli;
TheObject attachTo[crashsiteheli,[0,1.5,-1]];
sleep 2;
gun2 = ["srifle_DMR_04_F","srifle_DMR_01_F","LMG_Mk200_F","arifle_Katiba_GL_F","arifle_MX_GL_F","srifle_DMR_04_F","srifle_GM6_camo_F"] call BIS_fnc_selectRandom;  
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark",[], 0, "can_collide"];
Waffe1 addWeaponCargo [gun2,1]; 
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-10,(getpos Waffe1 select 1)+(random 3)-14,0];
munition = ["10Rnd_762x54_Mag","200Rnd_65x39_cased_Box","30Rnd_65x39_caseless_mag","10Rnd_127x54_Mag","5Rnd_127x108_Mag"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark",[], 0, "can_collide"]; 
Waffe1 addmagazinecargo [munition,2];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-10,(getpos Waffe1 select 1)+(random 3)-10,0];
munition2 = ["UGL_FlareRed_F","UGL_FlareGreen_F","UGL_FlareWhite_F","10Rnd_127x54_Mag","5Rnd_127x108_Mag"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark",[], 0, "can_collide"];
Waffe1 addmagazinecargo [munition2,3];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 2)-6,(getpos Waffe1 select 1)+(random 3)-6,0];
itemw = ["acc_pointer_IR","acc_flashlight","muzzle_snds_M","muzzle_snds_B","muzzle_snds_H_MG","Rangefinder"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark",[], 0, "can_collide"];
Waffe1 additemcargo [itemw,1];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-8,(getpos Waffe1 select 1)+(random 3)-8,0];
itemw2 = ["optic_Arco","optic_Hamr","optic_SOS","optic_DMS","optic_LRPS","optic_AMS_khk","optic_KHS_tan"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark",[], 0, "can_collide"];
Waffe1 additemcargo [itemw2,1];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-7,(getpos Waffe1 select 1)+(random 3)-7,0];
Sleep 1800;
hint "Das Helikopterwrack wurde geborgen";
deleteVehicle crashsiteheli;
deleteMarker "crashsite";
deleteMarker "crashsiteMark";
{if (typeOf _x == "#particlesource") then {deleteVehicle _x}} forEach (TheObject nearObjects 5); 
deleteVehicle TheObject;

Sleep 1200+(random 3600);// <--- --- --- --- Wrack2 Spawn beginn
_spawnpos = [getmarkerpos "crashsitemarker2", 100+(random 2000), (random 360)] call BIS_fnc_relPos;
crashsiteheli2 = "Land_UWreck_MV22_F" createVehicle _spawnpos;
crashsiteheli2 setPos [getPos crashsiteheli2 select 0, getPos crashsiteheli2 select 1,-0.1];
Sleep 5;
hint "Ein Militärtransporter ist über dem Meer abgestürzt";
Sleep 300;
hint "Die Absturzstelle wurde markiert";
null = createMarker ["crashsite2", crashsiteheli2];
null setMarkerShape "RECTANGLE";
null setMarkerSize [800,800];
"Crashsite2" setMarkerColor "ColorRed";
null = createMarker ["crashsiteMark2", crashsiteheli2];
"CrashsiteMark2" setMarkerType "mil_warning";
"CrashsiteMark2" setMarkerText "Absturzstelle PVP Zone";
gun3 = ["srifle_DMR_04_F","srifle_DMR_01_F","LMG_Mk200_F","arifle_Katiba_GL_F","arifle_MX_GL_F","srifle_DMR_04_F","srifle_GM6_camo_F"] call BIS_fnc_selectRandom;  
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark2",[], 0, "can_collide"];
Waffe1 addWeaponCargo [gun3,1]; 
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-10,(getpos Waffe1 select 1)+(random 3)-14,0];
munition3 = ["10Rnd_762x54_Mag","200Rnd_65x39_cased_Box","30Rnd_65x39_caseless_mag","10Rnd_127x54_Mag","5Rnd_127x108_Mag"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark2",[], 0, "can_collide"]; 
Waffe1 addmagazinecargo [munition3,3];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-10,(getpos Waffe1 select 1)+(random 3)-10,0];
munition4 = ["10Rnd_127x54_Mag","5Rnd_127x108_Mag"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark2",[], 0, "can_collide"];
Waffe1 addmagazinecargo [munition4,3];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 2)-6,(getpos Waffe1 select 1)+(random 3)-6,0];
itemw3 = ["acc_pointer_IR","acc_flashlight","muzzle_snds_M","muzzle_snds_B","muzzle_snds_H_MG","Rangefinder"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark2",[], 0, "can_collide"];
Waffe1 additemcargo [itemw3,1];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-8,(getpos Waffe1 select 1)+(random 3)-8,0];
itemw4 = ["optic_Arco","optic_Hamr","optic_SOS","optic_DMS","optic_LRPS","optic_AMS_khk","optic_KHS_tan"] call BIS_fnc_selectRandom;
Waffe1 = createVehicle ["groundweaponHolder",getmarkerpos "crashsiteMark2",[], 0, "can_collide"];
Waffe1 additemcargo [itemw4,1];
Waffe1 setpos [(getpos Waffe1 select 0)+(random 1)-7,(getpos Waffe1 select 1)+(random 3)-7,0];
Sleep 3600;
hint "Das Helikopterwrack wurde geborgen";
deleteVehicle crashsiteheli2;
deleteMarker "crashsite2";
deleteMarker "crashsiteMark2";