void main() { DelayCommand (15.0,ActionCloseDoor(OBJECT_SELF) ); DelayCommand (15.5,SetLocked (OBJECT_SELF, TRUE)); }