What are some important elements I need to understand when it comes to implementing AI into my projects?

Hello, I’ve been learning to use UE5 for the past couple of months & I thought of creating AI NPCS, specifically ones that go after the player & jumpscare, similar to games like Alien Isolation.

But in the future I want to make it so they can hear sounds & open up hiding spots (e.g A monster opening a locker the player is in.)

Especially things whether or not I should use State Trees or Behavior Trees.

这是关于AI控制器的内容,我建议你直接去看这个视频我的朋友,看完你就知道了(记得关注人家):https://youtu.be/-t3PbGRazKg?si=4rLoQ3-tm9QZcLfY