Frictional Games Forum (read-only)
Fatal Error - 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 (/thread-16425.html)



Fatal Error - MaZiCUT - 06-23-2012

FIXED, I don't want people to see the script: scripters will know what it means and it will spoil the story for them Tongue


RE: Fatal Error - Cruzore - 06-23-2012

void ClosetShutFunc(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("ExorcistCloset", true, true);
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);
GiveSanityDamage(40.0f, true);
}
Missing ending bracket.


RE: Fatal Error - MaZiCUT - 06-23-2012

(06-23-2012, 01:27 PM)FastHunteR Wrote: void ClosetShutFunc(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("ExorcistCloset", true, true);
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);
GiveSanityDamage(40.0f, true);
}
Missing ending bracket.
thank you dear sir.