Finite State Machine for Large Enemy AI:

Video of FSM working during gameplay:

This video shows the FSM working while playing the game. While the enemy is wandering around the environment, the FSM is in the Patrol state. Once the Player gets within a certain radius of the enemy, the FSM switches from the Patrol state to the Chase state. When the Player is no longer within the radius of the Enemy, the FSM returns to the Patrol state.