| savior10946   Junior Member
 
 Posts: 8
 Threads: 7
 Joined: Mar 2011
 Reputation: 
0
 | 
			| opening door/other 
 
				void OnStart(){
 AddEntityCollideCallback("Player" , "room_1" , "script_1" , true , 0);
 }
 
 void script_1(string &in asParent , string &in asChild , int alState)
 {
 SetSwingDoorClosed("closet_1", false, false);
 SetSwingDoorDisableAutoClose("closet_1", true);
 }
 
 Why wont the closet door open when i step up to it?Ive been trying to do this for 2 days and I cant get it why?
 |  | 
	| 04-03-2011, 09:33 PM |  | 
	
		| Pandemoneus   Senior Member
 
 Posts: 328
 Threads: 2
 Joined: Sep 2010
 Reputation: 
0
 | 
			| RE: opening door/other 
 
				You will need a push with addBodyForce or addBodyImpulse to open the door.
			 
 
				
(This post was last modified: 04-03-2011, 09:36 PM by Pandemoneus.)
 |  | 
	| 04-03-2011, 09:36 PM |  | 
	
		| savior10946   Junior Member
 
 Posts: 8
 Threads: 7
 Joined: Mar 2011
 Reputation: 
0
 | 
			| RE: opening door/other 
 
				whats the script for the force?
			 |  | 
	| 04-03-2011, 09:41 PM |  |