ooadrianoo 
 
 
		
			Member 
			
			
			
 
			
	Posts: 82 
	Threads: 29 
	Joined: Apr 2012
	
 Reputation: 
0
		
	 | 
	
		
			
Connect doors 
			 
			
				Hello community, 
I have two doors and I want to connect them. 
What I tried is this:
 ConnectEntities("connected_doors", "mansion_14", "mansion_13", true, 0, "connected_doors_callback"); 
 
 
It simply doesn't work. The names of the doors are correct. Anyway, it is possible to connect two doors?
 
PS: The doors are open from the beginning, so there sould'nt be problems with inverting.
			  
			
			
			
				
(This post was last modified: 03-20-2013, 09:52 PM by ooadrianoo.)
 
				
			 
		 |  
	 
 | 
 
	| 03-20-2013, 09:51 PM  | 
	
		
	 | 
 
 
	
		
		ingedoom 
 
 
		
			Member 
			
			
			
 
			
	Posts: 120 
	Threads: 12 
	Joined: Feb 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				What is it supposed to do? Make the first door close when the other one is opened?
			 
			
			
 
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:02 PM  | 
	
		
	 | 
 
 
	
		
		ooadrianoo 
 
 
		
			Member 
			
			
			
 
			
	Posts: 82 
	Threads: 29 
	Joined: Apr 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				Both doors are opened in the beginning. 
If you open one door, the other closes.
			 
			
			
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:03 PM  | 
	
		
	 | 
 
 
	
		
		ingedoom 
 
 
		
			Member 
			
			
			
 
			
	Posts: 120 
	Threads: 12 
	Joined: Feb 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				 (03-20-2013, 10:03 PM)ooadrianoo Wrote:  Both doors are opened in the beginning. 
If you open one door, the other closes. 
How are you supposed to open an open door?
			  
			
			
 
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:22 PM  | 
	
		
	 | 
 
 
	
		
		Akos115 
 
 
		
			Member 
			
			
			
 
			
	Posts: 101 
	Threads: 14 
	Joined: Aug 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				 (03-20-2013, 10:22 PM)ingedoom Wrote:   (03-20-2013, 10:03 PM)ooadrianoo Wrote:  Both doors are opened in the beginning. 
If you open one door, the other closes.  
How are you supposed to open an open door? 
NEVER question game logic xD
			  
			
			
 
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:28 PM  | 
	
		
	 | 
 
 
	
		
		ooadrianoo 
 
 
		
			Member 
			
			
			
 
			
	Posts: 82 
	Threads: 29 
	Joined: Apr 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				 (03-20-2013, 10:22 PM)ingedoom Wrote:   (03-20-2013, 10:03 PM)ooadrianoo Wrote:  Both doors are opened in the beginning. 
If you open one door, the other closes.  
How are you supposed to open an open door? 
ohh not to open    to "move" a door^^ 
Sorry my English is bad.
			  
			
			
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:30 PM  | 
	
		
	 | 
 
 
	
		
		ingedoom 
 
 
		
			Member 
			
			
			
 
			
	Posts: 120 
	Threads: 12 
	Joined: Feb 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				I would love to help, but I don't really have time to test the function myself, and I'm afraid that I don't fully understand your question.
			 
			
			
 
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:41 PM  | 
	
		
	 | 
 
 
	
		
		ooadrianoo 
 
 
		
			Member 
			
			
			
 
			
	Posts: 82 
	Threads: 29 
	Joined: Apr 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				 (03-20-2013, 10:41 PM)ingedoom Wrote:  I would love to help, but I don't really have time to test the function myself, and I'm afraid that I don't fully understand your question. 
Okay once again
 
I have two doors and I want to connect these doors. Thereby I want to that the second door moves inverted to the first door. The doors are opened, because if I open the first door, the second door will not move, because it should move inverted to the other door.
			  
			
			
			
		 |  
	 
 | 
 
	| 03-20-2013, 10:57 PM  | 
	
		
	 | 
 
 
	
		
		ingedoom 
 
 
		
			Member 
			
			
			
 
			
	Posts: 120 
	Threads: 12 
	Joined: Feb 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				 (03-20-2013, 10:57 PM)ooadrianoo Wrote:  Okay once again 
 
I have two doors and I want to connect these doors. Thereby I want to that the second door moves inverted to the first door. The doors are opened, because if I open the first door, the second door will not move, because it should move inverted to the other door. 
I simply can't understand. Why use a script for this? Doors as default will not move when other doors are opened or closed anyway?
			  
			
			
 
			
		 |  
	 
 | 
 
	| 03-20-2013, 11:06 PM  | 
	
		
	 | 
 
 
	
		
		ooadrianoo 
 
 
		
			Member 
			
			
			
 
			
	Posts: 82 
	Threads: 29 
	Joined: Apr 2012
	
 Reputation: 
0
		
	 | 
	
		
			
RE: Connect doors 
			 
			
				 (03-20-2013, 11:06 PM)ingedoom Wrote:   (03-20-2013, 10:57 PM)ooadrianoo Wrote:  Okay once again 
 
I have two doors and I want to connect these doors. Thereby I want to that the second door moves inverted to the first door. The doors are opened, because if I open the first door, the second door will not move, because it should move inverted to the other door.  
I simply can't understand. Why use a script for this? Doors as default will not move when other doors are opened or closed anyway? 
No doors will not move, but if you move them, then they will move. 
 
Imagine you have two doors in front of you. Booth are half opened. You move door A a half inch backwards and door B moves a half inch towards. And you notice: "Ohh the one door moves inverted to the other door! In that case if I completely open the one door, the other should close!!!!!" 
It's the same principle with the valve and the slide door. If you spin it, the slide door should open. In that case should the one door moves if you move the other door, but not parallelic, just inverted.
 
PS: With "move" in the context with door I don't mean that the whole door moves around, just the way it moves when you for example close it.
			  
			
			
			
				
(This post was last modified: 03-20-2013, 11:23 PM by ooadrianoo.)
 
				
			 
		 |  
	 
 | 
 
	| 03-20-2013, 11:21 PM  | 
	
		
	 | 
 
 
	 
 |