//Closes door if it is open void main() { DelayCommand(25.0f,ActionCloseDoor(OBJECT_SELF)); }