Hi!
First of all, EQS tend to be expensive. I would approach your problem by actually creating a custom Behavior Tree node that checks whether there’s a path from actor to actor. Something like this (the node checks if Find Paths return a partial path; in that case, it means there’s no full path between the two actors, and so it returns false):
Then you can use that as a first node in a sequence – if it succeeds the actions specified in your following nodes will be executed, otherwise the whole sequence will abort. Something like:
Hope this helps!
Cheers,
f

