RealDocs

UBlackboardComponent::ResumeObserverNotifications

function AIModule Since 4.0
#include "BehaviorTree/BlackboardComponent.h"
Access: public

Description

Resumes dispatch of blackboard change notifications after a matching call to PauseObserverNotifications, optionally flushing any queued changes.

Caveats & Gotchas

  • Passing false silently drops queued notifications — decorators watching those keys will not re-evaluate even though the value did change.
  • Calling this without a preceding PauseObserverNotifications has no effect since the queue will be empty.

Signature

void ResumeObserverNotifications(bool bSendQueuedObserverNotifications)

Parameters

Name Type Description Default
bSendQueuedObserverNotifications bool If true, notifications queued for keys changed while paused are dispatched now; if false, they're discarded.

Return Type

void

Example

Resume and flush queued notifications C++
BlackboardComp->ResumeObserverNotifications(true);

Tags

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.