fix(sar): align hoist timing with winch audio
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user