Skip to content

Spawn Class Gameplay ​

UFPTask_SpawnClass · Inherits UFlowPilotTask → UObject · Tasks/FPTask_SpawnClass.h

Generic Spawn Class Task

  • Can spawn at a world position, or based on an actor
  • Option to select Persistent Lifetime or FlowPilot lifetime

Properties ​

PropertyDefaultDescription
Actor Spawn Lifetime
ActorSpawnLifetime · EFPSpawnLifetime
PersistentSpawnLifetime dictates when we Destroy this Actor, (or leave it alive forever)
Spawn Class
SpawnClass · UClass
UClass to Spawn
Location Type
LocationType · EFPSpawnLocationType
ReferenceLocation Type determines World Position, or Relative to an actor
Spawn Location Reference
SpawnLocationReference · FFlowActorReference
Spawn Location Reference
Editable when Location Type is Reference
Spawn Offset
SpawnOffset · FVector
(0, 0, 0)Spawn Offset added to SpawnLocationReference
Editable when Location Type is Reference
Spawn World Location
SpawnWorldLocation · FVector
(0, 0, 0)Spawn World Location
Editable when Location Type is World
Spawn World Rotation
SpawnWorldRotation · FRotator
(0, 0, 0)Spawn World Rotation
Editable when Location Type is World
Tags To Add Actor
TagsToAddActor · FGameplayTagContainer
GameplayTags to add Spawned Actor
Spawn Collision Methods
SpawnCollisionMethods · ESpawnActorCollisionHandlingMethod
Adjust If Possible But Always SpawnSpawn Collision Method

Common Task options

Every Task also has Task Name, Description and Enabled, see FlowPilot Task.

Enums ​

EFPSpawnLocationType ​

Allows defining where we are going to spawn a class

ValueDescription
Reference
Reference
Provide a reference actor for the spawn position
World
World
Provide World Coordinates for specific position