5. Setup the Blackboard Asset

Choose your OS:

The Blackboard asset stores all of the data needed for a specific instance of an AI controller that will be referenced by the Behavior Tree. In this specific case, we'll be storing an Actor to Follow (TargetToFollow), the AI's starting location (HomeLocation), and the last know location of the Actor we're following (TargetLocation).

Steps

BBAsset.png

  1. Double-click the Blackboard asset in the Content Browser.

  2. Using the New Key button, add an Object value named TargetToFollow.

  3. Add a Vector value named HomeLocation.

  4. Add a Vector value named TargetLocation.

    finalBB.png

  5. Save your Blackboard asset.