I'm using some custom sounds that I've imported into my map.
When I "Destroy Sound" after I play it to clear up the memory leak the sound stops playing immediately (so I don't hear it) and apparently really destroys it, as when I try to play it later in the same game, even without the "destroy" command, it still doesn't play.
As part of my play testing, I tried destroying the sound before I played it, then played it 5 seconds later in the same trigger. The sound didn't play. When I took the "Destroy Sound" action out of the trigger and tried the game again, the sound did play.
I want to use the same sound many times, but I don't want to leak every time I play the sound. How on earth do I avoid that?
Darwin
When I "Destroy Sound" after I play it to clear up the memory leak the sound stops playing immediately (so I don't hear it) and apparently really destroys it, as when I try to play it later in the same game, even without the "destroy" command, it still doesn't play.
As part of my play testing, I tried destroying the sound before I played it, then played it 5 seconds later in the same trigger. The sound didn't play. When I took the "Destroy Sound" action out of the trigger and tried the game again, the sound did play.
I want to use the same sound many times, but I don't want to leak every time I play the sound. How on earth do I avoid that?
Darwin