braf_air
rvmatv dps 3 helicópteros corrigidos para o path env_land_co.paa. camo5_co da fab e mb corrigidos - winch do sar estava transparente. braf_sar scripts cprrigidos após atualização da bis que os quebrou
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// Declaração de variáveis
|
||||
params ["_heli","_player"];
|
||||
params ["_heli", "_player"];
|
||||
|
||||
// Récupération des victimes (thx to Tetet)
|
||||
private _basket = _heli getVariable ["rescueseat", ObjNull];
|
||||
private _rope = _heli getVariable ["hoistrope", ObjNull];
|
||||
private _basket = _heli getVariable ["rescueseat", objNull];
|
||||
private _rope = _heli getVariable ["hoistrope", objNull];
|
||||
private _length = ropeLength _rope;
|
||||
|
||||
if (isNull _rope) then {
|
||||
@@ -19,17 +19,16 @@ if (_length <= 3.1) then {
|
||||
[_x, _heli] remoteExec ["moveInCargo", _x];
|
||||
_x assignAsCargo _heli;
|
||||
};
|
||||
} foreach crew _basket;
|
||||
} forEach crew _basket;
|
||||
ropeDestroy _rope;
|
||||
deleteVehicle _basket;
|
||||
_heli setVariable ["rescueseat", nil];
|
||||
_heli setVariable ["hoistrope", nil];
|
||||
_heli vehicleChat "Basket In Cabin";
|
||||
|
||||
} else {
|
||||
_heli vehicleChat "First Raise The Basket To Cabin Door";
|
||||
};
|
||||
|
||||
// Corte do Cabo
|
||||
//ropeCut [_heli getVariable "hoistrope", 0];
|
||||
//deleteVehicle (_heli getVariable "rescueseat");
|
||||
// ropeCut [_heli getVariable "hoistrope", 0];
|
||||
// deleteVehicle (_heli getVariable "rescueseat");
|
||||
Reference in New Issue
Block a user