Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Mihulik on February 05, 2012, 11:12:31 AM

Title: Unloading sounds
Post by: Mihulik on February 05, 2012, 11:12:31 AM
Hi,
if I attach a sound to an entity by calling entity.LoadSound("..."), when is the sound unloaded?
Can I unload the sound explicitly?
Is the sound unloaded when I set entity.Active = false?

Thanks!
Title: Re: Unloading sounds
Post by: Mihulik on February 06, 2012, 08:49:59 AM
Nobody knows? :)
Title: Re: Unloading sounds
Post by: Mnemonic on February 06, 2012, 10:32:04 AM
Calling StopSound() will remove the cached sound.