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"

Widget won't disappear

Hello, I created a small UI widget with two buttons. Play and Exit. when play is clicked to open a level. and with connecting it with "Remove from parent" node. It's supposed to disappear from the viewport.. well.. it won't :/ I searched for the problem but other solutions did not work. what am I missing? I looked here but i don't know why it's not working with me..

thanks

alt text

alt text

Product Version: UE 4.7
Tags:
more ▼

asked Jun 15 '15 at 09:33 AM in Blueprint Scripting

avatar image

blackdoomy
57 6 9 11

avatar image blackdoomy Jun 15 '15 at 11:39 AM

I created an empty map, opened the empty map (level blueprint) and edited it as the picture you attached and problem is solved. thank you

avatar image Narghile Jun 15 '15 at 11:41 AM

Glad it is solved mate.

Narg

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

2 answers: sort voted first

Have you run the loop in the Other Post?

alt text

Narg

more ▼

answered Jun 15 '15 at 10:05 AM

avatar image

Narghile
1.7k 75 38 110

avatar image blackdoomy Jun 15 '15 at 10:14 AM

Hello Narghile, Yes I did, and it didn't work with me, I'll try to specify the event maybe.. because when I hit play, it's supposed to disappear and start the game

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

Try putting a 0 second delay between the Remove From Parent, and the Open Level. -- Sounds weird, but its possible that when you do Open Level - Level Blocking starts, freezing to the last frame, not rendering the updated frame with the removed UMG widget. Adding the delay will give it just enough time to render the next frame.

See if that helps at all!

-Peace

more ▼

answered Jun 15 '15 at 10:14 AM

avatar image

PeterLNewton
2.1k 75 37 111

avatar image blackdoomy Jun 15 '15 at 10:25 AM

Hello Peter, I did as you said. It somehow worked, I added a delay of 1 second between "remove from parent" and "open level" when I clicked play, only the button "exit" disappeared for 1 second and after one second it appeared again.. that might help finding what's the problem

avatar image blackdoomy Jun 15 '15 at 10:30 AM

after the delay, they both disappeared for 1 second and after one second they appeared again!

avatar image PeterLNewton Jun 16 '15 at 05:47 PM

How are you adding the UMG Widget to the Player Controller?

avatar image blackdoomy Jun 17 '15 at 02:29 AM

hello Peter, I solved the problem after creating a level only for the UMG. takes me from the empty level to my level, problem was solved doing this.

The widget is in the level blueprint, starts when even begin play, that's how I added it

(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