Starship Doors / Hatches

How can I make the doors aboard the ship open when the character gets within 5 or 6 feet of them, can I make a animation, then tell it to repeat this under a given circumstance? If so how do I script the animation in?

One good way to find answers to a question, is to look at other, similar Questions. For instance, look at the right sidebar (yes, now :) - and you'll see the word Related and a bunch of other Questions. Many of them ask the exact same thing you're asking (possibly not involving a starship).

If you do read, say, the Questions with the word door in them, you'll notice that something called a Collider is usually involved with an OnTriggerEnter event, which fires an Animation when triggered. You might be able to use some of their scripts directly, or you might have to change them slightly, but it should give you an idea of how to create a script.

yes, i came here looking at this question, for example, to find answers as the first responder here suggests. only instead of finding concise, good info, I find a flame war. Hope the other door-tagged answers are more helpful...