Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeRunParallelStateTreeTa-
Description
Called during state tree tick when the task is on active state. Note: The method is called only if bShouldCallTick or bShouldCallTickOnlyOnEvents is set.
Virtual Inheritance
- FStateTreeTaskBase::Tick → FStateTreeRunParallelStateTreeTask::Tick
| Name | Tick |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Tasks/StateTreeRunParallelStateTreeTask.h |
| Include Path | #include "Tasks/StateTreeRunParallelStateTreeTask.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/Tasks/StateTreeRunParallelStateTreeTask.cpp |
virtual EStateTreeRunStatus Tick
(
FStateTreeExecutionContext & Context,
const float DeltaTime
) const
Running status of the state: Running if still in progress, Succeeded if execution is done and succeeded, Failed if execution is done and failed.
Parameters
| Name | Remarks |
|---|---|
| Context | Reference to current execution context. |
| DeltaTime | Time since last StateTree tick. |