How do I use a boolean blackboard key to determine which branch to run? In my case, I have a goblin that runs when it sees the player. The condition that needs to be made to decide where the goblin runs is whether or not the player is holding the candy. If they are holding it, the goblin comes to the player, otherwise, it runs away.
2 Likes
A simple decorator will work
So for your setup:
Selector will try executing from left to right and still stop on the first success, so it will not execute the second subtree if the first one is successful
2 Likes
Does “Is Set” equate to a returned true bool and “Is not set” a returned false?
2 Likes
Yes
3 Likes