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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Custom EQS Generator not working

Ok, i'm trying to make my custom eqs generator, but it doesn't work, so here's my setting:

  • in the scene there are 3 Target C (a child class of TargetPoint) actors

  • in my custom query a use ContextC, a simple GetAllActorOfClass context

  • as query Generated Item Type i selected point

  • in my generator i simply cycle trough the ContextLocations, print the coordinates to the log for debugging, and add the location with the AddGeneratedVector

  • the output log display correctly the locations coordinates

  • in the viewport i get just one point from the eqs query in (0,0,0)

Where am i wrong? Is there something i forgot?

I also found other question about the same topic, but all those where based on the "spike-around-querier" example, so none of those made use of Context Locations input, and all of those use a temporary array to store the locations and then use the AddGeneratedVector in a second loop: isn't it much easier to add the location on the fly just after calculate them as i do?

Oh, obviusly the editor crashes if the AddGeneratedVector node is linked to the rest of the generator :D

alt text alt text alt text alt text

Product Version: UE 4.10
Tags:
myquery.png (77.5 kB)
mygenerator.png (185.8 kB)
debuglog.png (55.1 kB)
viewport.png (328.6 kB)
more ▼

asked Mar 24 '16 at 02:47 PM in Blueprint Scripting

avatar image

fudo
109 8 23 28

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

0 answers: sort voted first
Be the first one to answer this question
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