Navigation
API > API/Runtime > API/Runtime/Engine
Description
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
| Name | appGetStartupMap |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/UnrealEngine.h |
| Include Path | #include "UnrealEngine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
FString appGetStartupMap
(
const TCHAR * CommandLine
)
Name of the startup map without an extension (so can be used as a package name)
Parameters
| Name | Remarks |
|---|---|
| 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