EGameplayAbilityTriggerSource::Type

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

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h

Include

#include "Abilities/GameplayAbilityTypes.h"

Syntax

namespace EGameplayAbilityTriggerSource
{
    enum Type
    {
        GameplayEvent,
        OwnedTagAdded,
        OwnedTagPresent,
    }
}

Values

Name

Description

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.

Remarks

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss