UBehaviorTreeComponent::PushInstance

Push behavior tree instance on execution stack : should never be called out-side of BT execution, meaning only BT tasks can push another BT instance!

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 PushInstance
(
    UBehaviorTree & TreeAsset
)

Remarks

Push behavior tree instance on execution stack : should never be called out-side of BT execution, meaning only BT tasks can push another BT instance!

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