![]() |
Unexpected end of file [PROBLEM] - 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: Unexpected end of file [PROBLEM] (/thread-11606.html) |
Unexpected end of file [PROBLEM] - GillFrog - 12-01-2011 Okay. So i made a test map with the level editor. And when i try to load it, an error pop up and says: FATAL ERROR: Could not load script file 'custom_stories/test/maps/testmap01.hps'! Main (12,1) :ERR :Unexpected end of file I don't know what to do. Heres my .hps file: Quote:void OnEnter() RE: Unexpected end of file [PROBLEM] - Apjjm - 12-01-2011 Code: void OnEnter() ![]() You had placed a closing brace "}" on the end of "UsedKeyOnDoor(string &in asItem, string &in asEntity}" instead of a closing bracket ")" which was causing your error. RE: Unexpected end of file [PROBLEM] - GillFrog - 12-02-2011 Oh my god ![]() I'm an idiot. Thank you!!! |