Navigation
API > API/Plugins > API/Plugins/GameplayInteractionsModule
Value specifying when a State Tree task based action should be triggered.
| Name | EGameplayInteractionTaskTrigger |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GameplayInteractions/Source/GameplayInteractionsModule/Public/GameplayInteractionsTypes.h |
| Include Path | #include "GameplayInteractionsTypes.h" |
Syntax
enum EGameplayInteractionTaskTrigger
{
OnEnterState,
OnExitState,
OnExitStateFailed,
OnExitStateSucceeded,
}
Values
| Name | Remarks |
|---|---|
| OnEnterState | Execute when state becomes active. |
| OnExitState | Execute when state becomes inactive. |
| OnExitStateFailed | Execute if the state fails. |
| OnExitStateSucceeded | Execute if the state succeeds. |