ACE3/addons/compat_cup_vehicles/functions/fnc_onCutUH1Y.sqf
Mike-MF 5111062e6d
Add CUP Vehicles Compatibility (#9602)
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-02-28 16:50:07 +01:00

23 lines
462 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Unknown
* Function for retracting the hooks for CUP UH-1Y helos.
*
* Arguments:
* 0: Helicopter <OBJECT>
*
* Return Value:
* Amount of time to wait before cutting ropes <NUMBER>
*
* Example:
* [_vehicle] call ace_compat_cup_vehicles_fnc_onCutUH1Y
*
* Public: No
*/
params ["_vehicle"];
_vehicle setVariable ["ace_fastroping_doorsLocked", false, true];
_vehicle animateSource ["fries_extend", 0];
2