edited January 2020 in ORK Support
I'm having a brain fart, where the heck do I set up Choice Highlight settings for a GUI Box?

Currently all of the dialogue choice options are at 100% white in-game, when I want the unselected options to be at like 70% etc.
Just can't figure out where the setting is!
Post edited by Kirb on
Tactics RPG Grid Battle System for ORK
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames
  • edited July 2018
    And of course, I instantly find it after posting!

    For those curious, creating a Button prefab for the GUI Box is required; and then setting the children alpha.

    Important thing that is easy to overlook: Show Button MUST be enabled on the GUI Box settings.
    Post edited by Kirb on
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • edited July 2018
    That being said, there is a bug/issue that I'm encountering:

    Upon opening the choice dialogue, both options are highlighted. Not until I move the cursor once does the non-cursor option turn gray and transparent. Expected behavior would be for the default selection (as determined via the Dialogue step) would be the only one highlighted, not the other choices.
    image

    image

    Curiously, this only happens the first time I trigger this dialogue. If I attempt it a second time by interacting with the event again, it will (usually) work correctly. (Well, almost, there is a noticeable flash of white text before it goes to the correct color value, which probably ought to be fixed as well!)

    The problem also gets even more pronounced if there are 3+ options. Where moving it will have one grayed out choice, but have two highlighted choices, confusing the player.

    Post edited by Kirb on
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • I'll check that out - can you give me some details on your button prefab's setup?
    I guess you've set up the alpha stuff for selected and unselected there?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Sure!

    image
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • Thanks - I think I solved this, will be in the next update :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • edited January 2020
    Oops, we seem to have run into this problem again.

    All choices are showing up as 100% white and ignoring the Button's color settings.

    image
    Here's what shows up in-game.

    image
    But this is what the button SHOULD be set to! I noticed in the Button script, there's more color fields available now than there were back then, which may be related to the issue?

    If during Play mode, I pause and go into the buttons and change the Normal Color for each choice manually, and then scroll the choices, it works fine. It's just not setting the correct values initially.

    Of course, I could just be missing something super obvious!

    Any ideas?

    Using ORK 2.26.1 ; Unity 2019.2.4f1
    Post edited by Kirb on
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
  • Hm ... working fine here.
    Make sure you're using/changing the correct button prefab's color values, although I'm sure you've checked that already :)

    Also, the button colors in-game look like a newly added Button component. That'd only happen if there's no prefab or the choice is set to not show a button (which is only used in certain parts, but not in dialogues).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • D'oh! Sure enough; Show Button was off on this particular GUI; I was mistakenly looking at Show Box instead! My bad, thanks for answering. :)
    Tactics RPG Grid Battle System for ORK
    ---------------------------------------
    Personal Twitter: https://twitter.com/AMO_Crate
    I make RFI! https://twitter.com/NootboxGames
Sign In or Register to comment.