IGameplayCueInterface::ShouldAcceptGameplayCue

Returns true if the object can currently accept gameplay cues associated with the given tag.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayCueInterface.h

Include

#include "GameplayCueInterface.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayCueInterface.cpp

Syntax

virtual bool ShouldAcceptGameplayCue
(
    UObject * Self,
    FGameplayTag GameplayCueTag,
    EGameplayCueEvent::Type EventType,
    FGameplayCueParameters Parameters
)

Remarks

Returns true if the object can currently accept gameplay cues associated with the given tag. Returns true by default. Allows objects to opt out of cues in cases such as pending death

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