mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
@@ -348,6 +348,11 @@ while {1 == 1} do {
|
|||||||
//clearGroupIcons group player;
|
//clearGroupIcons group player;
|
||||||
|
|
||||||
uiSleep 2;
|
uiSleep 2;
|
||||||
|
|
||||||
|
//Pain Effects
|
||||||
|
if (r_player_inpain and !r_player_unconscious) then {
|
||||||
|
playSound "breath_1";
|
||||||
|
};
|
||||||
|
|
||||||
_myPos = player getVariable["lastPos",[]];
|
_myPos = player getVariable["lastPos",[]];
|
||||||
if (count _myPos > 0) then {
|
if (count _myPos > 0) then {
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ sched_medical_effectsSlow = {
|
|||||||
//[posCoef, vertCoef, horzCoef, bankCoef, interpolation]
|
//[posCoef, vertCoef, horzCoef, bankCoef, interpolation]
|
||||||
setCamShakeParams [0.02, 0.05, 0.1, 0.3, true];
|
setCamShakeParams [0.02, 0.05, 0.1, 0.3, true];
|
||||||
addCamShake [_strength, _duration, 0.4];
|
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.
|
//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;
|
uiSleep _duration + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user