void main() { object oObject=GetObjectByTag("jw_under_door"); SetLocked(oObject,0); AssignCommand(oObject,ActionOpenDoor(oObject)); }