Update pain sound effect

Vanilla commit:

7cdb2e67fd
This commit is contained in:
ebaydayz
2016-12-03 13:25:31 -05:00
parent 43d14dbdba
commit 45159d81c2
2 changed files with 6 additions and 1 deletions

View File

@@ -348,6 +348,11 @@ while {1 == 1} do {
//clearGroupIcons group player;
uiSleep 2;
//Pain Effects
if (r_player_inpain and !r_player_unconscious) then {
playSound "breath_1";
};
_myPos = player getVariable["lastPos",[]];
if (count _myPos > 0) then {

View File

@@ -140,7 +140,7 @@ sched_medical_effectsSlow = {
//[posCoef, vertCoef, horzCoef, bankCoef, interpolation]
setCamShakeParams [0.02, 0.05, 0.1, 0.3, true];
addCamShake [_strength, _duration, 0.4];
playSound "breath_1";
//playSound "breath_1";
//Lets make sure the spawn ends 1 sec after the _duration timer this should provide a smooth transtion rather then a snap to focus.
uiSleep _duration + 1;