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
Script Error: Unexpected End of File
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Script Error: Unexpected End of File

Found you problem: after the function "Light2", you didn't close the function, instead you used another open bracket ("{")

Instead of:

Spoiler below!

void Light2(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("torchB1", true);
SetEntityActive("torchB2", true);
{



try this:

Spoiler below!

void Light2(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("torchB1", true);
SetEntityActive("torchB2", true);
}


Hope that helped!

I rate it 3 memes.
11-04-2012, 04:06 AM
Find


Messages In This Thread
Script Error: Unexpected End of File - by IVSKIN - 11-04-2012, 03:11 AM
RE: Script Error: Unexpected End of File - by Adny - 11-04-2012, 04:06 AM



Users browsing this thread: 1 Guest(s)