O'Reilly logo
  • Kevin Vidomski thinks this is interesting:

We want a filter for the Hero class within the MyCharacter pawn returned. To do so, follow these steps:

  1. Pull from the Array Element pin and search for Cast to MyCharacter.
  2. Then, pull from the As My Character pin and search for Get Controller.
  3. Get the class of the controller using the Get Class


Cover of Unreal Engine 4 AI Programming Essentials


Using 4.13

Omit Cast to MyCharacter.