Skip to content

FPTask_PossessPawn.h

File Info

FileName: FPTask_PossessPawn.h

UFPTask_PossessPawn

Parent Classes: [ UFlowPilotTask ]

Possess Pawn

  • Spawns a Controller and Possesses a Pawn
  • Can Possess multiple Pawns at the same time

Properties

// Pawns to Possess
UPROPERTY(EditAnywhere, Category="FlowPilot")
FFlowActorReference PawnsToPossess;
// Player Possesses only 1 Pawn
UPROPERTY(EditAnywhere, Category="FlowPilot")
bool bPossessByPlayer = false;
// AI Controller Class to Posses Pawns with.
UPROPERTY(EditAnywhere, Category="FlowPilot", meta=(EditCondition="!bPossessByPlayer", EditConditionHides))
TSubclassOf<AController> ControllerClass;