578 {
579 if (!
g_Game.IsDedicatedServer())
580 {
582 if (NULL != objectBuilder)
583 {
585 SoundObject soundObject = objectBuilder.BuildSoundObject();
586 AttenuateSoundIfNecessary(soundObject);
587 aw =
PlaySound(soundObject, objectBuilder);
588 }
589 }
590
592 {
593 if (sound_event.m_NoiseParams != NULL)
594 g_Game.GetNoiseSystem().AddNoise(
this, sound_event.m_NoiseParams, NoiseAIEvaluate.GetNoiseReduction(
g_Game.GetWeather()));
595 }
596 }
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
void SoundObject(SoundParams soundParams)
vector GetPosition()
Get the world position of the Effect.