RE: Lantern Off 
			 
			
				void OnStart() 
{ 
AddEntityCollideCallback("Player", "AreaDoor", "CollideDoor", true, 1); 
} 
 
void CollideDoor(string &in asParent, string &in asChild, int alState)  
{ 
	 AddPropImpulse("door", 0, 0, 20, "World"); // 0, 0, 20 are the x y z coordinates. You may have to adjust them a bit. 
	 GiveSanityDamage(6.0f, true); 
	 PlaySoundAtEntity("", "hit_wood.snt", "door", 0.0f, false); 
	 AddTimer("DoorTimer", 1.0f, "TimerDoor"); 
} 
 
void TimerDoor(string &in asTimer) 
{ 
	 AddPropImpulse("door", 0, 0, 20, "World"); 
	 PlaySoundAtEntity("", "scare_male_terrified.snt", "door", 0.0f, false); 
	 SetPropHealth("door", 20);  //Only if you wish to damage the door. 
}
			 
			
			
 
			
		 |