Continue button highlight
Posted: Wed May 17, 2023 6:28 am
In my dialogue I have a custom continue button that is highlighted on hover; however, when there's a line from NPC with the continue button shown after it, then after that, a dialogue entry from other NPC and another continue button placed after that, the continue button doesn't highlight, even if it does so the first time. I have custom sprite images for the normal and highlighted continue button.
This is the sequence I use to activate the button:
SetActive(ExternalContinueButton)@Message(Typed);
required @Message (Continued);
required SetActive(ExternalContinueButton, false)@Message(Continued);
Below is a screen crab from the game. Where the red line is drawn, the first working continue button was shown and currently visible is the second one, meaning the one that doesn't get highlighted when hovered over. Any idea on how to fix this?
This is the sequence I use to activate the button:
SetActive(ExternalContinueButton)@Message(Typed);
required @Message (Continued);
required SetActive(ExternalContinueButton, false)@Message(Continued);
Below is a screen crab from the game. Where the red line is drawn, the first working continue button was shown and currently visible is the second one, meaning the one that doesn't get highlighted when hovered over. Any idea on how to fix this?