ACE3/addons/parachute/functions/fnc_cutParachute.sqf

22 lines
379 B
Plaintext
Raw Normal View History

2015-05-19 11:45:28 +00:00
#include "script_component.hpp"
/*
Name: Cut Parachute
Author: joko // Jonas
Description:
Cut Parachute and delete Old
Parameters:
0: Object
Returns:
Nothing
*/
private["_unit","_vehicle"];
_unit = _this select 0;
_vehicle = vehicle _unit;
_unit action ["GetOut", vehicle _unit];
deleteVehicle _vehicle;
_unit addBackpack "B_Parachute";
2015-05-19 12:20:56 +00:00
SETVAR(_unit,chuteIsCut,true);