GoldenEye: Source Forums

Debriefing => Bug Reports & Fixes => Topic started by: Joe on July 07, 2013, 09:18:31 am

Title: [RESOLVED]4.2.3: GEUtil.PlaySoundTo() Isn't Returning An ID/Object For The Sound
Post by: Joe on July 07, 2013, 09:18:31 am
Hi,

I noticed this is in my debugger today, so I won't be able to include a resurrection sound effect in the new DAD mode (http://forums.geshl2.com/index.php/topic,7378.0.html) version (I think it will be finished by the 14th) because I won't be able to stop this sound effect when a resurrection isn't completed.
Title: Re: [BUG] 4.2.3: GEUtil.PlaySoundTo() Isn't Returning An ID/Object For The Sound
Post by: killermonkey on July 07, 2013, 12:09:37 pm
I had mentioned that is might return ID/Object, but Valve does not work like that. They have a very shitty sound system for Source.

You can still stop a sound using GEUtil.StopSound() and passing in the exact name sequence of the sound that you want to stop. This is basically what you would pass to GEUtil.PlaySoundTo() to get it started.
Title: Re: [BUG] 4.2.3: GEUtil.PlaySoundTo() Isn't Returning An ID/Object For The Sound
Post by: Joe on July 08, 2013, 12:12:31 pm
Thanks for the helpful post.