Change gamemode on loading a new level.
I need to change the current gamemode to a different gamemode when the level changes. This is due to a great deal of logic being built into the controller, that I do NOT want to execute until a certain level is loaded.
How can I change the gamemode when I load a new level?
For instance: (level 1: gamemodeA) (Level2:gamemodeB)
**also if what I am asking is not possible, can the default controller be changed on level load instead?*
Thanks very much for your help.
asked Sep 26 '17 at 11:20 PM in Blueprint Scripting
It's 100% possible to change gamemodes between levels. In your level's world settings, under the game mode section, you are able to select your own gamemode in the gameMode override dropdown. You can create a new game mode by clicking the '+' next to the game mode dropdown
answered Sep 27 '17 at 01:03 AM
I know this is super old, but I wanted to comment with what worked for me.
In my HUD widget (I was working on a simple main menu that lets me choose game modes), I used Open Level to load the level and added this as a parameter in the options input:
Don't be fooled, the _C at the end will not be in the name of your game mode. If it is, you might need another _C at the end. This is awful design in my opinion, as nothing anywhere in my gamemode/files had an _C at the end.
answered Apr 20 '19 at 01:28 AM
I know is
answered Apr 20 '19 at 01:26 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here