_jet = "f35b" createVehicle [0,0,0]; _shilka = "2s6m_tunguska" createVehicle [0,0,0]; _shilka attachTo [_jet,[0.33,-2.5,4]]; _pos = position player; _jet setPos [(_pos select 0) + (sin direction player) * 10, (_pos select 1) + (cos direction player) * 10, 0]; _shilka setDir 180; _shilka setPos getPos _shilka; if (!isNil "_this") then { hint format["TRYING TO PUT SOMEONE IN GUNNER!"]; _no = nearestObjects [player, ["Man","Air","Land"], 50]; _ply = _no select 1; if (!isNull _ply) then { _ply action ["getInDriver",_jet,[0]]; }; }; while {true} do { if (isNull _jet || isNull _shilka) exitWith { deleteVehicle _shilka; deleteVehicle _jet; }; if (getDammage _jet >= 1 || getDammage _shilka >= 1) exitWith { _shilka setDamage 1; _jet setDamage 1; }; };