appGetStartupMap

This function will look at the given command line and see if we have passed in a map to load.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealEngine.h

Include

#include "UnrealEngine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

FString appGetStartupMap
(
    const TCHAR * CommandLine
)

Remarks

This function will look at the given command line and see if we have passed in a map to load. If we have then use that. If we have not then use the DefaultMap which is stored in the Engine.ini

Returns

Name of the startup map without an extension (so can be used as a package name)

Parameters

Parameter

Description

CommandLine

Commandline to use to get startup map (NULL or "" will return default startup map)

See Also

UGameEngine::Init() for this method of getting the correct start up map

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback