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 -16
View File
@@ -1,27 +1,21 @@
// Declaração de variáveis:
// Declaracao de variaveis:
params ["_heli"];
// Criação e posicionamento do assento:
// Espera de 1 segundo
sleep 1;
// Texto que aparece no side channel
_heli vehicleChat "Deploying Rescue Seat";
// Criação do veículo _rescueseat
private _rescueseat = "BRAF_Rescue_Seat" createVehicle [0, 0, 0];
// Criacao e posicionamento do assento
private _rescueSeat = "BRAF_Rescue_Seat" createVehicle [0, 0, 0];
_rescueSeat setDir (getDir _heli);
_rescueSeat setPosASL (_heli modelToWorld [0, 0, -1.5]);
// Mudança de Orientação do _rescueseat
_rescueseat setDir (getDir _heli);
// Criacao do cabo
private _hoistRope = ropeCreate [_heli, "rope_start", _rescueSeat, "hoist_point", 0.25];
// Mudança de posição do _rescueseat
_rescueseat setPosASL (_heli modelToWorld [0, 0, -1.5]);
_heli setVariable ["rescueseat", _rescueSeat];
_heli setVariable ["hoistrope", _hoistRope];
// Criação do Cabo
private _hoistrope = ropeCreate [_heli, "rope_start", _rescueseat, "hoist_point", 0.25];
_heli setVariable ["rescueseat", _rescueseat];
_heli setVariable ["hoistrope", _hoistrope];
_heli;
_heli;