October 07, 2024, 01:11:31 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
IRC channel - server:
waelisch.de
channel:
#wme
(
read more
)
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Unloading sounds
« previous
next »
Pages: [
1
]
Print
Author
Topic: Unloading sounds (Read 2769 times)
0 Members and 1 Guest are viewing this topic.
Mihulik
Occasional poster
Karma: 0
Offline
Posts: 71
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
Posts: 71
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
Gender:
Posts: 5683
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.
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Unloading sounds