Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeExecutionContext
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeExecutionContext.h |
| Include | #include "StateTreeExecutionContext.h" |
| Source | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Private/StateTreeExecutionContext.cpp |
bool TriggerTransitions()
Remarks
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. Transition result describing the source state, state transitioned to, and next selected state.