AActor ASimpleLoc
Description
This actor is needed for teleporting locations, to avoid confusion its just much easier to use this then CustomPlayerStart actor. Server join queue location and lobby location are ideals for this. This doesnt have a team setting, it only has ESpawnClass and validate function. Multiple pawns can end up in this location.
What does it do?
It defines a single location for multiple pawns.
How to use?
Drop in level and use UGameplayStatics::GetAllActors to get list of actors and then use ASimpleLoc::validate.
Public Member Functions
void validate (ESpawnClass Place, FTransform &TargetLocation, bool &Match)
virtual void Tick (float DeltaTime) override
virtual void OnConstruction (const FTransform &Transform)
virtual void PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph) override
Public Attributes
UArrowComponent * face
USceneComponent * DefaultSceneRoot
FTransform Location
ESpawnClass SetLocation
Protected Member Functions
virtual void BeginPlay () override