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
Custom Music FATAL ERROR (Seriously Need Assistance)
Fictionult Offline
Junior Member

Posts: 16
Threads: 6
Joined: Apr 2011
Reputation: 0
#3
RE: Custom Music FATAL ERROR (Seriously Need Assistance)

(11-16-2012, 06:13 PM)andyrockin123 Wrote: remove the ";" at the end of void start(string &in asParent, string &in asChild, int alState)

For future reference, please just copy&paste the script directly into the chat box - it makes it easier for others to revise.
That didn't entirely help, just gave a new error. Instead it now says main (5, 1) now as opposed to (13, 1)..
Oh and.

For anyone who needs this.



//////////////////
// Run first time starting map
void OnStart()
{
Fadeout(0);

FadeIn(50);

AddEntityCollideCallback ("PlayerStartArea_1" , "Music_1", "start", true, 1);
}

void start(string &in asParent, string &in asChild, int alstate)
{
PlaySoundAtEntity("", "Distance.snt", "PlayerStartArea_1", 0, false);
}
//////////////////
// Run first time starting map
void OnEnter()
{

}

//////////////////
// Run first time starting map
void OnLeave()
{

}
11-16-2012, 06:19 PM
Find


Messages In This Thread
RE: Custom Music FATAL ERROR (Seriously Need Assistance) - by Fictionult - 11-16-2012, 06:19 PM



Users browsing this thread: 2 Guest(s)