DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnPlayerRespawned()

override void MissionBase::OnPlayerRespawned ( Man player)
inlineprotected

См. определение в файле missionGameplay.c строка 1589

1590 {
1591 #ifdef DIAG_DEVELOPER
1592 if (m_HudDebug)
1593 m_HudDebug.RefreshByLocalProfile();
1594 #endif
1595
1596 PlayerBase playerBase = PlayerBase.Cast(player);
1597 if (playerBase)
1598 {
1599 GetGame().GetCallQueue(CALL_CATEGORY_GUI).Call(playerBase.ShowDeadScreen, false, 0);
1600 }
1601
1602 GetGame().GetSoundScene().SetSoundVolume(g_Game.m_volume_sound,1);
1603 GetGame().GetSoundScene().SetSpeechExVolume(g_Game.m_volume_speechEX,1);
1604 GetGame().GetSoundScene().SetMusicVolume(g_Game.m_volume_music,1);
1605 GetGame().GetSoundScene().SetVOIPVolume(g_Game.m_volume_VOIP,1);
1606 GetGame().GetSoundScene().SetRadioVolume(g_Game.m_volume_radio,1);
1607 }
DayZGame g_Game
Определения DayZGame.c:3868
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
proto native AbstractSoundScene GetSoundScene()
ref HudDebug m_HudDebug
Определения missionGameplay.c:15
proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
proto native void SetSoundVolume(float vol, float time)
proto native void SetSpeechExVolume(float vol, float time)
proto native void SetVOIPVolume(float vol, float time)
proto native void SetRadioVolume(float vol, float time)
proto native void SetMusicVolume(float vol, float time)
const int CALL_CATEGORY_GUI
Определения tools.c:9

Перекрестные ссылки ScriptCallQueue::Call(), CALL_CATEGORY_GUI, g_Game, CGame::GetCallQueue(), GetGame(), CGame::GetSoundScene(), m_HudDebug, AbstractSoundScene::SetMusicVolume(), AbstractSoundScene::SetRadioVolume(), AbstractSoundScene::SetSoundVolume(), AbstractSoundScene::SetSpeechExVolume() и AbstractSoundScene::SetVOIPVolume().