Frictional Games Forum (read-only)
Question about scripting - 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: Question about scripting (/thread-4455.html)

Pages: 1 2


RE: Question about scripting - jens - 09-17-2010

Everything seem to be correct, have you tried temporary testing a clean default script file? only to make sure that the map can be loaded?

Then if that helps, then add one thing at the time into the script file until it crashes to narrow it down.


RE: Question about scripting - MulleDK19 - 09-17-2010

Remove the last } and all symbols after it, then replace it.


RE: Question about scripting - Armored Cow - 09-17-2010

I tried both of your ideas. The map loads with a clean, default script, and making sure the } was the last thing of my current script did not fix the problem.

I guess I'll have to slowly go through and see what's causing it.


EDIT: I've found the problem. One of the lines that was playing a sound was apparently causing the script to be corrupt, so after making it play a different sound the map loaded perfectly.

Thanks guys!