Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/Blueprint > API/Plugins/StateTreeModule/Blueprint/UStateTreeTaskBlueprintBase > API/Plugins/StateTreeModule/Blueprint/UStateTreeTaskBlueprintBase/EnterState
Deprecated * Use EnterState without ChangeType instead.
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Blueprint/StateTreeTaskBlueprintBase.h |
| Include | #include "Blueprint/StateTreeTaskBlueprintBase.h" |
virtual EStateTreeRunStatus EnterState
&40;
FStateTreeExecutionContext & Context,
const EStateTreeStateChangeType ChangeType,
const FStateTreeTransitionResult & Transition
&41;
Remarks
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.