So I have a very basic behaviour tree, I’ve only just started learning about them.
My behaviour tree is for an ai companion I have, I want to be able to add a behaviour of looking around for any enemies and if spotted, keep them in their eyesight until something breaks their line of sight…
I’d like them to do this at all times, so during the waiting state, always be looking around while waiting, when following, look behind every now and then walk backwards if necessary, same with move to, if it sees an enemy keep looking at it until line of sight is broken
any help is much appreciated as to how to implement this to what i have currently