Behavior Tree Tasks

Documentation Unreal Engine AI Behavior Trees

Reference for BT tasks and auto-populated blackboard keys.


For actions using BehaviorTreeSequence execution mode.

Available BT Tasks

TaskPurpose
BTTask_MoveUntilDistanceMove toward target until within range
BTTask_MakeDistanceRetreat from target
BTTask_ActivateAbilityActivate ability by class
BTTask_ActivateBlackboardAbilityActivate ability from blackboard tag
BTTask_DebugSECValuesDebug display for SEC keys

Auto-Populated Blackboard Keys

When STTask_DoAction runs a BT sequence, these keys are set:

KeyTypeValue
SEC_TargetActorObjectCurrent focus actor
SEC_SelfActorObjectControlled pawn
SEC_DistanceFloatDistance to target
SEC_ActionIdNameID of executing action
SEC_AbilityTagNameAbility tag (if set)
SEC_AbilityEndTagNameEnd tag (if set)