Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unexpected End Of File? HELP ME
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#8
RE: Unexpected End Of File? HELP ME

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.

10-23-2011, 03:07 PM
Find


Messages In This Thread
Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 02:27 PM
RE: Unexpected End Of File? HELP ME - by flamez3 - 10-23-2011, 02:34 PM
RE: Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 02:38 PM
RE: Unexpected End Of File? HELP ME - by flamez3 - 10-23-2011, 02:48 PM
RE: Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 02:51 PM
RE: Unexpected End Of File? HELP ME - by flamez3 - 10-23-2011, 02:56 PM
RE: Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 03:00 PM
RE: Unexpected End Of File? HELP ME - by flamez3 - 10-23-2011, 03:07 PM
RE: Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 03:13 PM
RE: Unexpected End Of File? HELP ME - by Elven - 10-23-2011, 03:10 PM
RE: Unexpected End Of File? HELP ME - by flamez3 - 10-23-2011, 03:14 PM
RE: Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 03:20 PM
RE: Unexpected End Of File? HELP ME - by flamez3 - 10-23-2011, 03:26 PM
RE: Unexpected End Of File? HELP ME - by Lemorz56 - 10-23-2011, 03:30 PM
RE: Unexpected End Of File? HELP ME - by Elven - 10-23-2011, 03:40 PM



Users browsing this thread: 1 Guest(s)