Hello, I want to make an Ai who follow the player while she can see the player and when she lost the player she wait a X time to walk random.
You should take a look at
- Behaviour Trees: https://docs.unrealengine.com/en-us/Engine/AI/BehaviorTrees/QuickStart
- EQS: https://docs.unrealengine.com/en-us/Engine/AI/EnvironmentQuerySystem
- AI Components: AI Components | Unreal Engine Documentation
Everything you need should be int there.
This can become complex though so start small and build up.