Hey, I’m new to using the Blueprints and had a quick question. I’ve got various sub-menus controlled by checkboxes that are set up as shown in the images to uncheck eachother when one is checked active. However, some of these sub-menus have attached popup imaged that are triggered when the checkbox is set to active, and fade out when the checkbox isn’t active.
My issue comes up where I change one of the checkstates by method of clicking on another checkbox to turn it to the off state. Visually, the checkbox turns into the “off” state, but everything dependent on it doesn’t collapse like it’s supposed to. Even stranger, if I manually uncheck that specific checkbox, the windows collapse like normal.
Any input on how to fix this issue (i feel as if the solution should be obvious, I may just be missing something because I’m unfamiliar with the blueprint layout) would be greatly appreciated. Thanks in advance for any help you might be able to give, and if I need to add more pictures to clarify, please say so.
I also had an issue where I needed to check/uncheck a box by means besides actually clicking it, and still needed its effect to go off. It’s weird that Set Checked State does not trigger On Check State Changed. It seems like a bug that they probably need to fix later.
The way I got around it was to create a custom event called “ChangeCheckState” where I do all the behavior I want when a checkbox is checked and unchecked. Then, on the “On Check State Changed” event, I simply call “ChangeCheckState”. I also create a custom event called “SetCheckboxState” in which I call both “Set Checked State” and “ChangeCheckState”. I use it instead of “Set Checked State” any time I need to change the state of the checkbox by means other than clicking it directly. It does what “Set Checked State” should be doing, but doesn’t.
And here’s an example of its application for a button that, when clicked, toggles the state of the checkbox and does its functionality, i.e. the “DoStuff” function