mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
26 lines
509 B
Plaintext
26 lines
509 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: BaerMitUmlaut
|
|
* Removes FRIES from helicopter.
|
|
*
|
|
* Arguments:
|
|
* 0: The helicopter <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [_vehicle] call ace_fastroping_fnc_unequipFRIES
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
|
|
params ["_vehicle"];
|
|
|
|
deleteVehicle (_vehicle getVariable [QGVAR(FRIES), objNull]);
|
|
_vehicle setVariable [QGVAR(FRIES), nil, true];
|
|
|
|
if (_vehicle getVariable [QGVAR(deployedRopes), []] isNotEqualTo []) then {
|
|
[_vehicle] call FUNC(cutRopes);
|
|
};
|