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.