Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AGameModeBase
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include | #include "GameFramework/GameModeBase.h" |
Source | /Engine/Source/Runtime/Engine/Private/GameModeBase.cpp |
virtual void GetSeamlessTravelActorList
&40;
bool bToTransition,
TArray< AActor &42; > & ActorList
&41;
Remarks
Called on server during seamless level transitions to get the list of Actors that should be moved into the new level PlayerControllers, Role < ROLE_Authority Actors, and any non-Actors that are inside an Actor that is in the list (i.e. Object.Outer == Actor in the list) are all automatically moved regardless of whether they're included here only dynamic actors in the PersistentLevel may be moved (this includes all actors spawned during gameplay) this is called for both parts of the transition because actors might change while in the middle (e.g. players might join or leave the game)
Parameters
Name | Description |
---|---|
bToTransition | true if we are going from old level to transition map, false if we are going from transition map to new level |
ActorList | (out) list of actors to maintain |
See Also
also PlayerController::GetSeamlessTravelActorList() (the function that's called on clients)