Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeTaskBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ExitState
(
FStateTreeExecutionContext& Context, |
Called when a current state is exited and task is part of active states. | StateTreeTaskBase.h | |
virtual void ExitState
(
FStateTreeExecutionContext& Context, |
Note: The API has been deprecated. | StateTreeTaskBase.h |
ExitState(FStateTreeExecutionContext &, const FStateTreeTransitionResult &)
Description
Called when a current state is exited and task is part of active states.
| Name | ExitState |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTaskBase.h |
| Include Path | #include "StateTreeTaskBase.h" |
virtual void ExitState
(
FStateTreeExecutionContext & Context,
const FStateTreeTransitionResult & Transition
) const
Parameters
| Name | Remarks |
|---|---|
| Context | Reference to current execution context. |
| Transition | Describes the states involved in the transition |
ExitState(FStateTreeExecutionContext &, const EStateTreeStateChangeType, const FStateTreeTransitionResult &)
Description
Note: The API has been deprecated. ChangeType is moved into FStateTreeTransitionResult. You can configure the task to be only called on state changes (that is, never call sustained changes) by setting bShouldStateChangeOnReselect to true.
| Name | ExitState |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTaskBase.h |
| Include Path | #include "StateTreeTaskBase.h" |
virtual void ExitState
(
FStateTreeExecutionContext & Context,
const EStateTreeStateChangeType ChangeType,
const FStateTreeTransitionResult & Transition
) const