(10-23-2011, 03:07 PM)flamez3 Wrote: The sound file is supposed to be:
general_piano03.snt
.ogg is just the music, .snt is how the music is played...
try this:
void PianoScare(string &in asParent, string &in asChild, int alState){ if (alState == 1) { PlaySoundAtEntity("PianoScareMusic", "general_piano03.snt", "piano_1", 0, false); } if (alState == -1) { StopSound("general_piano03.snt", 5); }}
if that doesn't work, take a screeny of the error when you try to load the map, and upload it somewhere so i can see exactly what it says.
it didnt make a difference, Its something about the end i say, Ive marked it in the pic, the error says line 45
http://imageshack.us/photo/my-images/849...lippo.jpg/