Why would you want that to crash Starcraft? And especially with a wav file? There are clearly better and more effective methods for doing so. Wav files take up extra space.
If the triggers try to call up a wav that isn't there I belive Starcraft crashes. And it will give you an error.
SF is supposed not to let you play wavs that wren't there.
If the wav name doesn't exist it won't let you save the trigger and you can't leave it in blank.
The only way I could see this and I'm not sure is that you make the trigger and then remove the wav.
I don't think there is a trigger that removes waves because the file is laready in your map. You can't get rid of it by using a trigger. Cool if you could though.
I meant you delete the wav from the map. You go to sounds and delete that specific wave.
I still don't believe it crashes when it calls a wav that doesn't exist.
Example: Wav is called from Install.exe on original Starcraft. Player does not have that cd in drive. It does not crash, it just doesn't play.
I think it crashes if you call a non-wav file as a wav file.
But you cant call up a non-wav for a wav file, because you have to use a wav file. The makers of the game probably put in a safegaurd.
There was a map that crashed the briefing with a wav, I'll post the link if I can find it, and I'll have a look at it.
http://www.staredit.net/index.php?download=1552According to Rantent, it does crash if you remove the wav after. I tried it and it does work, so I guess a wav can crash =\ if it's not there.
How about over 10 mb worth of music? wouldnt that just crash the whole thing?
No, it'll just be very slow, and you will have a download numbre next to your name, even though you are hosting.
In SF you can make wavs that arent there. Whenever you use a wav in a trigger, it duplicates the string in the string table and the wav table. So, once you make the trigger, you will have 2 of the same wavs in the table. Delete it from the wav table, and check if you deleted the right one. The trigger should say PlayWav(""); if you deleted the right one, delete them all to make sure. Note: this was with MPQ wavs, dont know about user wavs. I once had a unit name there, and I think that would crash it too. You could edit it in the string table to be something other than the MPQ path and that would probably make it crash.
Happy New Years Eve! time to drink sparkler and play monopoly!