mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a3aef6a066
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
24 lines
543 B
Plaintext
24 lines
543 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: joko, Jonas, kymckay
|
|
* Perform the cut parachute action (move unit out and delete)
|
|
*
|
|
* Arguments:
|
|
* 0: Player <OBJECT>
|
|
* 1: Parachute <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [player, vehicle player] call ace_parachute_fnc_cutParachute;
|
|
*
|
|
* Public: No
|
|
*/
|
|
params ["_unit", "_parachute"];
|
|
TRACE_2("cutParachute",_unit,_parachute);
|
|
|
|
playSound3d ["A3\Sounds_F\characters\parachute\parachute_landing.wss", _unit];
|
|
_unit action ["GetOut", _parachute];
|
|
deleteVehicle _parachute;
|