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
Map 2 FATAL ERROR
Shev Offline
Member

Posts: 238
Threads: 25
Joined: Dec 2010
Reputation: 0
#2
RE: Map 2 FATAL ERROR

You need a ;

(01-22-2011, 08:57 PM)Ianlis Wrote: Every time I open the second door of my level, it gives me an error: FATAL ERROR. Could not load script file 'custom_stories/Escape/main/C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom stories/Escape/main/escape2.hps'! ExecuteString(1, 1):ERR:No matching signatures to 'OnLeave() main(4, 1):ERR:Expected';'


Here's my code:

void OnStart()
{
AddEntityCollideCallback("Player" , "EnemySpawner" , "Monsterfunc1" , true , 1) <- right here
}
void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("servant_grunt" , true);
}




I'm at an odds on what to do.

i spam meme 4 raeg
01-22-2011, 09:12 PM
Find


Messages In This Thread
Map 2 FATAL ERROR - by Ianlis - 01-22-2011, 08:57 PM
RE: Map 2 FATAL ERROR - by Shev - 01-22-2011, 09:12 PM
RE: Map 2 FATAL ERROR - by Ianlis - 01-22-2011, 09:38 PM
RE: Map 2 FATAL ERROR - by Robby - 01-22-2011, 09:41 PM
RE: Map 2 FATAL ERROR - by Ianlis - 01-22-2011, 09:46 PM
RE: Map 2 FATAL ERROR - by Shev - 01-22-2011, 11:50 PM
RE: Map 2 FATAL ERROR - by Ianlis - 01-23-2011, 02:55 AM
RE: Map 2 FATAL ERROR - by Shev - 01-23-2011, 07:54 AM
RE: Map 2 FATAL ERROR - by Pandemoneus - 01-23-2011, 01:37 PM



Users browsing this thread: 1 Guest(s)