Behavior Tree Updating and Simulating
I'm having some problems with the Behavior Tree:
I want the enemy to attack me, when he sees me and when I am not equipped, so CanSeePlayer is Is Set && PlayerEquipped is Is Not Set. Which works.
When he sees me and I am equipped I want him to keep patroling (GetTargetLocation). Which also seems to work so far.
I want him to stop patroling and attack me immediately when I'm not equipped anymore. But he first finishs patroling and then attacks me after he has updated his perception.
I tried different abort-configs but he is always finishing GetTargetLocation first.
Another problem is that the BT is always going through the right path (CanSeePlayer is Is Not Set) as seen in the pic. No matter if the enemy can see me (and is attacking me) or not.
Follow this question
Once you sign in you will be able to subscribe for any updates here