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

◆ PlayAmbientSound()

void PlayAmbientSound ( )
protected

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

495 {
496 if (m_TransitionalTrigger && m_TransitionalTrigger.m_Data.AmbientSoundType != string.Empty)
497 {
498 m_AmbientController = m_TransitionalTrigger.m_Data.AmbientSoundType;
499 SetSoundControllerOverride(m_AmbientController, 1.0, SoundControllerAction.Overwrite);
500 }
501 else
502 m_Player.PlaySoundSetLoop(m_AmbientSound, "Underground_SoundSet",3,3);
503 }
DayZPlayer m_Player
Определения Hand_Events.c:42
string m_AmbientController
Определения UndergroundHandlerClient.c:31
UndergroundTrigger m_TransitionalTrigger
Определения UndergroundHandlerClient.c:34
EffectSound m_AmbientSound
Определения UndergroundHandlerClient.c:32
SetSoundControllerOverride(string controllerName, float value, SoundControllerAction action)

Перекрестные ссылки m_AmbientController, m_AmbientSound, m_Player, m_TransitionalTrigger и SetSoundControllerOverride().

Используется в OnUndergroundPresenceUpdate().