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
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#2
RE: Unexpected end of file.

looks fine. Try post your entire .hps

CURRENT PROJECT:
A Fathers Secret == Just started
08-01-2012, 11:13 PM
Find
HeadyBoy Offline
Junior Member

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

It's okay. For some reason my error was higher up the .hps

it's all fixed now, thanks for taking an interest in helping though

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




Users browsing this thread: 1 Guest(s)