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

◆ HandleSoundEffectsPipeCreaking()

void HandleSoundEffectsPipeCreaking ( )
protected

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

966 {
967 if (IsAnyValveActive())
968 {
970 {
973 g_Game.GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(PlayPipeCreakingSoundOnLocation, randomDelay, false);
974 }
975 }
976 else
977 {
979 {
980 StopSoundSet(m_PipeCreakingSounds);
982 }
983 }
984 }
DayZGame g_Game
Определения DayZGame.c:3942
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().