Change GameMode manually when loading sublevel

I’m trying to setup a separate gamemode with different ruleset, while dialogue is on screen. Loading an entire different level set for a separate GameMode doesn’t sound ideal, considering I only want to change the UI and controls, while the other assets remain the same.

The best entry on this is this one, but that only mentions that the gamemode can be changed manually, without an option of how to do it.

I also noticed that there’s UWorld::SetGameMode(), and AGameMode::SetGameMode(). For UWorld::SetGameMode() I’m not sure how to setup FURL so it works correctly for local game. I wasn’t able to find a SetGameMode() method in GameMode.h, which is where the method is listed as being in the documentation.

Anyone able to provide any help?