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"

Custom EQS test

Hello here, I want to create a custom EQS test, however it's not possible in Blueprint and I can't find any documentation on how to achieve it in C++. Can someone lead me where to start or provide any documentation about this subject please?

Product Version: UE 4.20
more ▼

asked Oct 09 '18 at 08:31 AM in C++ Programming

avatar image

26 1 4 9

avatar image RotemS Oct 09 '18 at 03:48 PM

Based on the code, it seems like you just need to create a c++ class derived from UEnvQueryTest. Have you tried this?

avatar image NicholasMont ♦♦ STAFF Oct 09 '18 at 10:12 PM

Hey Max974,

I would first start with reviewing the documentation of a general overview of Enviroment Query System Overview Link, much of the functionality in blueprint is mirrored in the C++ API Documentation, however, reviewing the general system and how it communicates through blueprint nodes may be of some use to you in your C++ implementation. I believe you may also be interested in Query Result, if you intend to implement your own EQS Test functionality.

Please let me know if you need any further explanation or additional questions.


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

1 answer: sort voted first

Hey, thank you for responding

@RotemS : I've tried it yes, but I didn't know how to start coding my own test to expose functions and variables in blueprint.

@NicholasMont : Thanks for those very helpful links, I'm already used to the EQS system and I needed some more controls over the tests in particular in order to push further the capabilities of the system. Although I'm still a beginner in C++, and maybe creating an EQS test can be very difficult for a beginner, but I was curious to see what it takes to just expose functions and variables to Blueprints so I can start creating my EQS tests class in Blueprint. It seems possible, I still need to get better in C++ before starting to create what I need, I guess, but the documentation you've provided will help me for sure!

Thanks again

more ▼

answered Oct 11 '18 at 03:03 PM

avatar image

26 1 4 9

(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