Efendi 
			Junior Member0  
	
		
			
 
				Hello, i'm new here in forums, and also started recently learning to script for amnesia the dark descent.
 
I have encountered one little problem, that i don't know what to with.
I have one level first, where i spawn, then, i want to go to a level door, that brings me to 2:nd level, that worked first just fine. I then created a door, that should open by itself (That door is located in the 2:nd level), but now i get an error message: (
This error message appeared when i opened the 2:nd level door )
FATAL ERROR: Could not load script file (The location of the script file, is in the right place, too lazy to write it down.) .
Here is the codes:  
2:nd map script codes  
Spoiler below!  
void OnStart()
 
 
first map script codes 
Spoiler below!  
void OnStart()
 
 
Inventory.hps script file 
Spoiler below!  
void  OnGameStart()
 
 
If someone could help me on this, i would be really grateful. Probably there is just one tiny wrong bit in this code, but i just can't see it 
Thanks in advance!!
EDIT: Forgot to mention that the Fatal Error screen comes when i try to open the 2:nd level door. The custom story launches correctly, when i have my player spawn at the first level. I don't think it is necessary for me to give the script codes to the first level, because everything works just fine at the first level. But anyone wants to see the codes to first level, i can post it here 
				
(This post was last modified: 09-19-2013, 03:53 PM by Efendi .) 
 
				
			 
		 
 
 
	09-19-2013, 10:53 AM  
		
	 
 
	
		PutraenusAlivius 
			Posting Freak119  
	
		
			
RE: No matching signatures to OnLeave? 
 
				How about you give us the whole code? A small fraction is not enough.
Also, if it's that big, put it in spoiler tags.
Like this:
[spoiler]*INSERT MESSAGE HERE*[/spoiler]
That code will appear as..
			"Veni, vidi, vici.""I came, I saw, I conquered." 
			
		 
 
 
	09-19-2013, 02:02 PM  
		
	 
 
	
		Efendi 
			Junior Member0  
	
		
			
RE: No matching signatures to OnLeave? 
 
				Edited. Thanks for the tip!
			
			
			
			
		 
 
 
	09-19-2013, 03:50 PM  
		
	 
 
	
		Daemian 
			Posting Freak49  
	
		
			
RE: No matching signatures to OnLeave? 
 
				Here:
Quote: void TimerMoveDoor(string &in asTimer)return; "" TimerMoveDoor");
Put 
return  between { }
And remove the extra 
" 
I think that's all.
			
 
 
 
	09-19-2013, 04:04 PM  
		
	 
 
	
		Efendi 
			Junior Member0  
	
		
			
RE: No matching signatures to OnLeave? 
 
				Thank you for your help! It was enough by removing the extra ", my poor lazy eyes 
 
 
 
	09-19-2013, 06:05 PM