Hi
I’ve an AAIController class where I want to define the blackboard values like this
public:
AAIControllerStandardEnemy();
UFUNCTION()
void OnTargetPerceptionUpdated(AActor* Actor, FAIStimulus Stimulus);
UPROPERTY(EditAnywhere, Category = "Blackboard")
FBlackboardKeySelector HasLineOfSightKey;
UPROPERTY(EditAnywhere, Category = "Blackboard")
FBlackboardKeySelector EnemyActorKey;
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "AI", meta = (AllowPrivateAccess = "true"))
UAISenseConfig_Sight* SightConfig;
In cpp
HasLineOfSightKey.AddBoolFilter(this, GET_MEMBER_NAME_CHECKED(AAIControllerStandardEnemy, HasLineOfSightKey));
EnemyActorKey.AddObjectFilter(this, GET_MEMBER_NAME_CHECKED(AAIControllerStandardEnemy, EnemyActorKey), AActor::StaticClass());
I also defined a blackboard asset
But I’m not able to edit the properties in the editor later on
(see screenshot)
thanks a ton for your help