fix(sar): align hoist timing with winch audio

This commit is contained in:
2026-06-24 16:04:38 -03:00
parent cff68d95f4
commit 4c70125409
6 changed files with 72 additions and 53 deletions
+10 -7
View File
@@ -1,10 +1,13 @@
// Declaração de variáveis
params ["_panther"];
// Corte do Cabo
private _rope = _panther getVariable ["hoistrope", objNull];
if (isNull _rope) then {
_panther vehicleChat "no rope!";
// Declaracao de variaveis
params ["_heli"];
private _rope = _heli getVariable ["hoistrope", objNull];
if (isNull _rope) exitWith {
_heli vehicleChat "no rope!";
};
// Corte do cabo
ropeCut [_rope, 0];
ropeDestroy _rope;
_panther setVariable ["hoistrope", nil];
_heli setVariable ["hoistrope", nil];