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"

Check box is not keeping checked.

So I have a main widget with button that create the option widget with the check box and when I check the box and go back to the main widget and press again to go to the option widget the check box is no longer checked. How can I fix this? I tried everything from custom events to functions, branches, event ticks, etc.

Product Version: UE 4.12
Tags:
more ▼

asked Jul 15 '16 at 08:33 PM in Blueprint Scripting

avatar image

guivmc
6 7 14 20

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

2 answers: sort voted first

If you're creating and destroying the option widget, you'll need to save and load that variable in order for it to maintain its current status. Your other option however would be to make the option widget invisible by default and make it visible when you click your button.

more ▼

answered Jul 15 '16 at 09:01 PM

avatar image

Higuy8000
183 11 12 28

avatar image guivmc Jul 15 '16 at 09:07 PM

making it hidden is not working too.

avatar image Higuy8000 Jul 15 '16 at 09:28 PM

and you are NOT creating a new one and/or deleting the old one? just a simple switching between visible and invisible?

avatar image guivmc Jul 15 '16 at 10:09 PM

Well I am just removing it from parent, because this way the widget disappear and the information within it still stored.

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

I solved it. Removing from parent does not save the variable information, so I stored the variable in another BP.

more ▼

answered Jul 18 '16 at 06:46 PM

avatar image

guivmc
6 7 14 20

(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