Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FCompactStateTreeState
Description
A state can complete with Stopped, Succeeded, and Failed. The state can contain transitions that trigger on any completes, or only if the state succeeded, or only if the state failed.
| Name | ShouldTickCompletionTransitions |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include Path | #include "StateTreeTypes.h" |
bool ShouldTickCompletionTransitions
(
bool bSucceeded,
bool bFailed
) const
True if the state has any transitions that tick on completion.
Parameters
| Name | Remarks |
|---|---|
| bSucceeded | Whenever the state completion succeeded. |
| bFailed | Whenever the state completion failed. |