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 I don't know what's going on. FATAL ERROR
LeonAnders Offline
Junior Member

Posts: 2
Threads: 1
Joined: Aug 2013
Reputation: 0
#1
I don't know what's going on. FATAL ERROR

I have no clue, usually with any kind of scripting I can figure out why it's doing what it's doing but this one has me baffled it's either too complex for me or the answer is easy and i'm over looking it. I get this message:
FATAL ERROR: Could not load script "filelocation/filename.hps"
main (10.72) : ERR : Expected '('

From my knowlege that means it wants me to put a ( at the 72 column in the 10th line.... unless I messed something up there should be no need for one at that point

HERE IS MY CODE:
///////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "Dooronearea", "CollideDoorone", true, 1);
}

void CollideDoorone(string &in asParent, string &in asChild, int alStates)
{
void PlaySoundAtEntity("Sound_1", "00_laugh.snt", "player", 0.1f, false);
}

///////////////////////////
// Run when entering map
void OnEnter()
{
}
///////////////////////////
// Run when leaving map
void OnLeave()
{
}
08-15-2013, 03:58 AM
Find


Messages In This Thread
I don't know what's going on. FATAL ERROR - by LeonAnders - 08-15-2013, 03:58 AM



Users browsing this thread: 1 Guest(s)