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"

Overlap from parent blueprint only detected for one child BP at time

I'm trying to set up a parent blueprint for collectible items. So for the child BPs I only have the component+collision box. And in the parent blueprint, I have this...

alt text

Problem is this only works on the LAST child BP I place in the world. And only after I picked that one up (and destoryed its actor) that I can pick the next BP...

It's so weird cause I also have this as part of the parent blueprint and it works perfectly fine

alt text

The text shows up separately on each of the children BPs when I enter their respective collisions, just like it's supposed to. So why is the first part not working even though it's set up pretty much the same way?

Product Version: UE 4.18
ue.jpg (112.6 kB)
ue2.jpg (104.9 kB)
more ▼

asked Mar 23 '18 at 06:24 PM in Blueprint Scripting

avatar image

5 2 3

avatar image Nebula Games Inc Mar 24 '18 at 12:28 AM

I don't understand what you are trying to do.....seems simple "pick up items" but this logic makes no sense to me. Can you tell me in steps what kind of functionality you are looking for?

avatar image ThompsonN13 Mar 24 '18 at 02:56 PM

i imagine that the issue is a input priority issue since it sounds like the input begins working on most recently spawned to oldest.

avatar image mhazaa Mar 24 '18 at 11:18 PM

Yup. Thanks! It worked once I checked consume input

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

1 answer: sort voted first

if your just looking to make a basic pickup then the below picture shows a few examples of how it can be done fairly simply that should avoid the problem your currently facing. the first method picks up the item when player overlaps it so no input needed. the second method allows the item to be picked up only when the player is overlapping the item so there shouldnt be multiple items trying to figure out priority and reverting to whos newest. oh also note that the pickup node in the picture is just a custom event that would call the needed script to fulfill the pickups objective (add health, add to inventory, etc)

alt text

capture.png (273.7 kB)
more ▼

answered Mar 24 '18 at 03:07 PM

avatar image

10.4k 34 10 27

(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