Tell player controllers via game state game ended

The Game Mode has a countdown on tick. When it reaches zero, it changes the game state to Game Ended. How should the Player Controllers know they have to show the game over widget and disable input?

I’ve tried Get All Player controllers on the Game Mode, but returns an array of length 0.

Player controllers could poll the value, but polling is bad.

The page Game Mode and Game State | Unreal Engine Documentation doesn’t explain how to fire player controller events on the game state.

I’ve seen on C++ version you have a PostMatch state/event, but I don’t know how to set it nor use it on blueprints.

I’m on multiplayer, blueprint project.

Nevermind, I’ve solved it.

I was calling get all player controllers on BeginPlay meaning the controllers weren’t there yet.

But I improved on that and added the player controller to my player controller array every time I get a Event OnPostLogin.

Next should be keep that updated, of course.