FlowPilotTask.h
File Info
FileName: FlowPilotTask.h
- Class List:
[
UFlowPilotTask
]
UFlowPilotTask
Parent Classes:
[ UObject
]
FlowPilotTask
- Can Tick
Properties
Functions
Setup
Setups Tasks. Called once per FlowPilotExecution, even after restarts.
Enter
Called when starting this Task. Returns true on success
Tick
Called on Tick. Will success automatically if not implemented by Child classes
Exit
Called when Task Finished
Reset
Resets all Tasks into their Setup States
FinishTask
Method to call to finish a task.
This method will set EFPTaskResul to Success or Fail on next Tick.
IsEnabled
Disabled Tasks are skipped during execution
SetIsEnabled
Enables or Disables Task. Disabled Tasks will be skipped.
GetTaskName
Returns Task Name
SetTaskName
Sets Task Name
GetTaskDescription
Get Task Description
HasParent
Returns True if Task has Parent Task.
Returns False if Task is Root Sequence Task
GetParent
Returns Parent Task or nullptr
SetParent
Sets Parent Task
IsParent
Returns True if This task is a FlowPilotParent Task containing children Tasks.
GetAsParent
Returns this object Cast to FlowPilotParent task.
HasStarted
Returns true when Task Started
IsActive
Returns true when Task in Progress and Not Complete
IsComplete
Returns true when Task is Complete
ForEachActor
Executes ‘InFunc’ to all Actors found from ‘ActorReference’
ForEachConstActor
Executes ‘InFunc’ to all const Actors found from ‘ActorReference’
Const means the function should not modify ‘Actors’
GetFlowPilotComponent
Returns FlowPilotComponent
GetFlowPilotOwnerActor
Returns FlowPilotComponent Owner Actor
GetWorldContext
Returns FlowPilot Actor World