AAIController::UseBlackboard

Makes AI use the specified Blackboard asset & creates a Blackboard Component if one does not already exist.

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/AIController.h

Include

#include "AIController.h"

Source

/Engine/Source/Runtime/AIModule/Private/AIController.cpp

Syntax

bool UseBlackboard
(
    UBlackboardData * BlackboardAsset,
    UBlackboardComponent *& BlackboardComponent
)

Remarks

Makes AI use the specified Blackboard asset & creates a Blackboard Component if one does not already exist.

Returns

true if we successfully linked the blackboard asset to the blackboard component.

Parameters

Parameter

Description

BlackboardAsset

The Blackboard asset to use.

BlackboardComponent

The Blackboard component that was used or created to work with the passed-in Blackboard Asset.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss