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 STILL...
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#3
RE: Unexpected end of file STILL...

(12-04-2012, 02:50 AM)ryan1431 Wrote: This is what i have in my .hps file.

void papermusic_01(string &in asEntity)
{
PlayMusic("01_paper_self.ogg", 1, 0, 0, 0);
AddTimer("paper_01_music", 25, "paper_01_music");
}

void paper_01_music(string &in asTimer)
{
StopMusic(1, 0);
}


Okay so the papermusic_01 is the name of the callbackfunc ...

Every time i try to "quickmapreload" using debug, it says this...

Main (49,2) : ERR : Unexpected end of file

At first i didn't put a ';' after StopGameMusic(1,0) but that doesn't seem to be the problem.

(Btw 49,2 -> refers to the line 'StopGameMusic(1,0);'


If you don't mark the music you want, the script will turn mad and will not know what to do.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-04-2012, 09:17 AM
Find


Messages In This Thread
Unexpected end of file STILL... - by ryan1431 - 12-04-2012, 02:50 AM
RE: Unexpected end of file STILL... - by The chaser - 12-04-2012, 09:17 AM



Users browsing this thread: 1 Guest(s)