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
Expected '('
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#9
RE: Expected '('

Same as one of the problems you had before

void ending(string &in asTimer);
{                                                                                             
     StartCredits("ending_alexander.ogg", false, "Ending", "MainCredits", 9001); This goes with StartCredits
}

You need to not have a ; after void ending
Also, when you want to have normal writing in the code as a comment, you need to use // so that the program knows that the writing is not to be run as part of the script

void ending(string &in asTimer)
{                                                                                             
     StartCredits("ending_alexander.ogg", false, "Ending", "MainCredits", 9001); //This goes with StartCredits
}

Be careful to read all of what people say when they are trying to help you, the previous commenter Someone Else already pointed out the first issue

(This post was last modified: 04-16-2013, 12:37 PM by Adrianis.)
04-16-2013, 12:36 PM
Find


Messages In This Thread
Expected '(' - by X5KillerKlownzX - 04-15-2013, 10:14 PM
RE: Expected '(' - by WALP - 04-16-2013, 12:37 AM
RE: Expected '(' - by 7heDubz - 04-16-2013, 12:48 AM
RE: Expected '(' - by X5KillerKlownzX - 04-16-2013, 01:50 AM
RE: Expected '(' - by PutraenusAlivius - 04-16-2013, 06:17 AM
RE: Expected '(' - by Som1Lse - 04-16-2013, 08:41 AM
RE: Expected '(' - by X5KillerKlownzX - 04-16-2013, 12:04 PM
RE: Expected '(' - by Traggey - 04-16-2013, 09:24 AM
RE: Expected '(' - by Adrianis - 04-16-2013, 12:36 PM
RE: Expected '(' - by PutraenusAlivius - 04-16-2013, 02:49 PM
RE: Expected '(' - by 7heDubz - 04-17-2013, 12:01 AM



Users browsing this thread: 1 Guest(s)