//Put this script OnOpen void main() { object oPC = GetLastOpenedBy(); if (!GetIsPC(oPC)) return; object oTarget; oTarget = GetObjectByTag("adventurehalldoor1"); DelayCommand(3.0, AssignCommand(oTarget, ActionCloseDoor(oTarget))); DelayCommand(3.0, SetLocked(oTarget, TRUE)); }