pizzamon
(pizzamon)
August 25, 2017, 2:15pm
1
header :
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "AI Perception")
UAIPerceptionComponent* AIPerceptionComponent;
cpp :
ADungeonAIController::ADungeonAIController(const FObjectInitializer& ObjectInitializer)
: AAIController(ObjectInitializer)
{
AIPerceptionComponent = CreateDefaultSubobject<UAIPerceptionComponent>("AIPerception");
}
mBrock
(mBrock)
June 11, 2018, 2:45am
2
Did you figure this out yet? I just added it for the first time in c++ and getting the same thing.
Didn’t figure out how to make it visible, but you can set the values through the right-click dialog.
Copy this to your clipboard:
(bDetectEnemies=True,bDetectNeutrals=True,bDetectFriendlies=True)
Right click on “Detection by Affiliation”
Paste
Done!
Another fix for this is to click on the Open Selection In Property Matrix icon on the top right of the details panel where you edit the Sense settings. In that menu you can access the affiliation checkboxes.