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


Thread Rating:
  • 2 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Two questions.
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#7
RE: Two questions.

(10-13-2011, 02:13 AM)A Tricky Carnie Wrote: Thanks, I'll try these out.
@Statyk

The script layout you gave me didn't work, this is my script, in case I didn't do it right:
Spoiler below!
////////////////////////////// Run when entering map
void OnStart()
//OnEnter
{
AddEntityCollideCallback("Player", "ending_area", "RollCredits", true, 1);
}
void RollCredits(string &in asParent, string &in asChild, int alState)
{)
void StartCredits("05_paper_transformation.ogg", true, "Ending"", "MainCredits”, "1");
}


// Run when leaving map
void OnLeave()
{


}

"main (8,2) : ERR : Expected expression value"

This means it's the eighth line down that can't be read. So there's a problem in the EIGHTH line, SECOND letter in.. which is "{)"... You can't have a parenthesis after a Squiggly-bracket. Or anything for that matter really. Remove the parenthesis and it should work. Let me know if it works or not.

(This post was last modified: 10-14-2011, 02:05 AM by Statyk.)
10-14-2011, 02:03 AM
Find


Messages In This Thread
Two questions. - by A Tricky Carnie - 10-11-2011, 09:40 PM
RE: Two questions. - by Tanshaydar - 10-11-2011, 09:42 PM
RE: Two questions. - by A Tricky Carnie - 10-12-2011, 11:00 PM
RE: Two questions. - by Statyk - 10-13-2011, 01:46 AM
RE: Two questions. - by A Tricky Carnie - 10-13-2011, 02:13 AM
RE: Two questions. - by Statyk - 10-14-2011, 02:03 AM
RE: Two questions. - by A Tricky Carnie - 10-14-2011, 02:31 AM
RE: Two questions. - by Statyk - 10-14-2011, 02:35 AM
RE: Two questions. - by A Tricky Carnie - 10-14-2011, 02:39 AM
RE: Two questions. - by Statyk - 10-14-2011, 02:43 AM
RE: Two questions. - by A Tricky Carnie - 10-14-2011, 02:49 AM
RE: Two questions. - by Statyk - 10-14-2011, 02:54 AM
RE: Two questions. - by A Tricky Carnie - 10-14-2011, 01:08 AM



Users browsing this thread: 1 Guest(s)