ACE3/addons/compat_rhs_afrf3/functions/fnc_onCut.sqf

23 lines
473 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
2016-03-01 23:01:34 +00:00
/*
* Author: BaerMitUmlaut
* Function for closing doors and retracting the hooks for RHS USF helos.
*
* Arguments:
* 0: Helicopter <OBJECT>
*
* Return Value:
* Amount of time to wait before cutting ropes <NUMBER>
*
* Example:
* [_vehicle] call ace_compat_rhs_afrf3_fnc_onCut
*
* Public: No
*/
params ["_vehicle"];
_vehicle setVariable [QEGVAR(fastroping,doorsLocked), false, true];
_vehicle animateDoor ["LeftDoor", 0];
2