Arklancer 
			Junior Member0  
	
		
			
 
				Hello Everyone.
			
Attached Files Issue1.JPG  (Size: 57.78 KB / Downloads: 256)
 
			
			
				
(This post was last modified: 04-03-2013, 01:36 PM by Arklancer .) 
 
				
			 
		 
 
 
	04-03-2013, 01:29 PM  
		
	 
 
	
		PutraenusAlivius 
			Posting Freak119  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				void OnStart()
			
			
"Veni, vidi, vici.""I came, I saw, I conquered." 
			
		 
 
 
	04-03-2013, 02:02 PM  
		
	 
 
	
		Arklancer 
			Junior Member0  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				Its still continuing to crash, I've had this same issue with other maps I'm trying to create and I can't figure it out.
			
			
			
			
		 
 
 
	04-03-2013, 06:13 PM  
		
	 
 
	
		Yoilickturtles 
			Junior Member1  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				void OnStart()
			
			
			
		 
 
 
	04-04-2013, 01:19 AM  
		
	 
 
	
		Rapture 
			Posting Freak30  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				Does it crash when you pull the lever, or after the level ends and the next one tries to load? Problem might be a script in your next map.
			
			
			
			
		 
 
 
	04-04-2013, 01:21 AM  
		
	 
 
	
		Yoilickturtles 
			Junior Member1  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				 (04-04-2013, 01:21 AM) Rapture Wrote:  Yea right, thats smart.
And post your hpl log
			
 
			
			
			
		 
 
 
	04-04-2013, 01:25 AM  
		
	 
 
	
		Tiger 
			Posting Freak55  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				void Lever3(string &in asEntity, int alState)FadeIn(1.0f); 
			
			
			
		 
 
 
	04-04-2013, 01:36 AM  
		
	 
 
	
		The chaser 
			Posting Freak113  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				 (04-03-2013, 01:29 PM) Arklancer Wrote:  
void OnStart()
{
SetEntityConnectionStateChangeCallback("Lever3", "Lever3");
}
void Lever3(string &in asEntity, int alState)
{
if (alState ==-1) //up
{
	FadeIn(1);
	SetPlayerActive(false);
	ChangeMap("Excavation_02.map", "PlayerStartArea_1", "","");
	}
	}
void OnEnter()
{
}
void OnLeave()
{
	//////////////////////
	//Load Screen Setup
	SetupLoadScreen("LoadingText", "Ch01_Beginning", 5, "game_loading_rose.jpg");
}	
That should be fine. Give us the script from your other map "Excavation_02.map"
			
 
			
			
                              THE OTHERWORLD (WIP)
Aculy iz dolan.
 
 
 
	04-04-2013, 02:01 PM  
		
	 
 
	
		PutraenusAlivius 
			Posting Freak119  
	
		
			
RE: Using a lever to get to the next level (Crashing) Amnesia 
 
				Give us the script for Excavation_02.map file. And if you want to do FadeIn, don't you have to do FadeOut first?
			
			
			
"Veni, vidi, vici.""I came, I saw, I conquered." 
			
		 
 
 
	04-04-2013, 02:24 PM