In Stranded in Outer Space, Artificial intelligence is using a dynamic navigation mesh (geometric shape traced on top of the environment to determine possible paths) generated dynamically around the characters.
Ais can wait, patrol, seek for some noise origin, attack at close or long distance or of course flee or hide.