Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Unloading sounds  (Read 1046 times)

0 Members and 1 Guest are viewing this topic.

Mihulik

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 71
    • View Profile
Unloading sounds
« 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!
Logged

Mihulik

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 71
    • View Profile
Re: Unloading sounds
« Reply #1 on: February 06, 2012, 08:49:59 AM »

Nobody knows? :)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5677
    • View Profile
    • Dead:Code Site
Re: Unloading sounds
« Reply #2 on: February 06, 2012, 10:32:04 AM »

Calling StopSound() will remove the cached sound.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.314 seconds with 17 queries.