UBehaviorTreeComponent::DeactivateUpTo

Deactivate all nodes up to requested one

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BehaviorTreeComponent.h

Include

#include "BehaviorTree/BehaviorTreeComponent.h"

Source

/Engine/Source/Runtime/AIModule/Private/BehaviorTree/BehaviorTreeComponent.cpp

Syntax

bool DeactivateUpTo
(
    UBTCompositeNode * Node,
    uint16 NodeInstanceIdx,
    EBTNodeResult::Type & NodeResult,
    int32 & OutLastDeactivatedChildIndex
)

Remarks

Deactivate all nodes up to requested one

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