MeleeCombat Implementing a AI on vision loss behaviour

Publicado 2024-01-28
Here the AI chases us on seeing us and after getting close to us , attack us.
This can go on forever which can be boring, hence I made it so that the AI after losing sight of us for 3-4 secs, will instead stop chasing us but now will search for us, it will do so until it acquires us back in its sights