![]() |
Can someone tell me what is wrong with this script? - 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: Can someone tell me what is wrong with this script? (/thread-16912.html) |
Can someone tell me what is wrong with this script? - Magasztos - 07-12-2012 Code: void OnStart() The only thing I know is that there is a problem with the last callback/function because if I delete that it works just fine I keep getting a message saying there are "no matching signatures" I know what this means but I just can't seem to find out what the problem is. Thanks in advance -Imre RE: Can someone tell me what is wrong with this script? - Your Computer - 07-12-2012 Your AddEntityCollideCallback is missing an argument. RE: Can someone tell me what is wrong with this script? - Magasztos - 07-12-2012 (07-12-2012, 04:41 PM)Your Computer Wrote: Your AddEntityCollideCallback is missing an argument. This might be really stupid as well...but ehhh...what is that? RE: Can someone tell me what is wrong with this script? - Steve - 07-12-2012 He means that at the part you have: AddEntityCollideCallback("hatch1", "ScriptArea_1", "CollideAreaLadder", true); it should be somthing like this: AddEntityCollideCallback("hatch1", "ScriptArea_1", "CollideAreaLadder", true, 1); that means you missed an argument. you're welcome |