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
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#1
FATAL ERROR

Fixed.

Hi.
(This post was last modified: 06-24-2012, 09:58 PM by MaZiCUT.)
06-24-2012, 09:47 PM
Website Find
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
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#3
RE: FATAL ERROR

(06-24-2012, 09:52 PM)FastHunteR Wrote: 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
I'm using Notepad++ but i will definetly check into geany. I've heard about it, and thanks mate.

Hi.
06-24-2012, 09:53 PM
Website Find




Users browsing this thread: 2 Guest(s)