Navigation
API > API/Plugins > API/Plugins/StateTreeModule
References
| Module | StateTreeModule |
| Header | /Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeTypes.h |
| Include | #include "StateTreeTypes.h" |
Syntax
enum EStateTreeStateSelectionBehavior
{
None,
UMETA =(DisplayName = "Try Enter"),
UMETA =(DisplayName = "Try Select Children In Order"),
UMETA =(DisplayName = "Try Select Children At Random"),
UMETA =(DisplayName = "Try Select Children With Highest Utility"),
UMETA =(DisplayName = "Try Select Children At Random Weighted By Utility"),
UMETA =(DisplayName = "Try Follow Transitions"),
}
Values
| Name | Description |
|---|---|
| None | The State cannot be directly selected. |
| UMETA | When state is considered for selection, it is selected even if it has child states. |
| UMETA | When state is considered for selection, try to select the first child state (in order they appear in the child list). |
| UMETA | When state is considered for selection, shuffle the order of child states and try to select the first one. |
| UMETA | When state is considered for selection, try to select the child state with highest utility score. |
| UMETA | When state is considered for selection, randomly pick one of its child states. |
| UMETA | When state is considered for selection, try to trigger the transitions instead. |