How to create an AI that chases you when seen and when you go away the ai stops chasing you and if you get to close it triggers a jumpscare. Also the AI roams around the place like puppet combos (STAY OUT OF THE HOUSE)
Hi @Rb3TXD and welcome! ![]()
A long time ago, I made a basic enemy AI example project that you can easily use in your own project. In this example, the enemies chase the cursor of the mouse, and you can kill them with the cursor of the mouse.
If you want to create something like this yourself, you can use raycasts and distance checks to determine if a target is visible. You will also need a state manager to decide the next state.
Okay