// close open doors after set time void main() { DelayCommand(35.0, ActionCloseDoor(OBJECT_SELF)); }