I’m trying to set public bool variable hasStarted from BP_BalonkyGameMode, so my method is that in the blueprint where I need it WBP_MainMenu I get a reference for BP_BalonkyGameMode like so:
Minor point, you can use GetActorOfClass, no need for the get node.
Anything after an OpenLevel node is binnned, because a new level has started. The game mode is also chucked away.
Tick runs EVERY FRAME. So if we got this far, once ‘has started’ became true, you would be calling ‘start game’ every frame. Probably not what you meant.
Is the logic right there? Surely this should be connected here:
It seems the main effect you’re trying to achieve is to start the game, when the button is pressed? Then just connect and ‘open level’ to the button