x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

EQS Query Parameters

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!

alt text

Product Version: UE 4.10
Tags:
params.png (120.6 kB)
more ▼

asked Jan 14 '16 at 06:39 AM in Blueprint Scripting

avatar image

jtsmith
1.3k 69 26 88

avatar image jtsmith Jan 23 '16 at 02:52 AM

Bump bump!

avatar image jtsmith Jan 29 '16 at 02:07 AM

Bumping this again hoping someone will know something! Thanks

avatar image intoxicat3 Oct 24 '16 at 02:31 PM

Anyone is able to provide some feedback about this feature?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Jan 29 '16 at 11:50 PM

avatar image

dzeligman
703 32 28 52

avatar image devlyn811 Jan 31 '16 at 11:29 PM

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?

avatar image dzeligman Feb 01 '16 at 06:48 PM

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

avatar image mrpdean Feb 05 '16 at 12:52 PM

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?

avatar image dzeligman Feb 05 '16 at 06:38 PM

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

avatar image intoxicat3 Nov 16 '17 at 12:37 PM

In 4.18 each param is bool, can't change to other type...

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question