FATAL ERROR: Could not load script file? Help Please! - 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: FATAL ERROR: Could not load script file? Help Please! (/thread-8629.html) |
FATAL ERROR: Could not load script file? Help Please! - Rebbon1337 - 06-15-2011 Hello! So I was just about to finish my Custom story, and when I tryed to start it, this came up: Quote:FATAL ERROR: Could not load script file 'custom_stories/Test1/custom_stories/Test1/maps/Testt1.hps'! main (6, 46) : ERR : Expected ')' or ',' And also I am kind of a noob on this stuff, but this is what it says on the .HPS file: Quote:void OnStart() Did I do something wrong? Please reply! RE: FATAL ERROR: Could not load script file? Help Please! - Tanshaydar - 06-16-2011 void UsedKeyOnDoor(string &in asItem, string %in asEntity) -> void UsedKeyOnDoor(string &in asItem, string &in asEntity) RE: FATAL ERROR: Could not load script file? Help Please! - Rebbon1337 - 06-16-2011 (06-16-2011, 12:30 AM)Tanshaydar Wrote: void UsedKeyOnDoor(string &in asItem, string %in asEntity) RIGHT! Oh my god, I feel so stupid. I know I was supposed to write that, I must have misclicked. Anyway Thank you EDIT: But it still doesnt solve the problem The same error comes up but now it says something like this: FATAL ERROR: Could not load script file 'custom_stories/Test1/custom_stories/Test1/maps/Testt1.hps'! main (11, 1) : ERR : Expected ')' or ',' Before it said: (6, 46) RE: FATAL ERROR: Could not load script file? Help Please! - Russ Money - 06-16-2011 RemoveItem("forsakenkey_1" Missing the end ) RE: FATAL ERROR: Could not load script file? Help Please! - Rebbon1337 - 06-16-2011 (06-16-2011, 01:04 AM)Russ Money Wrote: RemoveItem("forsakenkey_1" Hmm, still doesnt fix it, oh man Ive must've done alot of miswriting here? o.o RE: FATAL ERROR: Could not load script file? Help Please! - Tanshaydar - 06-16-2011 If you only added ) then you need to add ; too. RE: FATAL ERROR: Could not load script file? Help Please! - Russ Money - 06-16-2011 (06-16-2011, 01:10 AM)Tanshaydar Wrote: If you only added ) then you need to add ; too. YEAH! What he said! RE: FATAL ERROR: Could not load script file? Help Please! - Rebbon1337 - 06-16-2011 (06-16-2011, 01:10 AM)Tanshaydar Wrote: If you only added ) then you need to add ; too. RIGHT! YESS THANKYOU IT FINALLY WORKED |