Odd Problem with Image Buttons

Started by justinfapperson on

Topic category: Help with MCreator software

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Odd Problem with Image Buttons

Heya, I've been having an odd issue recently. I set aside a project for a little bit and came back and when I did it's now working differently. The conditions for some image buttons to show in guis is pretty simple "If variable is this, return true, otherwise return false". This used to work constantly, making it so the buttons could be toggled but now they no longer update, they only decide whether to be visible when the page is first opened. I didn't update when first checking this out so it can't be a change in software. I'm just really confused.

I recommend printing the…
Sat, 11/09/2024 - 18:15

I recommend printing the value of the condition procedure in the console to double-check what value it is returning.

Then you can determine whether this is bug of the procedure or of the buttons themselves.

If it turns out the button visibility condition is bugged, please open a bug report at https://github.com/MCreator/MCreator/issues and attach a workspace containing a single GUI and accompanying elements that demonstrate this bug. Thanks!