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.
Patrol
The Ai is “roaming”. It’s trying to find from where players could come or where they could hide.
Seek
Something happened. Probably a sound. The AI decided to seek for the origin.
Once arrived, it starts wondering where the player could have gone.
Escape
Some creatures can run away from you when you attack them or spook them in general.
They will try to get out of your sight as well as putting as much distance as possible.
Hiding
Some creature can choose to hide instead of fleeing.
They will try to get out of any player sight.
Of course, if a creature meets a player, it’s reactions can vary.
Beware of seemingly cowardly behavior…