Game mode firing begin play early?
I'm creating a little mobile game which runs off dedicated servers. I'd assume beginplay is to fire when the game starts, but it's firing as soon as the level loads.
In the gamemode I've set it to delay start., yet it's still firing beginplay before anyone connects.
If I monitor the game state it shows waiting to start. Am I missing something in the event flow?
Even manually firing start game keeps it in waiting to start.
asked Aug 10 '16 at 11:36 PM in Blueprint Scripting
Shohei is correct. The Begin Play is run as soon as a blueprint has been created within the level/world, not when a game has "begun" per se. The MatchHasStarted functionality should be your best bet to determine what information is fired when the game actually begins. You can find more information on the gamemode here:
And the overall gameplay framework here:
answered Aug 11 '16 at 08:24 PM
Seems to be either by design or a bug, but GameMode fires beginplay early. Can use HandleMatchHasStarted instead.
answered Aug 11 '16 at 01:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here