How to add the "Data Binding" option for a variable in a custom query generator BP

Hi everyone!

I want to add the “Data Binding” option for my variables in my created query generator BluePrint.
Should look like this:

But I can only set my created variables, so just adding a variable isnt enought:

Could someone show/explain how to do it?

Big thanks in advance!

1 Like

watch this:

Thanks alot for helping!

This video was helpful but the option for data binding is missing because I’m using an own generator.

Here is my EQS Generator

Here is the Query Graph

You can see that the data binding option is missing for my generator and I cant find anything on the internet how to implement it.

I could not find that option in the blueprint.
Honestly I don’t know if it is possible to do it or not in that way.
However you can bind data in other ways.

For example you can declare a public reference to any type of object.

And then you can inject that data from the EQS

I don’t know if this can help you but it’s an idea.

Look, find out that data binding is done through a data structure.

For example;

This looks like this in the EQS;

They are using a struct member of the type (AIDataProvider_QueryParams) in this particular case.

So I think there are two alternatives.
1-Use the same structure they are using
2-Make your own structure

Thanks alot for your effort!

I recently found the Get Querier Node. From this I can access the pawns variables with an interface. Then I don’t have to assign everytime the correct objects/variables.

I guess it’s alot more expensive than doing it with an AIDataProvider but I’m a beginner and don’t know how to do it.

If someone could expose the AIDataProvider to blueprints would be nice.

But thanks again for you time and help! :slight_smile:

1 Like

Ok, it’s fine.
Your post was very useful for me too.
This was my first query generator.
And thanks to your post I knew it exists.
And it helped me a lot to solve a problem that I had with my AI.
So here we are to share knowledge and help each other.
So thank you very much to you too!!! :slight_smile:

1 Like