mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Patachute - Add sound effect when cutting (#8239)
This commit is contained in:
parent
e082d7523f
commit
d3de5a9e69
@ -4,16 +4,20 @@
|
|||||||
* Perform the cut parachute action (move unit out and delete)
|
* Perform the cut parachute action (move unit out and delete)
|
||||||
*
|
*
|
||||||
* Arguments:
|
* Arguments:
|
||||||
* 0: Object <OBJECT>
|
* 0: Player <OBJECT>
|
||||||
|
* 1: Parachute <OBJECT>
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [player, vehicle player] call FUNC(cutParachute);
|
* [player, vehicle player] call ace_parachute_fnc_cutParachute;
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
||||||
params ["_unit", "_parachute"];
|
params ["_unit", "_parachute"];
|
||||||
|
TRACE_2("cutParachute", _unit, _parachute);
|
||||||
|
|
||||||
|
playSound3d ["A3\Sounds_F\characters\parachute\parachute_landing.wss", _unit];
|
||||||
_unit action ["GetOut", _parachute];
|
_unit action ["GetOut", _parachute];
|
||||||
deleteVehicle _parachute;
|
deleteVehicle _parachute;
|
||||||
|
Loading…
Reference in New Issue
Block a user