Patachute - Add sound effect when cutting (#8239)

This commit is contained in:
PabstMirror 2021-05-19 23:39:34 -05:00
parent e082d7523f
commit d3de5a9e69

View File

@ -4,16 +4,20 @@
* Perform the cut parachute action (move unit out and delete)
*
* Arguments:
* 0: Object <OBJECT>
* 0: Player <OBJECT>
* 1: Parachute <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player, vehicle player] call FUNC(cutParachute);
* [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;