Unknown script error? - 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: Unknown script error? (/thread-9989.html) |
Unknown script error? - cheztheguy - 08-26-2011 Hi guys, I keep getting an error after clicking "start" on a custom story, and then the game crashes. However the 'location' of the error is at the end. I have tried removing parts of the script but the 'location' of the error (the two numbers like "20,1" have just changed to the new ending of the script) This is hardly a finished script, but it is all I have for now. (In the spoiler) Spoiler below!
However the message that the error gives me says this... FATAL ERROR: Could not load script file 'custom_stories/Creeping Darkness II/custom_stories/Creeping Darkness II/maps/ch01/creepingdarkness2.hps'! main (21,1): ERR : Unexpected end of file I haven't scripted in about a week since my other computer broke down, and I might have made a simple mistake. However, would someone kindly please tell me what I did wrong? RE: Unknown script error? - Luis - 08-26-2011 Code: AddEntityCollideCallback("Player", False", "FalseChase", true, 0); You are missing an opening double quote for the string "False" RE: Unknown script error? - Patacorow - 08-26-2011 That was quick. RE: Unknown script error? - cheztheguy - 08-27-2011 (08-26-2011, 08:56 AM)Luis Wrote: Thanks! Sometimes I just script too quickly... |