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

◆ HandleSoundEffectsPipeCreaking()

void HandleSoundEffectsPipeCreaking ( )
protected

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

968 {
969 if (IsAnyValveActive())
970 {
972 {
975 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(PlayPipeCreakingSoundOnLocation, randomDelay, false);
976 }
977 }
978 else
979 {
981 {
982 StopSoundSet(m_PipeCreakingSounds);
984 }
985 }
986 }
DayZGame g_Game
Определения DayZGame.c:4074
void PlayPipeCreakingSoundOnLocation()
bool m_PipeCreakingSoundRequested
const int PIPE_CREAKING_MIN_TIME_DELAY_MS
bool IsAnyValveActive()
ref EffectSound m_PipeCreakingSounds
const int PIPE_CREAKING_MAX_TIME_DELAY_MS
Определения EnMath.c:7
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].
const int CALL_CATEGORY_SYSTEM
Определения 3_Game/DayZ/tools/tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, g_Game, IsAnyValveActive(), m_PipeCreakingSoundRequested, m_PipeCreakingSounds, PIPE_CREAKING_MAX_TIME_DELAY_MS, PIPE_CREAKING_MIN_TIME_DELAY_MS, PlayPipeCreakingSoundOnLocation() и Math::RandomInt().

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