Fun fact, half life (1998) was one of the major spawn points of state machines being used in AI. It was as mind blowing then to have reactive enemies that way as it is to have AI art and chatGPT today.