Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help FATAL ERROR: No matching signatures
Vennufius Offline
Junior Member

Posts: 8
Threads: 2
Joined: Jun 2012
Reputation: 0
#1
FATAL ERROR: No matching signatures

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");
}
(This post was last modified: 06-30-2012, 12:17 AM by Vennufius.)
06-30-2012, 12:16 AM
Find
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#2
RE: FATAL ERROR: No matching signatures

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.
(This post was last modified: 06-30-2012, 12:21 AM by Cruzore.)
06-30-2012, 12:19 AM
Find
Vennufius Offline
Junior Member

Posts: 8
Threads: 2
Joined: Jun 2012
Reputation: 0
#3
RE: FATAL ERROR: No matching signatures

Well isn't this just a little embarrassing... Thanks for pointing out that little mistake of mine! It works great now.
06-30-2012, 12:25 AM
Find




Users browsing this thread: 1 Guest(s)