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"

Filter out an array by parent actor while including the children of this actor

Hi,

What I'm trying to do is that I have a collider and I want to save this collider instance into an array each time another actor passes it. I am filtering out overlapping actors like this:alt text

Now, the Class Filter contains a parent blueprint. I want to also include all of its children in the filter. Is this possible? It doesn't work right now, so there has to be something wrong.

Thanks

Product Version: UE 4.22
Tags:
capture.png (38.9 kB)
more ▼

asked May 01 '19 at 08:47 AM in Blueprint Scripting

avatar image

simtoon1011
10 1 2 4

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

1 answer: sort voted first

The setup you presented does return both parent and children classes. The tooltip of the filter actually confirms that, too.

If you're not getting the result you expect, it means that something else is at play here - perhaps the way the arrays get appended?

more ▼

answered May 01 '19 at 09:08 AM

avatar image

Everynone
15.3k 77 26 62

avatar image simtoon1011 May 01 '19 at 09:34 AM

Maybe so. But I don't see anything incorrectly set, nor any unconnected nodes.alt text

capture.png (248.6 kB)
(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