mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ffaa195fe5
* Fixed headers to work with silentspike python script * Fixed rest of the files * Fixed ace-team
22 lines
394 B
Plaintext
22 lines
394 B
Plaintext
/*
|
|
* Author: joko // Jonas
|
|
* Cut Parachute and delete Old
|
|
*
|
|
* Arguments:
|
|
* 0: Object <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [player] call FUNC(cutParachute);
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
params ["_unit"];
|
|
private _vehicle = vehicle _unit;
|
|
_unit action ["GetOut", _vehicle];
|
|
deleteVehicle _vehicle;
|
|
_unit setVariable [QGVAR(chuteIsCut), true, true];
|