Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Editor > UEditorEngine > SpawnPlayFromHereStart
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include | #include "Editor/EditorEngine.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp |
bool SpawnPlayFromHereStart
&40;
UWorld &42; World,
AActor &42;& PlayerStartPIE
&41;
Remarks
Spawns a PlayFromHere playerstart in the given world if there is a location set to spawn in. true if spawn succeeded, false if failed. Returns true even if no object was spawned (due to location not being set).
Parameters
Name | Description |
---|---|
World | The World to spawn in (for PIE this may not be GWorld) |
PlayerStartPIE | A reference to the resulting PlayerStartPIE actor |