Files
braf/braf_sar/Braf_Scripts/DRS.sqf
T

22 lines
568 B
Plaintext

// Declaracao de variaveis:
params ["_heli"];
// Espera de 1 segundo
sleep 1;
// Texto que aparece no side channel
_heli vehicleChat "Deploying Rescue Seat";
// 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]);
// Criacao do cabo
private _hoistRope = ropeCreate [_heli, "rope_start", _rescueSeat, "hoist_point", 0.25];
_heli setVariable ["rescueseat", _rescueSeat];
_heli setVariable ["hoistrope", _hoistRope];
_heli;