It seemed to me like I should have multiple widgets doing multiple things. Just to test things and learn BP communication I made two widgets which are spawned by a custom camera controller
Widget A will increase an integer variable by 1 when it’s button is pressed
Widget B is the menu, saves, loads, quits the game.
I want to be able to save the integer value of the variable in Widget A, but Widget B is the thing doing the saving. So somehow I either need to send the value to Widget B or get the save instance from Widget B to Widget A. Does that make sense?
I did look at interfaces but my understanding of it was that it was just functions, which didn’t make sense to me. I even watched a video on it, but perhaps there’s something else I need to watch.
I can try the get all actors of class thing but yeah my understanding of that is that it’s really inefficient.
I don’t want to make a game that has characters running around, I want to make a management/strategy game. So that makes things a little more difficult, I think.