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"

Simple visibility binding not working

Hi, I got a button "Levels" on my main menu, that leads to a widget, where you can choose among the levels, that you already completed. Except for the tutorial all following images/buttons of the levels shall only appear, after you completed them once. Now I encounter a strange issue with a simple visiblity binding of a button/picture (TowerStack representing the second level) in the widget (LevelScreen). Got a Boolean (IsTutorialDone?) on my SideScrollerCharacter that I set to true in an actor before (TutorialEndActor), then when you choose "Main Menu" from the following widget, and "Levels" from there, that picture representing the second level should be visible, but it never shows up (already checked ZOrder). Usually a simple thing, that works fine with other objects/widgets in my level, Got more things that get visible when you pick them up for example, always using Booleans on my SSC to trigger visiblity by a binding in the concerning widget.

For testing purposes I removed the binding, let that TowerStack visible, but used the variable in a branch to either let you move on to second level, if tutorial was complete, or to play an annoying buzzer-sound if not. It's always buzzering. Same, when I don't call the vairable of my SSC, but call the save of it from my savegame slot (IsTutorialDoneSave?). I can't find the mistake...please help!

alt text

Product Version: UE 4.19
Tags:
more ▼

asked Nov 19 '18 at 08:27 PM in Blueprint Scripting

avatar image

Morhol
6 2 2

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

1 answer: sort voted first

Had a similar problem today. Is the character your casting your casting from spawned in the level? I just needed to spawn the character in and it worked.

more ▼

answered Apr 05 '19 at 03:55 AM

avatar image

TronixGameDev
8 1 3

avatar image TronixGameDev Apr 05 '19 at 04:11 AM

nvm still doesn't work.. i think may have spoken too soon.. ='(

avatar image TronixGameDev Apr 05 '19 at 04:26 AM

![alt text][1] This seems to work. Doesn't seem to need character in the scene.

Edit: Not working. At this point not sure if it did work or if I'm just tired and was being delusional.. [1]: /storage/temp/273346-hidelevelbuttonfix.jpg

(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