Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Defines what type of trigger will activate the ability, paired to a tag
| Name | EGameplayAbilityTriggerSource::Type |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h |
| Include Path | #include "Abilities/GameplayAbilityTypes.h" |
Syntax
namespace EGameplayAbilityTriggerSource
{
enum Type
{
GameplayEvent,
OwnedTagAdded,
OwnedTagPresent,
}
}
Values
| Name | Remarks |
|---|---|
| GameplayEvent | Triggered from a gameplay event, will come with payload. |
| OwnedTagAdded | Triggered if the ability's owner gets a tag added, triggered once whenever it's added. |
| OwnedTagPresent | Triggered if the ability's owner gets tag added, removed when the tag is removed. |