| Exploding door 
 
				Hey guys, I have done this scripts before, but this time, i just can't get the door to explode (break)
 SetEntityPlayerInteractCallback("CellarKey_2", "AreaActive", true);
 AddEntityCollideCallback("Player", "ExplodingDoorArea_1", "Explode2", true, 1);
 
 
 void AreaActive(string &in asParent, string &in asChild, int alState)
 {
 SetEntityActive("ExplodingDoorArea_1", true);
 }
 
 
 void Explode2(string &in asParent, string &in asChild, int alState)
 {
 SetPropHealth("ExplodingDoor_1", 0);
 CreateParticleSystemAtEntity("", "ps_area_fog_falling", "ExplodingDoor_1", false);
 PlaySoundAtEntity("", "break_wood", "ExplodingDoor_1", 0, false);
 PlaySoundAtEntity("", "react_scare", "Player", 0, false);
 GiveSanityDamage(10, true);
 }
 
 
 Can you help me out on this one
 
 CURRENT PROJECT:A Fathers Secret == Just started
 
 |