MulleDK19 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 545 
	Threads: 21 
	Joined: Jun 2009
	
 Reputation: 
10
		
	 | 
	
		
			
What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt? 
			 
			
				This is headed directly towards FG. 
 
 
I've tried using both SetSwingDoorDisableAutoClose and SetMoveObjectStateExt, and none of them seem to have any effect whatsoever. 
 
I'd expect SetSwingDoorAutoClose would prevent doors from snapping when you close them. 
 
But it still snaps. 
 
And I expect SetMoveObjectStateExt would make my door swing to a certain position? 
 
No effect whatsoever. 
 
I've made sure the function is called using AddDebugMessage, and even used SetEntityActive on the very same door, and it does disappear, so I know the functions are called with the right parameters. 
 
 
 
So my question is... Are the functions broken, or is this not what they're meant to do? 
 
 
Thanks in advance.
			 
			
			
 
			
		 |  
	 
 | 
	| 09-16-2010, 08:49 PM  | 
	
		
	 | 
	
		
		Thomas 
 
 
		
			Frictional Games 
			
			
			
 
			
	Posts: 2,634 
	Threads: 184 
	Joined: Apr 2006
	
 Reputation: 
68
		
	 | 
	
		
			
RE: What's the deal with SetSwingDoorDisableAutoClose and SetMoveObjectStateExt? 
			 
			
				SetSwingDoorAutoClose works, make sure the that u have the right name and such (check log). Also, I think it is reset to true when the player interacts with the door. 
 
SetMoveObjectStateExt is used on MoveObjects, which is a special entity. For example the door that u have turn a valve to open when facing the water lurker, or the doors close to Agrippa.
			 
			
			
			
		 |  
	 
 | 
	| 09-16-2010, 11:37 PM  | 
	
		
	 |