Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/Blueprint > API/Plugins/StateTreeModule/Blueprint/UStateTreeTaskBlueprintBase
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/Blueprint/StateTreeTaskBlueprintBase.h |
| Include | #include "Blueprint/StateTreeTaskBlueprintBase.h" |
UFUNCTION&40;BlueprintImplementableEvent, Meta&61;&40;DisplayName&61;"StateCompleted"&41;&41;
void ReceiveStateCompleted
&40;
const EStateTreeRunStatus CompletionStatus,
const FStateTreeActiveStates CompletedActiveStates
&41;
Remarks
Called right after a state has been completed, but before new state has been selected. StateCompleted is called in reverse order to allow to propagate state to other Tasks that are executed earlier in the tree. Note that StateCompleted is not called if conditional transition changes the state.
Parameters
| Name | Description |
|---|---|
| CompletionStatus | Describes the running status of the completed state (Succeeded/Failed). |
| CompletedActiveStates | Active states at the time of completion. |