void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; object oTarget; oTarget = GetObjectByTag("bduhl_lastdoor"); SetLocked(oTarget, FALSE); }