Can Hear Target
The Can Hear Target branch is a small branch which will detect if the agent hears a sound from an enemy:
The Can Hear Target branch uses a Lower Priority conditional abort so it’ll interrupt any branch to the right of it. If the agent does hear an enemy with the Can Hear Object task then the position of that heard object is saved and the Search bool is set. By setting the Search bool to true the agent will run the Search For Lost Target branch.