987 {
989 {
990 return;
991 }
992
994
997 if (drainPressureLevel >= 0.4 && drainPressureLevel < 0.8)
998 {
1000 {
1004 StopSoundSet(snd);
1008 }
1009 }
1010
1011 if (drainPressureLevel < 0.4)
1012 {
1014 {
1016 StopSoundSet(snd);
1018 }
1019 }
1020
1022
1024 if (fillPressureLevel >= 0.4)
1025 {
1027 {
1030 StopSoundSet(snd);
1034 }
1035 }
1036
1037 if (fillPressureLevel < 0.4)
1038 {
1040 {
1042 StopSoundSet(snd);
1044 }
1045 }
1046 }
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.