![]() |
Error in Script file - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Error in Script file (/thread-5310.html) |
Error in Script file - jockelix - 11-04-2010 Hi, i am very new to scripting and when i try to open my level i get this error: FATAL ERROR:could not load script file (points to my script) main (16,8) : ERR : Expected ´(´ Can someone explain what is wrong? Code: void OnStart() RE: Error in Script file - Pandemoneus - 11-04-2010 You do not put methods (void bla bla) into other methods. Read this: http://hpl2.frictionalgames.com/tutorials:entihscript_beginner Code: void OnStart() RE: Error in Script file - jockelix - 11-04-2010 Thank you Pandemoneus, that was an easy fix ![]() |