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)
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)
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?