Script Files Dont Work Anymore WTF!? - 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: Script Files Dont Work Anymore WTF!? (/thread-8300.html) |
Script Files Dont Work Anymore WTF!? - Henriksen - 05-28-2011 Hi, my scripts stopped working today o.o I dont know why this is the one that stopped working. //////////////////////////// // Run first time starting map void OnStart() { AddEntityCollideCallback("Hey", "Poop", "Open", true, 1); } void Open(string &in asParent, string &in asChild, int alState) { GiveSanityBoostSmall(); PlayGuiSound("20_puzzle.ogg",1); } //////////////////////////// // Run when entering map void OnEnter() { PlayMusic("ambience_voice.ogg", true, 0.7f, 1, 0, false); } //////////////////////////// // Run when leaving map void OnLeave() { } RE: Script Files Dont Work Anymore WTF!? - Greven - 05-28-2011 (05-28-2011, 12:37 PM)teddifisk Wrote: Hi, my scripts stopped working today o.o Whats the error? Is it part of the script or the whole script? If its the whole script then have you renamed the .hps file or your .map file so they doesnt match? RE: Script Files Dont Work Anymore WTF!? - Henriksen - 05-28-2011 (05-28-2011, 01:03 PM)Greven Wrote:(05-28-2011, 12:37 PM)teddifisk Wrote: Hi, my scripts stopped working today o.o No error, but it works now... Odd RE: Script Files Dont Work Anymore WTF!? - Kyle - 05-28-2011 Rage much? Just kidding. RE: Script Files Dont Work Anymore WTF!? - Henriksen - 05-28-2011 (05-28-2011, 01:28 PM)Kyle Wrote: Rage much? Just kidding. No need to say you were kidding I seriously raged x) |