FEditorFileUtils::LoadMap

Loads the specified map.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h

Include

#include "FileHelpers.h"

Source

/Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp

Syntax

static bool LoadMap
(
    const FString & Filename,
    bool LoadAsTemplate,
    const bool bShowProgress
)

Remarks

Loads the specified map. Does not prompt the user to save the current map.

Loads the specified map. Does not prompt the user to save the current map.

Returns

true on success, false otherwise

Parameters

Parameter

Description

Filename

Map package filename, including path.

LoadAsTemplate

Forces the map to load into an untitled outermost package preventing the map saving over the original file.

bShowProgress

Whether to show a progress dialog as the map loads\

InFilename

Map package filename, including path.

LoadAsTemplate

Forces the map to load into an untitled outermost package preventing the map saving over the original file.

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