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"

Inventory System pickup item problem on mobile

Hello, i have a problem with my pickup item action in my inventory sytem.

When my character is overlapping two item to pickup, when i press the icon of one, the two are picking up. If you have some suggestions, i'm new in programming so i just watch the Unreal youtube tutorial. ​​​​​​https://www.youtube.com/watch?v=r4tl...8sc7RP_-8eSr3i

What i want to do : Click on the icon of the item and the item go into inventory.

Here is my code :

Player controller : alt text

Player BluePrint : alt text

HUD Widget : alt text alt text alt text

Product Version: UE 4.17
Tags:
hero-controller.png (217.7 kB)
hero-bp.png (296.5 kB)
hud-graph1.png (281.2 kB)
hud-graph2.png (328.8 kB)
hud-graph-3.png (313.1 kB)
more ▼

asked Aug 31 '17 at 07:49 PM in Blueprint Scripting

avatar image

TamTahiti
6 1 2

avatar image TamTahiti Aug 31 '17 at 07:52 PM

Structure : alt text

Base pickup actor : alt text alt text alt text

And this is what its looks like when i'm in the game : Items icon are at the right side of the screen, 2 items are on the floor here, and i want to take only the first one but when i click on it it take all the two items not the first one alt text

struct.png (53.1 kB)
base-pickup1.png (293.8 kB)
base-pickup-2.png (324.9 kB)
base-pickup-3.png (267.6 kB)
pickup-action-1.png (426.9 kB)
(comments are locked)
10|2000 characters needed characters left

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