Frictional Games Forum (read-only)
[SCRIPT] FATAL ERROR: No matching signatures - 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: [SCRIPT] FATAL ERROR: No matching signatures (/thread-16600.html)



FATAL ERROR: No matching signatures - Vennufius - 06-30-2012

I'm having a hard time trying to get this script to work! The problem is when I'm trying to change the map with a level door. The first map works fine, but when I'm trying to use the level door I keep on getting this message! (See the picture) [Image: fatalerrorc.th.png]

Oh yeah and btw, my script looks like this atm:


void OnStart ()
{
AddEntityCollideCallback("Player", "activate_monster", "ActivateMonster", true, 1);
AddEntityCollideCallback("Player", "Tp_script_1", "Tp_Active", true, -1);
}

void ActivateMonster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_1", ture);
}

void Tp_Active(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Tp_Guy_1", true);
AddPropForce("Tp_Guy_1", 0, 0, -10000, "World");
}


RE: FATAL ERROR: No matching signatures - Cruzore - 06-30-2012

SetEntityActive("servant_grunt_1", ture);
true has a typo Smile
The picture is too small, I can't see anything. So I can't help you on the main problem yet..

Make sure you got the spaces MapFile and Startpos at the level door filled.


RE: FATAL ERROR: No matching signatures - Vennufius - 06-30-2012

Well isn't this just a little embarrassing... Thanks for pointing out that little mistake of mine! It works great now.