Need some 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: Need some help (/thread-22056.html) |
Need some help - Sabrak - 07-07-2013 So, i have this error: Quote:FATAL ERROR: Could not load script file... ...main (63, 2) : ERR : Unexpected end of file This is my script: Code: void OnStart() Does anybody know whats wrong with this? Thanks for help RE: Need some help - Kullin - 07-07-2013 Your either missing a " or { or} or a, in your script RE: Need some help - Tomato Cat - 07-07-2013 PHP Code: PlaySoundAtEntity("", "react_scare.snt, "Player", 0, false); This line here is missing a parentheses. ^ PHP Code: PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false); RE: Need some help - Sabrak - 07-07-2013 thaaank you very very much! i was searching a mistake for almost hours! thank you RE: Need some help - PutraenusAlivius - 07-07-2013 PlaySoundAtEntity("", "react_scare.snt", "Player", 0, false); You forgot to add a closing quotation brace. [EDIT : Goddamn you Tomato Cat.] |