Hey there, I’ve got a query regarding AI that I need some help with
I have an NPC set up to respond to sounds within a level, and I have different reactions based on the enum value selected (Run towards, stand and look, run away)
When I’ve been testing the NPC, it executes the behaviour tree branch for the stand and point perfectly, however when I try to test the other two reactions out, it seems to be indefinitely stuck on either setting the location to move to (For move towards/run away), or waiting indefinitely.
I thought it may have been something to do with destroying the sound source object (Which I have in place to avoid another issue entirely), but even just taking the stimulus location doesn’t seem to fix this, so I’m not too sure what’s keeping it stuck indefinitely.
I’ve included the behavior tree and the area of the AI controller which sets the stimulus location, I’m not sure if this is enough to go off of but I’m very confused as to what’s going wrong here