How t set a variable in a widget from a Game mode?

Hi,
I want to make a scoreboard widget. For that I need to get all the Player controllers that are in my game, I do this with the Logged in/out events in the game mode blueprint + an array variable. But how I do forward the value of this variable to my Widget?

Is there a better way to get a list of all the controllers?

Thanks.

Gamestate → PlayerStates → PlayerControllers

You should Store Scores in a Player State they are replicated and exist on all clients. You can easily access them from the GameState like this Screenshot - 6da544f9f935a51341aba8e3175ea1aa - Gyazo or directly from the Controller (his own State that gets replicated)

Also take a look at this Handy Compedium made by eXi http://cedric.bnslv.de/Downloads/UE4_Network_Compendium_by_Cedric_eXi_Neukirchen.pdf

Good Luck and Have Fun Coding =)