# EQS Query Parameters

**URL:** <https://forums.unrealengine.com/t/eqs-query-parameters/344040>\
**Category:** Blueprint\
**Tags:** parameters, Behavior-Tree, EQS, unreal-engine, Blueprint, question\
**Created:** [January 14, 2016, 6:39am UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040 "2016-01-14T06:39:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtsmith](https://forums.unrealengine.com/u/jtsmith)\
**Post date:** [January 14, 2016, 6:39am UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/1 "2016-01-14T06:39:32Z")

</div>

As you can see from the image below:

> _An Environment Query can have properties in its Generator and Tests set as Parameters, much like how Materials can have Parameters. So, by entering the names of these Parameters and setting their Values here, you can have one Environment Query that handles a broad range of scenarios._

There is absolutely no support on this subject anywhere. I have tried several ways to figure this out but have failed to find the correct way.

Question is, does anyone know how to use the Query Parameters feature so that I can pass in different values to my generator so that I can make my Query more versatile? Ultimately I would like to pass a float value from the Run EQS Query node to change the search radius of my generator.

Thanks!

 ![74383-params.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/1/d0133a08f7cdd72e1f30bf27dab8276029ef18f3.png)

---

<div class="post-metadata">

**Author:** ![jtsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtsmith](https://forums.unrealengine.com/u/jtsmith)\
**Post date:** [January 23, 2016, 2:52am UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/2 "2016-01-23T02:52:04Z")

</div>

Bump bump!

---

<div class="post-metadata">

**Author:** ![jtsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtsmith](https://forums.unrealengine.com/u/jtsmith)\
**Post date:** [January 29, 2016, 2:07am UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/3 "2016-01-29T02:07:08Z")

</div>

Bumping this again hoping someone will know something! Thanks

---

<div class="post-metadata">

**Author:** ![anon26705860](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon26705860](https://forums.unrealengine.com/u/anon26705860)\
**Post date:** [January 29, 2016, 11:50pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/4 "2016-01-29T23:50:33Z")

</div>

On any of the tests or generators with numeric values instead of setting a default inside the EQS parameter you can select the dropdown that says bind data I believe and type in a named param.  
Then when you call the query inside the behavior tree or with the EQS test pawn the params will be auto shown in the task and have custom values set for each unique call.

---

<div class="post-metadata">

**Author:** ![devlyn811](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devlyn811](https://forums.unrealengine.com/u/devlyn811)\
**Post date:** [January 31, 2016, 11:29pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/5 "2016-01-31T23:29:43Z")

</div>

There doesn’t seem to be any exposure to the query params, except in the actual test and the EQS testing pawn. Do you know know how to access the query params through the blackboard key selectors in the blueprints?

---

<div class="post-metadata">

**Author:** ![anon26705860](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon26705860](https://forums.unrealengine.com/u/anon26705860)\
**Post date:** [February 1, 2016, 6:48pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/6 "2016-02-01T18:48:19Z")

</div>

![76864-eqsparamsexample.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/2/1b2a4a157f3ee9edd1c6c56b8fb76c4bb2654df0.png)

See the attached example for calling a query from the BT tree with the named params exposed.

---

<div class="post-metadata">

**Author:** ![mrpdean](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mrpdean](https://forums.unrealengine.com/u/mrpdean)\
**Post date:** [February 5, 2016, 12:52pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/7 "2016-02-05T12:52:22Z")

</div>

I’ve run into the same problem.

I’m on 4.11 and the Param Name and Param Type options are always disabled.

dzeligman, what UE version are you using in the screen shot?

---

<div class="post-metadata">

**Author:** ![anon26705860](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon26705860](https://forums.unrealengine.com/u/anon26705860)\
**Post date:** [February 5, 2016, 6:38pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/8 "2016-02-05T18:38:39Z")

</div>

A modified 4.9 version. The parameters need to be defined in the query before they will auto show up in the EQS task.

---

<div class="post-metadata">

**Author:** ![intoxicat3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@intoxicat3](https://forums.unrealengine.com/u/intoxicat3)\
**Post date:** [October 24, 2016, 2:31pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/9 "2016-10-24T14:31:54Z")

</div>

Anyone is able to provide some feedback about this feature?

---

<div class="post-metadata">

**Author:** ![intoxicat3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@intoxicat3](https://forums.unrealengine.com/u/intoxicat3)\
**Post date:** [November 16, 2017, 12:37pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/10 "2017-11-16T12:37:10Z")

</div>

In 4.18 each param is bool, can’t change to other type…

---

<div class="post-metadata">

**Author:** ![SOuNDSNC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SOuNDSNC](https://forums.unrealengine.com/u/SOuNDSNC)\
**Post date:** [February 7, 2022, 4:34pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/11 "2022-02-07T16:34:27Z")

</div>

I edited the source code and made the params blueprintwriteable. I was then able to manually define param names and link blackboard keys to the,

---

<div class="post-metadata">

**Author:** ![CStenberg1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CStenberg1](https://forums.unrealengine.com/u/CStenberg1)\
**Post date:** [February 28, 2023, 6:04pm UTC](https://forums.unrealengine.com/t/eqs-query-parameters/344040/12 "2023-02-28T18:04:48Z")

</div>

Because google coughed up this thread when I was googling for an answer. If you’re struggling like me and find this thread, if you change parameters to query params after adding the query to the behaviour tree it won’t update automatically. You have to re-drag the query onto the node data and it will update to show the new query config then.
