Ive a nice question about sounds
Well the tests I made showed
Doesnt destroy the sound
I tested it with a trigger like
Player 1 presses left key
do these actions 1000 times
And I noticed memory war3.exe uses increased by a cool number
Also after X times of I press
ID for new objects increased by a great ammount
Since there is no DestroySound
What do you suggest ?
Well the tests I made showed
JASS:
local sound snd = CreateSoundFromLabel(and the story goes)
call StartSound(snd)
call KillSoundWhenDone(snd)
set snd = null
Doesnt destroy the sound
I tested it with a trigger like
Player 1 presses left key
do these actions 1000 times
And I noticed memory war3.exe uses increased by a cool number
Also after X times of I press
ID for new objects increased by a great ammount
Since there is no DestroySound
What do you suggest ?