void main() {
object oGoodbye;
oGoodbye = GetObjectByTag("di_comp1");   
DelayCommand(1.0, DestroyObject(oGoodbye));

        float x=144.55f;  
	float y=-53.14f;
	float z=10.17f;
	float r=-1.65f;
        vector MyVec = Vector(x,y,z);
    	location MyLoc = Location(MyVec, r); 
	object oLocker=CreateObject(OBJECT_TYPE_PLACEABLE,"di_comp2", MyLoc);
   
        object odoor = GetObjectByTag( "di_ld" );    
    
        SetLocked( odoor, FALSE );
}