Hi ,
so I’ve been playing around with this for a bit, but I’m not sure how to get it to work.
How exactly do you use the “get all widgets of class” node? The output would be an array and it won’t let me use that for a “cast to…” or the bind node of an event dispatcher.
Using the “Get” from an array with the integer set to any number doesn’t work either. It won’t let me connect it to the event dispatcher binding and if I try to cast it it simply fails the cast.
All I want to do is to take one specific widget, no matter if it’s placed inside another blueprint or drawn as a hud, use it’s variables to controll stuff and be able to save them somewhere so I can restore them on my next startup. But the whole saving process is a completely different problem in itself.
Would it be possible for you to provide an example?
Like something very simple. A widget, drawn on the viewport with a slider in it that affects something in the level, like the rotation of a cube. And the ability to save it, so that on startup the cube has the same rotation and the slider is on the same position.
From there I just have to apply this to my example on a bigger scale, I hope.
Thanks anyways for the quick replys!