Active Widget Index Changes, Image does Not

I’m currently making a story game and trying to add a variable to a dialogue tree task. I’ve concluded that it should be working after days and days of testing. The weird thing is, the active widget index IS set to the correct number. I used a print string node, and now I can see clearly with every new dialogue, the index is changing. But the image itself is not. This is very confusing. When I type a value in the ‘active widget index’ section of the details menu on the widget switcher, it changes to the correct image. But no matter what, the image isn’t changing.

The only thing I can think of is maybe there are multiple duplicates of the widget, and the one that’s actually switching is underneath the first one, which would cause the effect of not changing.

Hopefully you can see in the image below that the image should be switching. I would appreciate feedback so much! I’ve been posting around and haven’t gotten any help yet. Thank you.

Have you tried using the SetActiveWidget node instead of SetActiveWidgetIndex? If that doesn’t work, would you consider not using WidgetSwitcher and instead using an Image widget? You could switch images by using the SetBrushFromTexture node.

yes! I’ve tried both. And I just tried using the image as well, but that did not work either. Same issue as before. Maybe it’s because the there are multiple layers of the same widget on top of each other, so the one below isn’t changing? but I don’t think that should be happening…
(sorry responding took so long, I’ve been so busy)
edit: I’ve figured it out! I was right, there were multiple layers. I removed them and it’s working!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.