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
| Property | Default | Description |
|---|---|---|
Actor Spawn LifetimeActorSpawnLifetime · EFPSpawnLifetime | Persistent | SpawnLifetime dictates when we Destroy this Actor, (or leave it alive forever) |
Spawn ClassSpawnClass · UClass | UClass to Spawn | |
Location TypeLocationType · EFPSpawnLocationType | Reference | Location Type determines World Position, or Relative to an actor |
Spawn Location ReferenceSpawnLocationReference · FFlowActorReference | Spawn Location Reference Editable when Location Type is Reference | |
Spawn OffsetSpawnOffset · FVector | (0, 0, 0) | Spawn Offset added to SpawnLocationReference Editable when Location Type is Reference |
Spawn World LocationSpawnWorldLocation · FVector | (0, 0, 0) | Spawn World Location Editable when Location Type is World |
Spawn World RotationSpawnWorldRotation · FRotator | (0, 0, 0) | Spawn World Rotation Editable when Location Type is World |
Tags To Add ActorTagsToAddActor · FGameplayTagContainer | GameplayTags to add Spawned Actor | |
Spawn Collision MethodsSpawnCollisionMethods · ESpawnActorCollisionHandlingMethod | Adjust If Possible But Always Spawn | Spawn 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
| Value | Description |
|---|---|
ReferenceReference | Provide a reference actor for the spawn position |
WorldWorld | Provide World Coordinates for specific position |