mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ec09c2beda
* 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
20 lines
385 B
Plaintext
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;
|