Hey all. I am a bit of a noob to the whole AI business and I just wanted a bit of direction. I am trying to make stealth ai, and I have a lot of it down. When unaware, it sits on a spot, until a player walks into its line of site, and is on the same height level as it is, where it will start to follow and attack. Unfortunately, I am getting stuck on how I make the thing go back to a patrol state after the player is out of its line of sight, but only after a short time, because it starts to interfere with other parts of the tree. Its turning my brain into laffy taffy, so I just wanted to ask some tips on how to structure this to allow for that.