How to do it...

  1. From the Content Browser under the Content folder, select Add New | Artificial Intelligence | Blackboard:
  1. When asked for a name, provide EnemyBlackboard. Double-click on the file to open the Blackboard Editor.
  2. From the Blackboard tab, click New Key | Object:
  1. When asked for the name of the object, insert Target. Then, open the Key Type property by clicking the arrow to the left of the name and set the Base Class property to Actor:
  1. Add any other properties you wish to have access to and then click on the Save button. ...

Get Unreal Engine 4.x Scripting with C++ Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.