Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeTaskBase
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.
Derived Overrides
| Name | Tick |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTaskBase.h |
| Include Path | #include "StateTreeTaskBase.h" |
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. |