Little problem with Behaviour trees

Hi, I just started using behaviour trees to make some enemies chase the player around the map, this worked perfectly after watching a couple tutorials and reading about it, but now I also wanted to make a different type of enemy that went “Chasing” for an object that spawns randomly in the map. Is there any way to this? I can’t get anything to work and I cant find any tutorial that explains anyting similar to this.

UE AI is all about blackboard variables, you feed any value you want and the AI will act accordingly, you want it to chase an object, you make an actor, once actor is spawned you feed data from actor to your blackboard, you can set it as actor to chase you can feed its vector location so AI can navigate even if it cant see etc.

Its all about the blackboard variables and conditions set for actions.

I was using a tutorial from Ryan Laley and this is wat a i have.



i was using this method because i wanna make a patrol path and a handle sight sense with this items. Works flawless with my character but not with statics things :frowning: if u can see the failure i’ll really aprecciate it