836 {
837 if (
g_Game.GetMissionState() != DayZGame.MISSION_STATE_GAME)
838 return;
839
841
842 if (state)
843 {
845 if (m_KilledByHeadshot)
846 {
847 duration = 0;
848 }
849
851 {
854
857 }
858
860
861 g_Game.GetSoundScene().SetSoundVolume(0,0);
862 g_Game.GetSoundScene().SetSpeechExVolume(0,0);
863 g_Game.GetSoundScene().SetMusicVolume(0,0);
864 g_Game.GetSoundScene().SetVOIPVolume(0,0);
865 g_Game.GetSoundScene().SetRadioVolume(0,0);
866 }
867 else
868 {
871 }
872 }
void LockControls(bool state)
override void StopDeathDarkeningEffect()
void ShowDeadScreen(bool show, float duration)
ref DeathEffectTimer m_DeathEffectTimer
static const float DEFAULT_DYING_TIME
static const float DYING_PROGRESSION_TIME
how long does it take to full death screen [s]