UGameplayAbility::BP_RemoveGameplayEffectFromOwnerWithAssetTags

Remove Gameplay effects from Self

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

UFUNCTION(BlueprintCallable, Category=Ability,
          DisplayName="RemoveGameplayEffectFromOwnerWithAssetTags",
          Meta=(ScriptName="RemoveGameplayEffectFromOwnerWithAssetTags"))
void BP_RemoveGameplayEffectFromOwnerWithAssetTags
(
    FGameplayTagContainer WithAssetTags,
    int32 StacksToRemove
)

Remarks

Remove Gameplay effects from Self

Removes GameplayEffects from owner which match the given asset level tags