Announcement

Collapse
No announcement yet.

Blackboard condition stops behavior tree

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Blackboard condition stops behavior tree

    I am currently coding a stun ability that allows the player to press T and stun all enemies within a certain radius. I believe the issue is with the behavior tree/blackboard. I used print string nodes to indicate if the enemy(s) are within the stun radius when the player presses T. That seems to work fine. The problem is actually stopping them in their tracks when they get stunned. Currently, I am getting the AI controllers of the enemies within the stun sphere and using a "set value as bool."(top picture). When I use a blackboard condition to check if they are stunned(bottom picture), they just don't move at all. When I remove the condition, the enemies' behavior trees work just fine, and chase the player whenever he is in sight. Can anyone figure out what I am doing wrong?
    Attached Files
Working...
X