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
FATAL ERROR
Cruzore Offline
Senior Member

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

void FallingMeatFunction(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("FallingMeat1", true);
SetEntityActive("FallingMeat2", true);
SetEntityActive("FallingMeat3", true);
SetEntityActive("FallingMeat4", true);
SetEntityActive("FallingMeat5", true);
StartPlayerLookAt("FallingMeat2", 10.0f, 35.0f, "");
AddTimer("", 1.0f, "stoplookatfallingmeat);
GiveSanityDamage(60.0f, true);
}
AddTimer("", 1.0f, "stoplookatfallingmeat");
missing " at function name.
For your interest, you can easily check such mistakes with geany. when you save it as a .hps and have everything configured as the wiki says, you count all functions you have and the ones on the left. If they're not the same amount, check what the last function is and look for the failure there. In my case, I only saw 3! functions on the left, the last one being "FallingMeatFunction", and in addition, the error even showed because the function name was all white. I easily saw the mistake in less than 30 seconds. Just to show you how to sometimes easily find such problems Smile
06-24-2012, 09:52 PM
Find


Messages In This Thread
FATAL ERROR - by MaZiCUT - 06-24-2012, 09:47 PM
RE: FATAL ERROR - by Cruzore - 06-24-2012, 09:52 PM
RE: FATAL ERROR - by MaZiCUT - 06-24-2012, 09:53 PM



Users browsing this thread: 1 Guest(s)