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"

Why is the event not firing correctly?

Hello guys,

i created an inventory system, which works with a item databse, so its the same blueprint for all objects. Everything works fine. A couple days ago I started with creating a combine function to combine two items, remove them from the inventory and add a new one. My problem is, it works sometimes, and sometimes not.

Sometime means when i have 4 objects in my inventory "A B C D" and I combine C & D, they are removing from the inventory, creating a new item and also refreshs the widget. But if there are A & B left in the inventory, it doesnt work. They dont remove theirself from the inventory.I checked this with a print string.

What do you mean? I know it's hard to reading someones code, but i hope you can help me. Why is this line of code firing when i remove the bottom once (C&D), but not when there are two left.

Thank you so much!


alt text

Product Version: UE 4.17
more ▼

asked Aug 26 '17 at 10:14 AM in Blueprint Scripting

avatar image

6 1 1 3

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

1 answer: sort voted first
  • I'd make sure at the end you foreach loop through the widgets to close them.

  • Also keep in mind that the Widget Construct can be ran multiple times, I think it is ran every time the widget to added to a parent. With that in mind, make sure on your construct, you clear the Inventory panel before adding anything.

more ▼

answered Aug 27 '17 at 11:40 PM

avatar image

2.2k 39 17 52

(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