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"

How can I filter out overlapping Actors?

I'm trying to make a simple power up blue print but I'm running into and issue with the AI pawns triggering the blueprint. I'm trying to filter it out on the overlap to determine whether or not the what is overlapping the power up is the player or not. I tried the comparison in the second picture, but I found that at run time UE4 adds "C##" to it which is causing the check to fail. Is there a better way to handle this?

Base Powerup blueprint

alt text

The comparison I've tried

alt text

Incorrect name

alt text

Product Version: Not Selected
more ▼

asked Apr 25 '14 at 01:23 AM in Blueprint Scripting

avatar image

140 12 18 98

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

1 answer: sort voted first

I think you can use the CastToPlayerShip node.

Drag from EventActorBeginOverlap's Actor output and then you should be able to cast it to your playership. If the cast nodes don't show up make sure the Context Sensitive checkbox is on.

more ▼

answered Apr 25 '14 at 07:17 AM

avatar image

241 3 7 10

avatar image InfectedFPS Apr 25 '14 at 04:44 PM

That worked awesomely. Thanks.

(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