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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

the widget was already added to the screen


Short: My problem is that the widget was already added to the screen.


More: I want to make back buttons but isn't working fully, I made three user interface:


alt text


  1. Mainmenu (user interface)

  2. Play (user interface)

  3. Host Game (user interface)


When I click the PLAY button (image 1) than the BACK button (image 2) is go back to the main menu (image 1) and it's working and I can do this continuously.


When i click the PLAY button (image 1) than the Host Game button (image 2) and than the BACK button (image 3)and i click again to the BACK button (image 2) is go back to the main menu (image 1) but when i click to he PLAY button the widget is hidden and write this to the screen: the widget is already added to the screen.


What should I do?

Product Version: UE 4.19
Tags:
user-interfaces.png (964.0 kB)
more ▼

asked May 11 '18 at 09:36 PM in Blueprint Scripting

avatar image

MRDANI69
5 1 3 8

avatar image Nebula Games Inc May 12 '18 at 12:59 AM

For image 2 and 3 name your buttons, very hard to decipher what is going on with things like "button 101" and "button 92".

avatar image ThompsonN13 May 12 '18 at 03:21 AM

have you tried just toggling the visibility. it seems like you never destroy a widget unless the back button is pushed so you are probable creating multiples of the same widget without realizing it. unless im mistaken what your currently doing is on press play create play widget, on press host create host widget & hide play widget, on press back destroy host widget & create play widget. at this point you have two of the same widget created, one visible and one set to hidden.

(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