Greetings,
I would like to create a custom generator that is similar to the ActorsOfClass generator, but will allow you to pass in an array of classes at run time. Writing the generator is pretty straight forward, but I cannot figure out how to pass in the array of classes from the BehaviorTree.
A use case would would be as follows:
There are 3 types of enemies: Goblins , Trolls , Elves
I want a Query that will give me the closest Goblin or Elf within a given radius that my character has LoS on.
Any thoughts?
Thank you for your time,
EDIT: It looks like Arrays aren’t currently supported by BlackBoards https://answers.unrealengine.com/questions/172449/can-you-store-a-struct-in-a-blackboard-and-what-ab.html . Knowing how to pass parameters into queries would be good , though