Chaos AI

The AI system in Total Chaos uses the original Doom monster AI as a temporary solution to pathfinding. This object we'll call a Monster Mover. A display actor is then connected with the Monster Mover. This actor controls the model animations and attacks. The Monster Mover simply deals with switching the states of the display actor.

DECORATE Documentation

AI actors have user variables attached to them that do the following:

user_status

0 = IDLE: The AI is in its default state. It is not aware of any enemies. It will use the basic patrol animations in the See state.

1 = ANGRY: The AI is aware of an enemy nearby. When switching to the See state it will run instead of walk/patrol.

2 = HURT: The AI is heavily damaged and will scout for medkits, or will hide.

3 = SCARED: The AI is outnumbered! It will actively scout out any other AI's that have the user_status of 0.