Straxedix 
			Senior Member5  
	
		
			
 
				Ok what i wanna and what i try to do is to make a script when player enter some kinda room and step there are 2 areas (i make it so same when he enter 1 he will enter and 2 area in the same time) so the area 1 should make him look back what it does,so while he is looking back or turning around then timer from area 2 should react so then doors HARD close and lock so there is 1 key in room and when i make it pick up just to pick up key doors unlock (without using key)
My .hps
Spoiler below!  
void OnStart()
 
 
Problems:
It is IFC (isolated full conversion) so maybe i need put some sounds in my files ?
			
				
(This post was last modified: 05-14-2014, 06:04 PM by Straxedix .) 
 
				
			 
		 
 
 
	05-14-2014, 06:01 PM  
		
	 
 
	
		Neelke 
			Senior Member26  
	
		
			
RE: I need a help please 
 
				You cannot call a collide function with a timer.
void OnStart()
1. Can you correct yourself? I don't really understand what you mean.
2. Wrong name of the object where you want the sound to be played
			
Derp.
			
		 
 
 
	05-14-2014, 06:11 PM  
		
	 
 
	
		Straxedix 
			Senior Member5  
	
		
			
RE: I need a help please 
 
				 (05-14-2014, 06:11 PM) Neelke Wrote:  void OnStart()
In the love of God what did you done now when enter map it does lock door and screen shake,it should be when enter areas o.O
			
 
			
			
				
(This post was last modified: 05-14-2014, 06:19 PM by Straxedix .) 
 
				
			 
		 
 
 
	05-14-2014, 06:18 PM  
		
	 
 
	
		Neelke 
			Senior Member26  
	
		
			
RE: I need a help please 
 
				Because that's how you scripted it. Are you blaming me now?
			
			
Derp.
			
				
(This post was last modified: 05-14-2014, 06:20 PM by Neelke .) 
 
				
			 
		 
 
 
	05-14-2014, 06:19 PM  
		
	 
 
	
		Straxedix 
			Senior Member5  
	
		
			
RE: I need a help please 
 
				My script works in area o.O
			
			
 
 
 
	05-14-2014, 06:20 PM  
		
	 
 
	
		Neelke 
			Senior Member26  
	
		
			
RE: I need a help please 
 
				Call the timer when the player collides with the areas. Right now youre calling them straight away.
			
			
			
Derp.
			
		 
 
 
	05-14-2014, 06:21 PM  
		
	 
 
	
		Straxedix 
			Senior Member5  
	
		
			
RE: I need a help please 
 
				PLUS i was asking for help blam me more yes i don't know to script so i ask here
			
			
			
 
 
 
	05-14-2014, 06:22 PM  
		
	 
 
	
		Neelke 
			Senior Member26  
	
		
			
RE: I need a help please 
 
				Dude, calm down. I'm trying to help you here and I'm not blaming you. I just changed the timer so it was correct (didnt see it was in OnStart). But try giving this a go.
void OnStart()
Derp.
			
		 
 
 
	05-14-2014, 06:25 PM  
		
	 
 
	
		Straxedix 
			Senior Member5  
	
		
			
RE: I need a help please 
 
				Perfect just now make when PICK UP key they unlock :-)
			
			
			
				
(This post was last modified: 05-14-2014, 06:31 PM by Straxedix .) 
 
				
			 
		 
 
 
	05-14-2014, 06:31 PM  
		
	 
 
	
		Neelke 
			Senior Member26  
	
		
			
RE: I need a help please 
 
				Kind of consuming, but ok.
void PickKey(string &in asEntity, string &in asType)
Derp.
			
		 
 
 
	05-14-2014, 06:35 PM