Hello Unrealers.
I have an issue with setting a boolean key in a Blackboard from a Behaviour Tree Task. The issue is, I am doing the exact same thing with a different key (not a bool this time, but an object), and for that one it works. I am a bit lost!
So, here is the setup:
The “Seat” key, of type object.
The “sitting” key, of type bool.
This is the task where I set the “Seat” key. This works correctly (screenshot further down).
And this is the task where I attempt at setting the “sitting” bool key to True.
Although the set up of the two commands is identical, where I am using a BlackboardKeySelector variable with the identical name of the key to set, the “Seat” key works, but the “sitting” key doesn’t. Here is an example of the status of the blackboard after both BTTs have been executed. You can see the “Seat” value being changed, but the “sitting” value still being "false.
I attempted already at setting the key not from a BTT but from the AI controller, using the key name instead of the BlackboardKeySelector, but to no avail. Please help! Am I doing something wrong? I am missing something? Thank you!
EDIT: I forgot to mention, I’m using the 5.3 version of the engine.