Skip to content

FPTask_Parallel.h

File Info

FileName: FPTask_Parallel.h

EFPParallelCompletionType

ValueDescription
AnySucceedSucceed when one child Succeeds
AllSucceedSucceed when all child Succeed
AnyFailSucceed when one child Fails
AllFailSucceed when all child Fail

UFPTask_Parallel

Parent Classes: [ UFlowPilotParent ]

Parallel Task

  • Run multiple Tasks in the same tick function.
  • They are run one by one, so not ‘really’ parallel.

Properties

// Desired Completion Type allows changing the Parallel Task Behavior
// See EFlowParallelCompletetionType enum
UPROPERTY(EditDefaultsOnly, Category="FlowPilot")
EFPParallelCompletionType DesiredCompletionType = EFPParallelCompletionType::AllSucceed;