The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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.
HeadyBoy Offline
Junior Member

Posts: 45
Threads: 16
Joined: Jul 2012
Reputation: 0
#1
Unexpected end of file.

I'm getting an error when I start up Amnesia that there is an "Unexpected end of file".. it says that it should be around here somewhere, my script is so long it would be a waste putting it all down. This is the end of my script however. Does anybody see anything that is out of place here or do you guys think that it is something else?

_______________________________________________________________


void door_swing1(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorDisableAutoClose("cellar_wood01_5", true);
AddPropForce("cellar_wood01_5", 850, 0, 750,"world");
}

void door_swing2(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);

PlaySoundAtEntity("", "react_scare", "Player", 0, false);

GiveSanityDamage(6.0f, true);
}

void Collideroomareathree(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "player_bodyfall.snt", "wood_box02_breakable_4", 0, true);
PlaySoundAtEntity("", "scare_wind.snt", "wood_box02_breakable_4", 0, true);
GiveSanityDamage(4.0f, true);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}

void Collideroomareatwo(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "23_breath.snt", "Player", 0, false);
}

void Collidesoundarea1(string &in asParent, string &in asChild, int alState)
{
SetLampLit("torch_static01_1", false, true);
}

Voice Actor - Male, British Accent, Mid-teens, Adaptable
Custom Stories - "The Heist: Amnesia" (In production)
08-01-2012, 11:07 PM
Find


Messages In This Thread
Unexpected end of file. - by HeadyBoy - 08-01-2012, 11:07 PM
RE: Unexpected end of file. - by Lizard - 08-01-2012, 11:13 PM
RE: Unexpected end of file. - by HeadyBoy - 08-01-2012, 11:30 PM



Users browsing this thread: 1 Guest(s)