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"

Removing widget instances

Hello.

I have several objects in my scene, just a bunch of boxes. The boxes are all the same, each one is the same blueprint.

I also have a UMG widget (Not a 3D widget) set to display on that box blueprint.

So far so good.

My question is: If I destroy one of those boxes, how do I also destroy the corresponding widget that is on that box?

Since each box in an instance, and each widget is an instance. I don't see how I can tell which widget is a part of which box... do you know what I mean?

Any help here would be great.

Thank you :)

Product Version: Not Selected
Tags:
more ▼

asked Mar 06 '15 at 07:44 PM in Blueprint Scripting

avatar image

Anslem
45 20 21 23

avatar image Anslem Mar 06 '15 at 10:30 PM

Forgot to mention that I'm trying to destroy everything with an OnClicked event inside the widget itself (which is a button), if that makes any difference.

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

1 answer: sort voted first

Are you not using the 3D widget because it is experimental? It would probably be easier. Well anyway, seeing as you are not using it... Here is a quick video tutorial to help you out. http://youtu.be/1Hn96q30y8Y

If anything is unclear or you have further need of assistance, feel free to ask!

more ▼

answered Mar 07 '15 at 05:34 AM

avatar image

Mortusnyte
916 45 20 77

avatar image Anslem Mar 07 '15 at 07:23 AM

Mortus that's brilliant! It works perfectly!

Yes, lol I've gone to great pains to avoid the 3D widgets, I've been extremely unlucky with them thus far (though I'm still trying to play with them when I can).

Thank you for being so generous with your time, that means a lot! :)

(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