I assume you have an AI behavior tree. You can implement some kind of sight check, and have them move to a waypoint. Detect it however you like, break the result cast to the object types you want it to avoid or whatever (maybe check some variables), Maybe add a line trace if nothing blocks their view (so they properly see it) and then have that character call it’s response action to that particular object.