How to have AI detect collision hits from physical objects

Hey all I found the solution to my problem its a bit janky but it works.

I just created a service called IsStunned.

Then in Is stunned a tick checks if the IsStunned bool, in NPC_Goons_BP, is true and if it is true a black board key is set true.

I used a selector to switch from normal patrol and chase to stunned if the blackboard key IsStunned is checked.


So yeah that’s it. Its not the best solution and I haven’t messed with UE5 behaviour tree AIs in a good while so I’m not 100% sure how I managed to fix it but I think this is it.