Hi,
I have a weird one where this call always returns 0.0:
const float theValue = MyBlackboard->GetValue(SomethingRandom.GetSelectedKeyID());
But this works:
const float theValue = MyBlackboard->GetValueAsFloat(SomethingRandom.SelectedKeyName);
It’s using the same key in both places and if I attach to the editor everything looks fine.
My key is declared like this:
UPROPERTY(EditAnywhere, Category = Blackboard)
struct FBlackboardKeySelector SomethingRandom;
And the only other modification to it is this:
SomethingRandom.AddFloatFilter(this, GET_MEMBER_NAME_CHECKED(UBTTask_MoveCloseTo, SomethingRandom));
Any ideas why this would be?
Thanks,
Dave