HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

CreateSoundFromLabel and Warning.wav

03-28-2006, 08:46 AM#1
Moss
What is the "label" or whatever for the Warning.wav in the Interface category? I want to use CreateSoundFromLabel but I don't know what to put inside the "".
03-28-2006, 11:05 AM#2
PipeDream
The labels are defined inside SLK files. For example in UI/SoundInfo/PortraitAnims.slk, you can find labels such as "KnightPissed". If you know the file name though, might as well use that directly with CreateSound()
03-28-2006, 08:35 PM#3
Moss
Thanks, I found out it was called CreepAggro. Never would have guessed. Is there any performance or other benifits to using CreateSoundFromLabel vs CreateSound? I was just copying how the SimError custom function does it.