void main() { object oPC = GetEnteringObject(); object oDoor = GetNearestObjectByTag("NK_FP_DOOR01", OBJECT_SELF, 1); if (GetIsPC(oPC)) { SetLocked(oDoor, 0); ActionOpenDoor(oDoor); PlaySound("as_sw_stonplate1"); SendMessageToPC(oPC, "You hear the rumbling sound of a door opening not too far away."); } }