989 {
991 {
992 return;
993 }
994
996
999 if (drainPressureLevel >= 0.4 && drainPressureLevel < 0.8)
1000 {
1002 {
1006 StopSoundSet(snd);
1010 }
1011 }
1012
1013 if (drainPressureLevel < 0.4)
1014 {
1016 {
1018 StopSoundSet(snd);
1020 }
1021 }
1022
1024
1026 if (fillPressureLevel >= 0.4)
1027 {
1029 {
1032 StopSoundSet(snd);
1036 }
1037 }
1038
1039 if (fillPressureLevel < 0.4)
1040 {
1042 {
1044 StopSoundSet(snd);
1046 }
1047 }
1048 }
const string SOUND_NAME_PIPE_SPRINKLING_START
const string VALVE_NAME_FILL
const string SOUND_NAME_PIPE_SPRINKLING_LOOP2
const int VALVE_INDEX_DRAIN
float GetValvePressureLevelGauge(int pValveIndex)
ref array< EffectSound > m_PipeSounds
const string VALVE_NAME_DRAIN
const int VALVE_INDEX_FILL
const string SOUND_NAME_PIPE_SPRINKLING_LOOP1
Wrapper class for managing sound through SEffectManager.