Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
Hello, i'm new here in forums, and also started recently learning to script for amnesia the dark descent.
I have encountered one little problem, that i don't know what to with.
I have one level first, where i spawn, then, i want to go to a level door, that brings me to 2:nd level, that worked first just fine. I then created a door, that should open by itself (That door is located in the 2:nd level), but now i get an error message: (This error message appeared when i opened the 2:nd level door)
FATAL ERROR: Could not load script file (The location of the script file, is in the right place, too lazy to write it down.)
ExecuteString (1,1): ERR : No matching signatures to OnLeave()' main (49,1): ERR : Unexpected end of file.
If someone could help me on this, i would be really grateful. Probably there is just one tiny wrong bit in this code, but i just can't see it
Thanks in advance!!
EDIT: Forgot to mention that the Fatal Error screen comes when i try to open the 2:nd level door. The custom story launches correctly, when i have my player spawn at the first level. I don't think it is necessary for me to give the script codes to the first level, because everything works just fine at the first level. But anyone wants to see the codes to first level, i can post it here
(This post was last modified: 09-19-2013, 03:53 PM by Efendi.)