mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-21 23:50:48 +03:00
Finish Medical and Sleep to UiSleep
This commit is contained in:
@@ -139,7 +139,7 @@ sched_medical_effectsSlow = {
|
||||
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.
|
||||
sleep _duration + 1;
|
||||
uiSleep _duration + 1;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
sched_plantHint = {
|
||||
{
|
||||
(getPosATL _x) spawn {
|
||||
sleep random 10;
|
||||
uiSleep random 10;
|
||||
_sound=format["Sound_Crickets%1",1+floor random 3];
|
||||
//diag_log [ _sound ];
|
||||
_x = createSoundSource [_sound, _this, [], 0];
|
||||
sleep 2;
|
||||
uiSleep 2;
|
||||
deleteVehicle _x;
|
||||
};
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user