Basic problem with script editor - 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: Basic problem with script editor (/thread-11274.html) |
Basic problem with script editor - Holger - 11-09-2011 Hi. I'm new to the scripting/modding thing. I've been playing around for some time on my map, but now it wont load because of an error. I've had this error many times and got it fixed by doing random things, but this time I can't get it away It's unexpected end of file 59,2 And everytime a remove an entire void paragraph, it just says unexpected end of file at 48,2 maybe etc (it always references to the last } in the file. So what am I doing wrong? Notepad++ counts both 6 {'s and }'s so I don't lack any. I skimmed through entire sript with a friend and we couldn't see what's wrong.. Somebody help please, because I'm stuck^^. Code: void OnStart () RE: Basic problem with script editor - Your Computer - 11-09-2011 ScriptTest -> SetEntityActive, you have a dangling quotation mark. RE: Basic problem with script editor - Holger - 11-09-2011 What is that supposed to mean? RE: Basic problem with script editor - Your Computer - 11-09-2011 In other words, in your ScriptTest function where you tried to call SetEntityActive, you have a quotation mark ( " ) that isn't supposed to be there. RE: Basic problem with script editor - Holger - 11-09-2011 Ohh.............. I must be tired. Every time I read your post I read "question mark".. Thanks alot! I've been extremely blind |