The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 FRRRRRRRGH FATAL ERROR
Popnotes Offline
Junior Member

Posts: 4
Threads: 1
Joined: Apr 2012
Reputation: 0
#1
FRRRRRRRGH FATAL ERROR

Alright, so I did some searching and got nowhere. I'm making a custom story and I successfully completed stage 1, but on stage 2, I get this error:


ExecuteString(1, 2):ERR :Expected expression value
ExecuteString(1, 2):ERR :Expected expression value
ExecuteString(1, 2):ERR :Expected expression value
ExecuteString(1, 2):ERR :Expected expression value
ExecuteString(1, 2):ERR :Expected expression value
ExecuteString(1, 2):ERR :Expected expression value
ExecuteString(1, 1):ERR :No matching signatures to 'OnLeave()'
main(38, 2:ERR :Unexpected end of file

-

And this is my code:


void OnStart()
{
AddEntityCollideCallback("Player", "StephArea", "StephanoFunc", true, 1);
}

void StephanoFunc(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("Stephano", 5, 5, "");
AddTimer("",2.0f,"StephanoAppear");
AddTimer("",2.7f,"Stephanotalk");
Addtimer("",4.0f,"StopLook");
}

void StephanoAppear(string &in asTimer)
{
PlaySoundAtEntity("", "impact_wood_heavy_med.snt", "Stephano", 0, false);
SetEntityActive("Stephano", true);
SetEntityActive("StephLight1", true);
SetEntityActive("StephLight2", true);
}

void Stephanotalk(string &in asTimer)
{
PlaySoundAtEntity("", "iamstephano.snt", "Stephano, 0, false);
}

void StopLook(string &in asTimer)
{
StopPlayerLookAt();
}

void OnEnter()
{
}

void OnLeave()
{
}

-

Any ideas as to what's causing this? (If there's already a thread for this, let me know and i'll take this down)
04-22-2012, 10:01 PM
Find


Messages In This Thread
FRRRRRRRGH FATAL ERROR - by Popnotes - 04-22-2012, 10:01 PM
RE: FRRRRRRRGH FATAL ERROR - by SilentStriker - 04-22-2012, 10:13 PM
RE: FRRRRRRRGH FATAL ERROR - by DRedshot - 04-22-2012, 10:15 PM
RE: FRRRRRRRGH FATAL ERROR - by Popnotes - 04-22-2012, 10:21 PM
RE: FRRRRRRRGH FATAL ERROR - by SilentStriker - 04-22-2012, 10:26 PM
RE: FRRRRRRRGH FATAL ERROR - by Popnotes - 04-22-2012, 10:30 PM
RE: FRRRRRRRGH FATAL ERROR - by overscore - 04-23-2012, 07:57 PM



Users browsing this thread: 1 Guest(s)