While putting the VAR in GameMode did the trick, because GameMode is easy to SET, i still find myself in the need of creating a REF to a widget, inside a widget.
However, your idea of combining the widgets is something I had considered as a solution, basically instead of calling a function in another widget to make the buttons, then feed those buttons back into the first widget, do it inside of the first widget. The problem there is … well… i guess i could program the entirety of the button via code without the need to make it in designer.
It would solve a lot of problems with this REF nightmare, assuming I can figure out how to translate what i created in designer into graph.
Its just frustrating because it seems like a no brainer… i create a variable with a reference directly to the widget, how does it not know what im trying to reference. Maybe its because you can create childs of it or something?
In the REF VAR details there is a place set the default value, but i cant seem to put anything there.
But yes, in general I understand that a REF has to have a value that has to be SET somewhere. How do I set a REF to a widget A inside widget B, no clue. Cant cast to it, no object to plug into the cast box.
Ill work on trying to figure out how to create buttons dynamically inside of the TeamSelect widget