Run EQS Query
I have my EQS query setup and it's working pretty great in the Behavior Tree. I wanted to run a query VIA blueprint (to spawn enemies) but I can't seem to workout what to put in the parameter for "Querier".
I placed my spawner entity but it refused to work. Is there something of a specific class that needs to go in here?
asked Nov 10 '15 at 08:27 AM in Blueprint Scripting
For everyone still interested in finding out how to run EQS queries from a blueprint: You need to "Bind Event to OnQueryFinishedEvent". Apparently, it takes a (short?) while to execute the query, and you need to wait for the results to come back.
That event will have a pin for the query instance, which you can use to get either locations, or actors.
answered Apr 03 '16 at 03:31 PM
I haven't ran the run EQS from a blueprint yet, actually trying to find more info out myself about it now; however, I do know that the "querier" is the actor performing the EQS query, same as when you run it in a behavior tree. In the behavior tree, querier defaults to the controller running the behavior tree. You should be able to just plug a "self" pin into the querier pin and it would work, assuming you are running the node from within the blueprint you want to query from. I say should because I'm not sure if it must be a controller but I think it can be an actor.
Good luck, let me know if this helps!
answered Dec 07 '15 at 04:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here