![]() |
[SCRIPT] Unexpected end of file error (SOLVED) - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: [SCRIPT] Unexpected end of file error (SOLVED) (/thread-26062.html) |
Unexpected end of file error (SOLVED) - A.M Team - 09-07-2014 I was making my custom story and so added a few more quests, then I get this error. Heres my .hps file. And before you say, yes, I tryed putting in the } in line 10 but that only caused more errors. HELP! ![]() My .hps file: PHP Code: void OnStart() RE: Unexpected end of file error - Romulator - 09-07-2014 Your OnStart() does not have a closing brace. ( } ) Put one after this line: PHP Code: AddQuest("memento2", "memento2"); So it becomes: PHP Code: AddQuest("memento2", "memento2"); If there are more errors after this, let me know what the actual message of the error is ![]() RE: Unexpected end of file error - A.M Team - 09-07-2014 I got an error, "14,1 unexpected token { RE: Unexpected end of file error - Neelke - 09-07-2014 Code: void InteractPassage(string &in asEntity); This has an ; that should be there. Delete it and it should be fine. RE: Unexpected end of file error - A.M Team - 09-07-2014 Thank you so much, it works now! ![]() https://www.youtube.com/watch?v=qGITFJr_4Po |