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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss