ACE3/addons/parachute/functions/fnc_cutParachute.sqf
SilentSpike ec09c2beda Remove parachute landing animation (#5794)
* Remove parachute landing animation

The vanilla animation has since been reworked and is an improvement.

* Optimise altimeter code

* Fix reserve chute handling and cutting action

* Fix cut parachute action

* Fix cut parachute action further

- Prevent potential for action to be present when reserve is not
available
- Move cut parachute action to the parachute self actions rather than
the player's

* Revert number to string conversion
2017-12-02 11:02:16 -06:00

20 lines
385 B
Plaintext

/*
* Author: joko, Jonas, SilentSpike
* Perform the cut parachute action (move unit out and delete)
*
* Arguments:
* 0: Object <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player, vehicle player] call FUNC(cutParachute);
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit", "_parachute"];
_unit action ["GetOut", _parachute];
deleteVehicle _parachute;