Behavior Tree Node Reference: Services

Reference for the Behavior Tree Service nodes.

Windows
MacOS
Linux
On this page

Services attach to Composite nodes, and will execute at their defined frequency as long as their branch is being executed. These are often used to make checks and to update the Blackboard. These take the place of traditional Parallel nodes in other Behavior Tree systems

Default Focus

SetDefaultFocus.png

The Default Focus creates a short cut to accessing an Actor in your Blueprints and Code by setting the focus of the AI Controller. By setting the focus of the AI Controller to an Actor, you can directly access it from the AI Controller instead of accessing a Blackboard key.

Property

Description

Blackboard Key

This takes in an Actor Key (an Object Key with its base class set to Actor) to be quickly referenced by the AI Controller using GetFocusActor.

Node Name

The name the node should display in the Behavior Tree graph.

As of 4.4 the Blackboard Key will appear to accept Vector Blackboard Keys, these will do nothing as the Set/Clear/Get Focus Actor functions operate on an Actor.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback