![]() |
What causes this 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: What causes this error ??? (/thread-12974.html) |
What causes this error ??? - FinBanana - 01-30-2012 So, either I suck so bad at scripting that I can't even make AddUseItemCallBack commands or just some little thing that's wrong. I keep getting the error message saying: main (1,1) : INFO : Compiling void OnStart() main (3,1) : ERR : No matching signatures to 'AddUseItemCallBack(string@&, string@&, string@&, string@&, const bool)'. This is my script so you could possibly spot the problem. PHP Code: void OnStart() It worked fine until I added the other 'AddUseItemCallBack' command. It's the first one on the script. AddUseItemCallBack("", "key_study_1", "castle_7", "UsedKeyOnDoor2", true); RE: What causes this error ??? - flamez3 - 01-30-2012 You capitalized the "B" on the first adduseitem callback. RE: What causes this error ??? - FinBanana - 01-30-2012 (01-30-2012, 06:12 PM)flamez3 Wrote: You capitalized the "B" on the first adduseitem callback.oh, stupid me. ![]() |