unreal.GameplayAbilityTriggerSource

class unreal.GameplayAbilityTriggerSource

Bases: EnumBase

Defines what type of trigger will activate the ability, paired to a tag

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayAbilityTypes.h

GAMEPLAY_EVENT: GameplayAbilityTriggerSource = Ellipsis

Triggered by an external gameplay event. The ability will receive a GameplayEvent payload.

Type:

0

OWNED_TAG_ADDED: GameplayAbilityTriggerSource = Ellipsis

Triggered when the owner gains the specified tag. Will not cancel when the tag is removed.

Type:

1

OWNED_TAG_PRESENT: GameplayAbilityTriggerSource = Ellipsis

Triggered when the owner has the specified tag. The ability will be canceled if the tag is later removed.

Type:

2