Frictional Games Forum (read-only)
Fatal Error, Any help? - 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: Fatal Error, Any help? (/thread-10291.html)



Fatal Error, Any help? - NylePudding - 09-12-2011

Normally I would probably be able to solve this problem, but since I have only just come back to this custom story after 6 months I have no idea how to solve this.

Here is the error message -

[Image: t8rvig.png]

And here is my code - http://pastebin.com/Dn2q6ffE

Thank you very much for any help. Big Grin





RE: Fatal Error, Any help? - Obliviator27 - 09-12-2011

You don't have
AddEntityCollideCallback("Player" , "ScriptArea_1" , "BodyFunc1" , true , 1);
in a function. It's just sitting there. You need to incorporate it into a function, like OnStart()



RE: Fatal Error, Any help? - NylePudding - 09-12-2011

(09-12-2011, 05:32 PM)Obliviator27 Wrote: You don't have
AddEntityCollideCallback("Player" , "ScriptArea_1" , "BodyFunc1" , true , 1);
in a function. It's just sitting there. You need to incorporate it into a function, like OnStart()
Ahh, thanks. It's annoying coming back to something I did ages ago, and relearning your own code. I should probably put comments so then I can actually understand my own code. Tongue


RE: Fatal Error, Any help? - Obliviator27 - 09-12-2011

No problem! It happens to the best of us. Smile



RE: Fatal Error, Any help? - UnseenLegend ( NL ) - 09-12-2011

(09-12-2011, 05:41 PM)Obliviator27 Wrote: No problem! It happens to the best of us. Smile
and im Gettling Lol'd at no timer func lol