Computer Controlled Character?


we are using Unity for a University project and what I am supposed to do is to figure out how we can add computer controlled characters into our scenes.

We have our own character and the idea is that as soon as a small riddle is solved, another character walks through a door, says something and then walks away again. But how can I add a computer (read: script) controlled character? I looked through the documentation and tried google but so far without any luck.

Hope you guys can help me out!
Christoph from Germany

Sorry, I should have been clearer: This is not homework, while it is for the university it is still voluntary :slight_smile:
Also, the question wasn’t how to do the coding, it was how I can add a character that is not operated by the user but rather by a script. Of course I am going to write that script myself.
I hope this clarifies my issues.