Navigation
API > API/Plugins > API/Plugins/StateTreeModule > API/Plugins/StateTreeModule/FStateTreeExecutionContext
Description
Forces transition to a state from a previously recorded state tree transition result. Primarily used for replication purposes so that a client state tree stay in sync with its server counterpart.
| Name | ForceTransition |
| 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 |
EStateTreeRunStatus ForceTransition
(
const FRecordedStateTreeTransitionResult & Transition
)
The new run status for the state tree.
Parameters
| Name | Remarks |
|---|---|
| Recorded | state transition to run on the state tree. |