584 {
585 if (!
g_Game.IsHeadlessOrDedicatedServer())
586 {
588 if (NULL != objectBuilder)
589 {
591 SoundObject soundObject = objectBuilder.BuildSoundObject();
592 AttenuateSoundIfNecessary(soundObject);
593 aw =
PlaySound(soundObject, objectBuilder);
594 }
595 }
596
598 {
599 if (sound_event.m_NoiseParams != NULL)
600 GetGame().GetNoiseSystem().AddNoise(
this, sound_event.m_NoiseParams);
601 }
602 }
class AbstractSoundScene SoundObjectBuilder(SoundParams soundParams)
void SoundObject(SoundParams soundParams)
vector GetPosition()
Get the world position of the Effect.