I'm looking for a script to use with a portcullis door (activator object with animation) that will make it simply close at night and open during the day. I can't seem to find anything on how to do this. I've never done scripting myself.
Any help much appreciated!