BlackboardKeySelector no option for "none"

So this is more of a “how is it expected for this to be used” kind of question. So I have a bt service, that updates some blackboard variables. But depending on the character, it may only need a small subset of those variables. But I can’t set the selector to none. I have to pick a key out of the blackboard. This forces me to add those variables to the blackboard even though I have no logic that uses them.

Ideally, I’d like to say this is a “none” or “optional” key. If its set, run the logic to update it.

Is that a feature and I’m not seeing it? Is there a reason for not having the feature? Is it supposed to be used in some other way?

Thanks :slight_smile:

Hey Troy,

We got you covered :smiley: Just call AllowNoneAsValue on your FBlackboardKeySelector instance. It probably should be “on” by default but it has been added later, so it’s like that for backwards compatibility’s sake. I’ll clean it up at some point, though.

Cheers,

–mieszko

Should I just set that to true, since I haven’t built much with it?

If you want to allow None to be set as value via BT editor, then set pass true :slight_smile:

Looks like its working :slight_smile: Thanks