mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Only play fastroping sounds for player
This commit is contained in:
parent
e779bc0cb2
commit
27c347eec8
@ -38,12 +38,14 @@ if (isNull attachedTo _unit) exitWith {
|
||||
[_unit, "", 2] call EFUNC(common,doAnimation);
|
||||
_unit setVectorUp [0, 0, 1];
|
||||
|
||||
if (_unit == ACE_player) then {
|
||||
playSound QGVAR(Thud);
|
||||
};
|
||||
|
||||
[_pfhHandle] call CBA_fnc_removePerFrameHandler;
|
||||
};
|
||||
|
||||
if (diag_tickTime > _timeToPlayRopeSound) then {
|
||||
if (_unit == ACE_player && {diag_tickTime > _timeToPlayRopeSound}) then {
|
||||
_arguments set [4, (_timeToPlayRopeSound + 1)];
|
||||
playSound QGVAR(Rope);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user