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"

I cant get the variables to return after widget

I checked a lot of tutorials and questions posted on this website and tried most of them, but I cannot get the widget to return the value of the boolean variablealt text Here I want the widget to run and return the processed value of 'destroy' variable from the widget. The value gets changed in widget, I have confirmed that part. please, somebody, tell me what I am doing wrong asap thank you PS: I am very new to unreal so explain to me if I were 5 alt text

Product Version: UE 4.20
screenshot-2.png (427.0 kB)
screenshot-1.png (554.0 kB)
more ▼

asked Sep 29 '18 at 11:39 PM in Blueprint Scripting

avatar image


avatar image ThompsonN13 Sep 30 '18 at 02:27 PM

i would guess that your issue here is that you are destroying the widget before trying to get the value stored within it. what i would do is to set a reference to the actor that created the widget within the widget then before you destroy the widget you can set a variable in the actor or call an event. of course this would be if you werent working in the level bp. i would suggest another method but im not sure what your aim here is or what your blueprints are meant to accomplish since i only have access to a small snippet.

explain to me if I were 5

if you were 5 my reply would be that your in over your head and should go back to watching sesame street. though judging by your name maybe you are just a kid.

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

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