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

Switching between levels bugs HUD

Hello My game has 2 Levels: Menu and Game, there are different widgets (menu, game, pause) everything is managed by the GAMEHUD which thanks to an ENUM switches between the different widgets, however is bugged. -If i start from the game and i press the PAUSE button everything is fine, GAMEUI disappears and the PAUSEUI comes in. - If i start from the menu and then press PLAY, the GAMEUI is fine but if I press the PAUSE button, the PAUSEUI shows up but behind it there is still the GAMEUI... This was happening to me even in 4.5.1 but I could fix this by using the command "REMOVE ALL WIDGET OF SELECTED CLASS" (or something similar), this command is no more in the ENGINE... any Ideas? might be a bug

Product Version: Not Selected
more ▼

asked Dec 06 '14 at 09:01 PM in Blueprint Scripting

avatar image

21 2 5 8

avatar image eXi Dec 07 '14 at 08:44 AM

Did you remove the GAMEUI Widget from the Viewport when starting the Game through the menu or do you just change the level?

avatar image giangole Dec 07 '14 at 12:39 PM

here's the blueprintsalt text

the game hud mamages what to showalt text

and than on WIDGETS there are buttons which change the value of the enum

gamehud.png (321.3 kB)
gamehud.png (321.3 kB)
avatar image giangole Dec 07 '14 at 12:41 PM

alt text

sry this is a button example

button.png (220.8 kB)
avatar image eXi Dec 07 '14 at 12:47 PM

Ok, so pressing a button changes the ENUM to Pause and this should remove the GameUI. And you do this twice because of testing? Because the button has a "remove" for the gamehud and the Enum itself removes it.

You could try to debug it with some print strings to check if the removes are called properly.

avatar image giangole Dec 07 '14 at 01:21 PM

i uploaded the same image twice by accident lol. If i put a "PRINT STRING" after the enum it writes theright thing....This might be a Widget BUG, since if i start from the GAME instead from the menu the UI works fine...

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I Managed to fix the problems

more ▼

answered Dec 07 '14 at 06:20 PM

avatar image

21 2 5 8

avatar image walldiv Mar 19 '15 at 12:40 AM

its good that you managed to fix the problem, would you please indulge the rest of us experiencing the same issues and looking for an answer? <3

(comments are locked)
10|2000 characters needed characters left
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