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"

Can't figure out how to fix bug in menu UI.

So in my MainMenuWidget I created, which displays the Main menu to my game, I have four buttons: start, options, credits, and quit. When I click options, which brings up another set of buttons, the visibility in the blueprints, which hides the other buttons, doesn't seem to be working properly, in that it only hides part of the button image. This is most likely very confusing so I will have pictures of my blueprints and the bug I'm getting. Sorry if this is a really obvious fix or if I'm taking the hard and messy way of setting up the blueprints, I'm new. If you have any suggestions based on that I'd appreciate it. But I just need this one bug fixed. I'm also having trouble with a vignette I put as an image but that's not my main priority.

Picture order: 1. MainMenuWidget Blueprint 2. Main Menu 3. Menu after clicking options

alt text

alt text

alt text

So in the last picture, you can see where the visibility or something of that sort is revealing the parts I'm trying to hide. (circled in red is what should be there) The red circle also points to the area where I'm having troubles with the vignette. (Just an image) So to further explain the blueprint variables. The variables with names of colors (Blue, Purple, Orange, and pink) are the same colored bars at the bottom of picture 2 which contain the words: Start, Options, Credits, and Quit in them. "Main Box" is a verticle box containing the actual buttons which are just clear but still have functionality. All the variables with text at the end of them with the exception of "CreditText" are images of text I made in photoshop which are rendered before the buttons so they have no functionality. The stop animation node is just for the rolling credits when you click the "credits" button. That should explain everything. If you have further questions, I'd be more than willing to answer. Please help this bug is annoying me and needs to be fixed ASAP. Thanks!

Product Version: UE 4.18
Tags:
capture2.png (101.0 kB)
capture1.png (363.7 kB)
capture3.png (71.4 kB)
more ▼

asked Jan 09 '18 at 01:21 AM in Blueprint Scripting

avatar image

Giancarlo_Pad
7 2 2 5

avatar image ThompsonN13 Jan 09 '18 at 01:37 AM

when you click the options button are you creating a new widget? if you are you could always use the node "remove from parent" to get rid of the previous widget. then when you press the back button you would re-add the menu to the viewport. this option would take a little more scripting but it seems a reliable choice

avatar image Giancarlo_Pad Jan 09 '18 at 01:39 AM

When I click the options button I am simply setting the visibility of the other buttons to hidden and when I hit back it sets their visibility to visible again. Seems reliable, can't see why it wouldn't work.

(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