I want to have multiple enemy ships make an engine sound when they appear on screen that lasts for several seconds.
However, if that enemy is destroyed, I want that enemy's engine sound to stop immediately.
How can I keep track of the individual sound I want to cut off? I can't name the audio tag with the enemy's IID cause it only accepts a string.
Thanks