mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ccd3fb8b4a
add New Config Parameter has Reserve Parachute
22 lines
408 B
Plaintext
22 lines
408 B
Plaintext
/*
|
|
* Author: joko // Jonas
|
|
* Cut Parachute and delete Old
|
|
*
|
|
* Arguments:
|
|
* 0: Object
|
|
*
|
|
* Return Value:
|
|
* Nothing
|
|
*
|
|
* Example:
|
|
* [player] call FUNC(cutParachute);
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
private["_unit","_vehicle"];
|
|
_unit = _this select 0;
|
|
_vehicle = vehicle _unit;
|
|
_unit action ["GetOut", _vehicle];
|
|
deleteVehicle _vehicle;
|
|
_unit setVariable [QGVAR(chuteIsCut), true]; |