Download

Launch game with certain map/settings for Launcher

Hello, I am working on building a game launcher for my project.

I want to be able to use the launcher to select the level, select settings and select character. So in essence the launcher will serve as the main menu.

Does anyone know the best way to do this? Can I use Command-Line Arguments to execute console commands? Or will I need to create game saves from outside of the game? Or is there another way of doing this?

Any form of help would be greatly appreciated.

You should be able to achieve that by passing a URL on the command line, more info in the docs here Command-Line Arguments | Unreal Engine Documentation

You can also add your own and parse them by overriding a function in the GameMode class, I haven’t tested but AGameMode::InitGame should be it.