Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeExecutionContext
Description
Triggers transitions based on current run status. CurrentStatus is used to select which transitions events are triggered. If CurrentStatus is "Running", "Conditional" transitions pass, "Completed/Failed" will trigger "OnCompleted/OnSucceeded/OnFailed" transitions. Transition target state can point to a selector state. For that reason the result contains both the target state, as well ass the actual next state returned by the selector.
| Name | TriggerTransitions |
| Type | function |
| Header File | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include Path | #include "StateTreeExecutionContext.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeExecutionContext.cpp |
bool TriggerTransitions()
Transition result describing the source state, state transitioned to, and next selected state.