Frictional Games Forum (read-only)

Full Version: Fatal Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.
(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.