Script problem help needed - 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 problem help needed (/thread-7082.html) |
Script problem help needed - Crypto - 03-27-2011 My script has some serious problems and i dont know how to solve em ! if u guys have any ideas tell me ! RE: Script problem help needed - Tanshaydar - 03-27-2011 You have some serious mistakes. You don't put ';' when creating a function. Only when calling. Like this: void ThisIsAFunction(these are function parameters) { there are things that I want function to do; } Now call this function: void OnStart() // or OnEnter, or in another function, whatever. { ThisIsAFunction(parameters for this function); } |