Launching Map with command line ?!
I want to launch a Map of my shipped Game from command line. I'm using this pattern for the command line : MyGame.exe /Game/Maps/MyMap (https://docs.unrealengine.com/latest/INT/Programming/Basics/CommandLineArguments/)
But everytime the game launches to the default startup map instead of the new given map. The map name is right and the mission exists (can be loaded ingame) but with the parameter it won't work.
I'm using *.pak files if this matters to this topic.
Thanks in advance!
asked Mar 16 '17 at 10:02 AM in Using UE4
Yeah, I know that, but I need to create two links to use for starting the game with two different game modes. Thanks!
answered Feb 22 '18 at 06:18 PM
File->Package Project-> Packaging Settings and you need to find "List of maps to include in a packaged build", then add those levels that you want to run from exe. After this, just run exe with dir from this list. For e.g. "game.exe /Game/NewWorld1".
answered May 30 '18 at 10:23 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here